Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.00152, allocations: 117 kB / 16.42 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 187.5 kB / 17.35 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.681/2.681, allocations: 472.7 MB / 0.746 GB, free: 432 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 79.8 kB / 1.07 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9541/0.9557, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003468/0.9592, allocations: 1.421 MB / 1.228 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002015/0.9613, allocations: 1.1 MB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000305/0.9616, allocations: 4 kB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.9617, allocations: 35.53 kB / 1.229 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003431/0.9621, allocations: 47.55 kB / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.9626, allocations: 127.8 kB / 1.229 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006204/0.9632, allocations: 340.7 kB / 1.229 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004972/0.9638, allocations: 206 kB / 1.23 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003133/0.9641, allocations: 143.4 kB / 1.23 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.9643, allocations: 151.2 kB / 1.23 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.033e-05/0.9644, allocations: 36 kB / 1.23 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.755e-05/0.9645, allocations: 40 kB / 1.23 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.634e-05/0.9646, allocations: 79.75 kB / 1.23 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.9647, allocations: 163.1 kB / 1.23 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006207/0.9654, allocations: 482.5 kB / 1.231 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.9654, allocations: 3.938 kB / 1.231 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9654, allocations: 0 / 1.231 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.9654, allocations: 4 kB / 1.231 GB, free: 9.141 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001056/0.9665, allocations: 0.5887 MB / 1.231 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.9665, allocations: 12.03 kB / 1.231 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.214e-05/0.9666, allocations: 36.7 kB / 1.231 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005827/0.9672, allocations: 326 kB / 1.232 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/0.9673, allocations: 29.38 kB / 1.232 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.9673, allocations: 36.38 kB / 1.232 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000584/0.9679, allocations: 295 kB / 1.232 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.9679, allocations: 192 / 1.232 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.81e-05/0.968, allocations: 23.94 kB / 1.232 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.968, allocations: 11.94 kB / 1.232 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005545/0.9686, allocations: 239.8 kB / 1.232 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.9699, allocations: 0.8214 MB / 1.233 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/0.9704, allocations: 252.3 kB / 1.233 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.9706, allocations: 113.3 kB / 1.233 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.9707, allocations: 4.234 kB / 1.233 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.9707, allocations: 34.8 kB / 1.233 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=27): time 1.964e-06/0.9707, allocations: 0 / 1.233 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of matching and sorting (n=27): time 0.0007674/0.9715, allocations: 316.2 kB / 1.234 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.9715, allocations: 59.41 kB / 1.234 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.9717, allocations: 211.7 kB / 1.234 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.9718, allocations: 29.7 kB / 1.234 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.9719, allocations: 180.5 kB / 1.234 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.555e-05/0.972, allocations: 87.27 kB / 1.234 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.9721, allocations: 65.97 kB / 1.234 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.9722, allocations: 330.8 kB / 1.235 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.9724, allocations: 84.52 kB / 1.235 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.9727, allocations: 135.9 kB / 1.235 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004113/0.9731, allocations: 214.7 kB / 1.235 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.9731, allocations: 3.984 kB / 1.235 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005703/0.9737, allocations: 273.3 kB / 1.235 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.9737, allocations: 8 kB / 1.235 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.9737, allocations: 3.984 kB / 1.235 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.9738, allocations: 4 kB / 1.235 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.974, allocations: 60.06 kB / 1.235 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.974, allocations: 8 kB / 1.235 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.9742, allocations: 27.83 kB / 1.235 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.9742, allocations: 8 kB / 1.235 GB, free: 4.004 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002307/0.9745, allocations: 162.2 kB / 1.236 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.9745, allocations: 19.86 kB / 1.236 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005571/0.9751, allocations: 260.5 kB / 1.236 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.9751, allocations: 7.922 kB / 1.236 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.9751, allocations: 3.938 kB / 1.236 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.659e-05/0.9752, allocations: 100.9 kB / 1.236 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.9752, allocations: 4 kB / 1.236 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.9754, allocations: 15.98 kB / 1.236 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.989e-05/0.9755, allocations: 27.97 kB / 1.236 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005599/0.976, allocations: 312.8 kB / 1.236 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005367/0.9766, allocations: 406.9 kB / 1.237 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000227/0.9768, allocations: 116.1 kB / 1.237 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001096/0.9769, allocations: 141.5 kB / 1.237 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of Backend: time 6.82e-07/0.9769, allocations: 0 / 1.237 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006791/0.9776, allocations: 218.2 kB / 1.237 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0009798/0.9786, allocations: 0.879 MB / 1.238 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of Templates: time 0.006418/0.985, allocations: 2.229 MB / 1.24 GB, free: 15.07 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches