Mode-locking and chaos in a model of two coupled thermostatically controlled radiators