18" rifle gas can be sensitive, since it does not have as much dwell time in front of the port. Some barrels are designed to be "soft shooters" in this configuration for 3gun competition, and suffer with any additional buffer weight, extra power springs, etc.
First, function test. Can you easily manually lock the bolt back using the bolt release? If not - there is a parts issue not allowing full rearward motion.
The way to test ANY AR15 gas system, should be a ONE cartridge in the magazine. Fire. Does it lock back on an empty mag?
If not, then the problem is short stroking. If it does, then your issue is likely magazine related not feeding the next round fast enough.
If short stroking, there are MANY causes. Gas leak, improper lubrication, binding/friction, improper gas port.
Save the "gas port" solution until you are an EXPERT, or have had an expert review everything.
Start with the easier thing first. Lubrication. Do not use any grease or heavy lubricants. Use something well know for the AR like CLP, CLP equivalents, or Motor oil (any weight is fine). Lube the important areas per the technical manual and re-test.
Next, binding/friction. Look, listen, and feel as you pull the action completely open using the charging handle. Common issues would be related to the receiver extension (buffer tube), spring, buffer. Are you using standard, milspec parts of fancy aftermarket stuff here? Carbine buffer tube? What weight buffer? What kind of spring?
Next, gas leak. Its rare on new parts but it happens. Verify your gas block is snug and look for air gaps using a flashlight. Check to ensure the bolt carrier key isn't loose (rare on a new build, much more common on an aged one). Check the bolt to make sure you have 3 gas rings and lubricate this area liberally. I don't buy into the gas rings staggered stuff - its mostly mythology as the gas rings rotate themselves when you fire it, and I have lined them up intentionally and could never get a weapon to fail.
Pictures of your buffer, spring, receiver extension?