Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 211.8 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.576/1.576, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.439/3.439, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00315/0.00315, allocations: 63.08 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4469, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.003201/0.4501, allocations: 1.078 MB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.4517, allocations: 1.046 MB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.974e-05/0.4518, allocations: 4 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.491e-05/0.4519, allocations: 27.66 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.452, allocations: 35.67 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.4523, allocations: 83.86 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.4526, allocations: 228.2 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.4528, allocations: 100.5 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.4531, allocations: 103.6 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.4532, allocations: 83.55 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.4533, allocations: 24 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.469e-05/0.4533, allocations: 28 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.4534, allocations: 51.84 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.429e-05/0.4535, allocations: 87.52 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003913/0.4539, allocations: 314.6 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4539, allocations: 0 / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4539, allocations: 0 / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.4539, allocations: 4 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007699/0.4546, allocations: 431.8 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 9.75e-05/0.4547, allocations: 15.97 kB / 1.368 GB, free: 9.824 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.4549, allocations: 28.8 kB / 1.368 GB, free: 9.797 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.4554, allocations: 220.5 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.4554, allocations: 20.81 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.4555, allocations: 20.38 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/0.4559, allocations: 199.8 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4559, allocations: 192 / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.4559, allocations: 15.88 kB / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.4559, allocations: 4 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.4563, allocations: 161.6 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007889/0.4571, allocations: 475.2 kB / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.4575, allocations: 158.5 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.4577, allocations: 56.83 kB / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.4577, allocations: 4 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.4577, allocations: 34.56 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.512e-06/0.4577, allocations: 0 / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0008352/0.4586, allocations: 217.4 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.4586, allocations: 55.34 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.4589, allocations: 182.7 kB / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.4589, allocations: 29.7 kB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.4591, allocations: 152.3 kB / 1.369 GB, free: 7.719 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.4591, allocations: 43.7 kB / 1.369 GB, free: 7.676 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.188e-05/0.4592, allocations: 57.64 kB / 1.37 GB, free: 7.613 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.4594, allocations: 322.8 kB / 1.37 GB, free: 7.289 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.4596, allocations: 59.95 kB / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.4598, allocations: 102.2 kB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.4601, allocations: 142.3 kB / 1.37 GB, free: 6.957 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4601, allocations: 0 / 1.37 GB, free: 6.957 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004437/0.4606, allocations: 203.4 kB / 1.37 GB, free: 6.754 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.4606, allocations: 4 kB / 1.37 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4606, allocations: 0 / 1.37 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.4606, allocations: 4 kB / 1.37 GB, free: 6.746 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.4608, allocations: 39.91 kB / 1.37 GB, free: 6.707 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.4608, allocations: 4.156 kB / 1.37 GB, free: 6.703 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.4609, allocations: 23.88 kB / 1.37 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.4609, allocations: 8 kB / 1.37 GB, free: 6.672 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.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 (22): * Single equations (assignments): 22 * 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.0001964/0.4611, allocations: 138.9 kB / 1.371 GB, free: 6.527 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.4612, allocations: 19.84 kB / 1.371 GB, free: 6.508 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.4612, allocations: 21.8 kB / 1.371 GB, free: 6.488 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4612, allocations: 3.938 kB / 1.371 GB, free: 6.484 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4612, allocations: 4 kB / 1.371 GB, free: 6.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.4612, allocations: 8 kB / 1.371 GB, free: 6.473 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.4615, allocations: 185.2 kB / 1.371 GB, free: 6.262 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4615, allocations: 0 / 1.371 GB, free: 6.262 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.4616, allocations: 23.92 kB / 1.371 GB, free: 6.238 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.4616, allocations: 11.88 kB / 1.371 GB, free: 6.227 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.4616, allocations: 7.984 kB / 1.371 GB, free: 6.219 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4616, allocations: 0 / 1.371 GB, free: 6.219 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4616, allocations: 0 / 1.371 GB, free: 6.219 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004362/0.4621, allocations: 261.3 kB / 1.371 GB, free: 5.949 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.4621, allocations: 19.84 kB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.4621, allocations: 3.938 kB / 1.371 GB, free: 5.926 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.4622, allocations: 11.98 kB / 1.371 GB, free: 5.914 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.788e-05/0.4623, allocations: 27.94 kB / 1.371 GB, free: 5.887 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.4623, allocations: 8 kB / 1.371 GB, free: 5.879 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.877e-05/0.4624, allocations: 119.2 kB / 1.371 GB, free: 5.762 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4624, allocations: 0 / 1.371 GB, free: 5.762 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002656/0.4627, allocations: 35.89 kB / 1.371 GB, free: 5.727 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001602/0.4629, allocations: 111.2 kB / 1.371 GB, free: 5.605 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.4633, allocations: 143.8 kB / 1.372 GB, free: 5.465 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4633, allocations: 0 / 1.372 GB, free: 5.465 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.4635, allocations: 71.89 kB / 1.372 GB, free: 5.395 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.4638, allocations: 22.19 kB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007183/0.4645, allocations: 360.8 kB / 1.372 GB, free: 4.996 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.4646, allocations: 125.2 kB / 1.372 GB, free: 4.855 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.336e-05/0.4647, allocations: 17.48 kB / 1.372 GB, free: 4.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.241e-05/0.4648, allocations: 23.44 kB / 1.372 GB, free: 4.816 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.4648, allocations: 0 / 1.372 GB, free: 4.816 MB / 1.061 GB Notification: Performance of Templates: time 0.005393/0.4702, allocations: 1.591 MB / 1.374 GB, free: 3.293 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.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.754072703421116]