Influence of natural ventilation on the thermal behavior of a massive building