Now I know that increase in dynamic pressure is more than increase in total pressure in this case. But it raise another question, how do we know when will the dynamic pressure increase more than the total pressure?
This could be difficult depending on the situation, but my guess is that as long as the air is fairly free to move about and isn't heated significantly, such as a fan blowing air freely, or through a constant diameter pipe, the dynamic (velocity related) pressure will increase more than the total pressure.
In the case of a jet engine, the air is heated dramatically, along with burnt fuel, experiences high pressure, which is convereted into high speed as it returns to ambient pressure, depending on nozzle setting (expanding, straight, or compressing), and afterburner usage. So the static pressure is returned to ambient (as opposed to below), at high temperature, high speed, so total pressure and total energy (including temperature) is increased by quite a bit.
I want to ask when will the total pressure be the same and when won't?
Total pressure is the same when no net work is done on the air. In reality, this would be fairly rare, as it takes some amount of work to cause air to flow and overcome it's resistance a change in speed due to do momentum and viscousity
If the wind blow toward the building, will the wind have the same total pressure with the steady air behind the building?
There will be small volume of "static" (some turbulence) air with slightly higher pressure than ambient on the leading side of the building, and a larger volume of "static" air with slightly lower pressure than ambient on the trailing side of the building. This is the principle of drag and a factor into how wings generate lift. The building is peforming work on the air by slowing it down, and the air in turn reacts with a downwind force against the building.