Narrative:

I was the pilot flying (PF) and first officer was the pilot monitoring (pm). During our climb out around 16;000 feet the pm conducted the ice protection test (pneumatic in flight); immediately following we both detected a strong odor in the cockpit. We both donned our oxygen masks and completed the memory items. At that time we received a call from the flight attendant (flight attendant) stating she and the passengers smelled the odor as well.we were given direct to ZZZ [by center]; we completed the cockpit fire/smoke/fumes epc (emergency procedures checklist) followed by a descent into ZZZ. A message was sent to the dispatcher via ACARS to inform him of our situation. Crash fire rescue equipment (crash fire rescue) was requested once on the ground to inspect and evaluate the aircraft. The approach and landing were normal with no overweight landing.once stopped on the runway crash fire rescue equipment inspected the aircraft and found nothing; we still had a strong odor in the cockpit and shut the aircraft down and requested air stairs to deplane the passengers. Being that ZZZ did not have stairs we towed the aircraft from the runway to the gate. The passengers deplaned normally. Crash fire rescue equipment and maintenance boarded the aircraft and confirmed the presence of an odor.an aml (aircraft maintenance log) entry was made and contacted company personal.

Google
 

Original NASA ASRS Text

Title: EMB-140 flight crew reported a strong electrical smell after completing the Ice Protection Pneumatic Test during climbout; resulting in a diversion.

Narrative: I was the Pilot Flying (PF) and First Officer was the Pilot Monitoring (PM). During our climb out around 16;000 feet the PM conducted the Ice Protection Test (Pneumatic in Flight); immediately following we both detected a strong odor in the cockpit. We both donned our oxygen masks and completed the memory items. At that time we received a call from the FA (Flight Attendant) stating she and the passengers smelled the odor as well.We were given direct to ZZZ [by Center]; we completed the Cockpit Fire/Smoke/Fumes EPC (Emergency Procedures Checklist) followed by a descent into ZZZ. A message was sent to the dispatcher via ACARS to inform him of our situation. CFR (Crash Fire Rescue) was requested once on the ground to inspect and evaluate the aircraft. The approach and landing were normal with no overweight landing.Once stopped on the runway CFR inspected the aircraft and found nothing; we still had a strong odor in the cockpit and shut the aircraft down and requested air stairs to deplane the passengers. Being that ZZZ did not have stairs we towed the aircraft from the runway to the gate. The passengers deplaned normally. CFR and Maintenance boarded the aircraft and confirmed the presence of an odor.An AML (Aircraft Maintenance Log) entry was made and contacted company personal.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.