Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 186.9 kB / 22.22 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.151/3.151, allocations: 496 MB / 0.7835 GB, free: 33.79 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice")
translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 65.86 kB / 1.138 GB, free: 33.81 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3201, allocations: 173.6 MB / 1.307 GB, free: 1.836 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2148/0.5349, allocations: 174.7 MB / 1.478 GB, free: 2.504 MB / 1.17 GB
Notification: Performance of NFInst.instExpressions: time 0.00448/0.5394, allocations: 2.313 MB / 1.48 GB, free: 192 kB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004194/0.5398, allocations: 23.88 kB / 1.48 GB, free: 168 kB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007767/0.5406, allocations: 234.4 kB / 1.48 GB, free: 15.93 MB / 1.186 GB
Notification: Performance of NFTyping.typeBindings: time 0.002374/0.543, allocations: 0.9801 MB / 1.481 GB, free: 14.95 MB / 1.186 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.5452, allocations: 0.8675 MB / 1.482 GB, free: 14.08 MB / 1.186 GB
Notification: Performance of NFFlatten.flatten: time 0.001514/0.5467, allocations: 0.97 MB / 1.483 GB, free: 13.11 MB / 1.186 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004766/0.5472, allocations: 267.4 kB / 1.483 GB, free: 12.84 MB / 1.186 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.5483, allocations: 0.6112 MB / 1.484 GB, free: 12.23 MB / 1.186 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004553/0.5488, allocations: 322.7 kB / 1.484 GB, free: 11.91 MB / 1.186 GB
Notification: Performance of NFPackage.collectConstants: time 6.036e-05/0.5489, allocations: 36 kB / 1.484 GB, free: 11.88 MB / 1.186 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.5508, allocations: 1.072 MB / 1.485 GB, free: 10.8 MB / 1.186 GB
Notification: Performance of NFScalarize.scalarize: time 0.000188/0.551, allocations: 147.5 kB / 1.485 GB, free: 10.66 MB / 1.186 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002807/0.5513, allocations: 238.8 kB / 1.486 GB, free: 10.43 MB / 1.186 GB
Notification: Performance of NFConvertDAE.convert: time 0.001415/0.5527, allocations: 0.9032 MB / 1.487 GB, free: 9.52 MB / 1.186 GB
Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5527, allocations: 0 / 1.487 GB, free: 9.52 MB / 1.186 GB
Notification: Performance of FrontEnd: time 2.004e-06/0.5527, allocations: 0 / 1.487 GB, free: 9.52 MB / 1.186 GB
Notification: Performance of Transformations before backend: time 8.375e-06/0.5527, allocations: 3.938 kB / 1.487 GB, free: 9.516 MB / 1.186 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 74
 * Number of variables: 74
Notification: Performance of Generate backend data structure: time 0.001346/0.554, allocations: 0.7494 MB / 1.487 GB, free: 8.734 MB / 1.186 GB
Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.5541, allocations: 12.92 kB / 1.487 GB, free: 8.723 MB / 1.186 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.5554, allocations: 183.4 kB / 1.488 GB, free: 8.543 MB / 1.186 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006574/0.5561, allocations: 331.9 kB / 1.488 GB, free: 8.195 MB / 1.186 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.5561, allocations: 20.66 kB / 1.488 GB, free: 8.176 MB / 1.186 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.817e-05/0.5562, allocations: 32 kB / 1.488 GB, free: 8.145 MB / 1.186 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006716/0.5568, allocations: 369 kB / 1.488 GB, free: 7.754 MB / 1.186 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.5569, allocations: 3.984 kB / 1.488 GB, free: 7.75 MB / 1.186 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.5569, allocations: 12 kB / 1.488 GB, free: 7.738 MB / 1.186 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.5569, allocations: 15.94 kB / 1.488 GB, free: 7.723 MB / 1.186 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005507/0.5575, allocations: 261.7 kB / 1.489 GB, free: 7.465 MB / 1.186 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.5596, allocations: 1.637 MB / 1.49 GB, free: 5.695 MB / 1.186 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.56, allocations: 195.5 kB / 1.49 GB, free: 5.496 MB / 1.186 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.5603, allocations: 104.8 kB / 1.49 GB, free: 5.391 MB / 1.186 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006976/0.561, allocations: 127.8 kB / 1.491 GB, free: 5.266 MB / 1.186 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.561, allocations: 38.56 kB / 1.491 GB, free: 5.219 MB / 1.186 GB
Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.561, allocations: 0 / 1.491 GB, free: 5.219 MB / 1.186 GB
Notification: Performance of matching and sorting (n=23): time 0.0009405/0.5619, allocations: 364.1 kB / 1.491 GB, free: 4.859 MB / 1.186 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.562, allocations: 51.41 kB / 1.491 GB, free: 4.797 MB / 1.186 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005214/0.5625, allocations: 425.8 kB / 1.491 GB, free: 4.371 MB / 1.186 GB
Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.5625, allocations: 29.7 kB / 1.491 GB, free: 4.336 MB / 1.186 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.5627, allocations: 216.5 kB / 1.492 GB, free: 4.121 MB / 1.186 GB
Notification: Performance of collectInitialBindings (initialization): time 7.774e-05/0.5628, allocations: 91.2 kB / 1.492 GB, free: 4.031 MB / 1.186 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.5629, allocations: 49.7 kB / 1.492 GB, free: 3.977 MB / 1.186 GB
Notification: Performance of setup shared object (initialization): time 0.0001781/0.5631, allocations: 350.7 kB / 1.492 GB, free: 3.625 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.5633, allocations: 79.95 kB / 1.492 GB, free: 3.547 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.5635, allocations: 124.1 kB / 1.492 GB, free: 3.414 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.564, allocations: 213.4 kB / 1.492 GB, free: 3.195 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.564, allocations: 0 / 1.492 GB, free: 3.195 MB / 1.186 GB
Notification: Performance of matching and sorting (n=28) (initialization): time 0.000569/0.5645, allocations: 287.8 kB / 1.493 GB, free: 2.91 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.5646, allocations: 8 kB / 1.493 GB, free: 2.902 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.5646, allocations: 3.984 kB / 1.493 GB, free: 2.898 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.5646, allocations: 4 kB / 1.493 GB, free: 2.895 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.5648, allocations: 43.92 kB / 1.493 GB, free: 2.852 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.5648, allocations: 7.938 kB / 1.493 GB, free: 2.844 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.5651, allocations: 35.8 kB / 1.493 GB, free: 2.809 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.5651, allocations: 15.98 kB / 1.493 GB, free: 2.793 MB / 1.186 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (28):
 * Single equations (assignments): 28
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001921/0.5653, allocations: 169.7 kB / 1.493 GB, free: 2.617 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.5654, allocations: 43.72 kB / 1.493 GB, free: 2.574 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006154/0.566, allocations: 285.2 kB / 1.493 GB, free: 2.289 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.566, allocations: 3.938 kB / 1.493 GB, free: 2.285 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.566, allocations: 15.88 kB / 1.493 GB, free: 2.27 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.566, allocations: 0 / 1.493 GB, free: 2.27 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.5674, allocations: 0.7813 MB / 1.494 GB, free: 1.422 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5674, allocations: 0 / 1.494 GB, free: 1.422 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.5676, allocations: 43.92 kB / 1.494 GB, free: 1.379 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.5676, allocations: 0 / 1.494 GB, free: 1.379 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.5677, allocations: 11.98 kB / 1.494 GB, free: 1.367 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.5677, allocations: 4 kB / 1.494 GB, free: 1.363 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.5677, allocations: 7.938 kB / 1.494 GB, free: 1.355 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000897/0.5686, allocations: 0.5066 MB / 1.495 GB, free: 0.8164 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.5687, allocations: 75.66 kB / 1.495 GB, free: 0.7422 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.74e-05/0.5688, allocations: 8 kB / 1.495 GB, free: 0.7344 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.5691, allocations: 19.98 kB / 1.495 GB, free: 0.7148 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.5691, allocations: 19.91 kB / 1.495 GB, free: 0.6953 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.5691, allocations: 15.94 kB / 1.495 GB, free: 0.6797 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.00046/0.5696, allocations: 299.1 kB / 1.495 GB, free: 400 kB / 1.186 GB
Notification: Performance of sort global known variables: time 1e-07/0.5696, allocations: 0 / 1.495 GB, free: 400 kB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0005819/0.5702, allocations: 119.8 kB / 1.495 GB, free: 280 kB / 1.186 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * Number of states: 3 (ori.mExc,den1.d,den2.d)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (23):
 * Single equations (assignments): 23
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0004269/0.5706, allocations: 196.2 kB / 1.495 GB, free: 84 kB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.0006099/0.5712, allocations: 195.8 kB / 1.496 GB, free: 15.89 MB / 1.201 GB
Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5712, allocations: 0 / 1.496 GB, free: 15.89 MB / 1.201 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.5715, allocations: 114.1 kB / 1.496 GB, free: 15.78 MB / 1.201 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.5725, allocations: 225.6 kB / 1.496 GB, free: 15.56 MB / 1.201 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.5742, allocations: 0.9114 MB / 1.497 GB, free: 14.6 MB / 1.201 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006106/0.5748, allocations: 0.8194 MB / 1.498 GB, free: 13.76 MB / 1.201 GB
Notification: Performance of simCode: alias equations: time 0.0002897/0.5751, allocations: 87.34 kB / 1.498 GB, free: 13.67 MB / 1.201 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.203e-05/0.5752, allocations: 35.44 kB / 1.498 GB, free: 13.63 MB / 1.201 GB
Notification: Performance of SimCode: time 3.31e-07/0.5752, allocations: 0 / 1.498 GB, free: 13.63 MB / 1.201 GB
Notification: Performance of Templates: time 0.01757/0.5927, allocations: 8.263 MB / 1.506 GB, free: 5.508 MB / 1.201 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.2577811665833]