Hunger not decreasing in Minecraft Ultra Hardcore difficulty?

You can use the /effect command (archive) to give yourself hunger. But that's probably not what you want. You probably just started the game and still have saturation points from the start, which is a time when you don't lose hunger points. So just wait a bit and keep playing and it will start to behave "normally" after a bit.