Caramelize the Onions. Melt butter with olive oil in a large skillet over medium-low heat.
Add sliced onions and a generous pinch of salt. Cook slowly, stirring occasionally, until deeply golden, soft and jammy, about 45-60 minutes. Cover with a lid, as needed.
Once the onions are deeply golden, stir in Worcestershire sauce, minced garlic and fresh thyme and continue cooking for another 1–2 minutes, until fragrant. Set aside.
Cook the Pasta. Bring a large pot of generously salted water to a boil. Add the pasta and cook 1-2 minutes less than the package directions. Drain well and set aside.
Make the Béchamel Cheese Sauce. In a large Dutch oven or saucepan, melt butter over medium heat. Whisk in flour and cook for 1–2 minutes, stirring constantly, without allowing it to brown.
Gradually whisk in the milk and cream, a little at a time, until smooth. Continue whisking and simmer gently for several minutes until the sauce begins to thicken slightly. Stir in Dijon mustard, freshly grated nutmeg, salt and black pepper.
Reduce heat to low or remove from heat. Gradually add most of the cheeses, a handful at a time, stirring until melted and smooth before adding more. Reserve the remaining cheese for the topping.
Assemble the Mac & Cheese. Preheat the oven to 375°F.
Stir two-thirds of the caramelized onions into the cheese sauce and add the cooked pasta and gently fold until evenly coated.
Transfer the mac and cheese into an 8x 10-inch baking dish and top with the remaining caramelized onions and shredded cheese.
Place the baking dish on a baking sheet, to catch any spills and bake for 10-15 min until the cheese is melted and top is lightly golden. For a more deeply browned top, broil for 3-4 minutes, watching closely.
Serve. Remove from the oven and let rest for a few minutes before serving.