Troubleshooting to find the cause whether it is the refrigerator that is the problem or other appliances close by or internal dry wall wiring was causing the burnt smell took time. Then I narrowed it down to the refrigerator. After which i cleaned the condenser coil and that didn't help. Then I noticed sparks in the compressor relay switch and hence I Changed the compressor relay switch and its assocaited capacitor.