Low voltage on the 12 volt battery was the problem for me as well. I replaced the 12 volt battery a couple months ago and the loud buzzing after turning off the car went away.
I have the same issue with a 2012 Leaf that I recently purchased. Constant loud warning tone that lasts 2 to to 3 minutes after turning the car off. Anyone know what might be causing it?