Energy Performance of Buildings and Thermal Confort: a comparison