Connecting two local nodes in RegTest
It seems to me that the ports aren't matching:

You've set your first node to port=8333 and your second node to port=8330. However, you've called addnode with …18332. Maybe that's it?