The concrete roof acts the same as it is a poor conductor of heat meaning that it takes a lot of heat to warm it up.
During the day, heat from the sun is absorbed into the water cistern, to be released during the night.