If the medications are not being taken on a regular, consistent basis, that would cause a false negative.
All lab tests have cut off thresholds-ng/ml that are minimum detectable levels.
Taking a medication one time a few hours before a blood or urine test likely means that the blood plasma levels were too low to be detected.
IF you were taking the medications on a consistent , regular, ongoing basis, they would have been detected.