Well guys, sorry this is slightly off topic but given the issues with this exact model iMac I thought to post it anyway.
I booted into macOS just now and everything was incredibly slow. I don’t mean, oh I wish this was faster slow, I mean Safari took an entire minute to open slow. After I logged in (which was regular speed), absolutely nothing happened for a few minutes. The only menu bar icons were stuff like Wi-Fi and time machine. After about 3 minutes, Spotify started bouncing, then the icon froze mid-bounce, and after about another 2 minutes it eventually stopped.
The iMac detected all my RAM and disks OK. Fans fine, temps fine. It was like everything was normal but the computer was 20x slower.