Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 194 kB / 16.53 MB, free: 6.664 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.5/1.5, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.677/2.677, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001337, allocations: 71.88 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9528/0.9541, allocations: 140.4 MB / 0.9496 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.004527/0.9587, allocations: 2.089 MB / 0.9517 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.9607, allocations: 1.175 MB / 0.9528 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.9609, allocations: 2.125 kB / 0.9528 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.9614, allocations: 89.67 kB / 0.9529 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.9617, allocations: 98.97 kB / 0.953 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.9621, allocations: 186.8 kB / 0.9532 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003567/0.9625, allocations: 326.9 kB / 0.9535 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002722/0.9628, allocations: 126.8 kB / 0.9536 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.963, allocations: 126.8 kB / 0.9537 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.9632, allocations: 135.5 kB / 0.9539 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.162e-05/0.9632, allocations: 27.94 kB / 0.9539 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.9634, allocations: 74.86 kB / 0.954 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.9635, allocations: 89.69 kB / 0.954 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.9637, allocations: 136.1 kB / 0.9542 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000545/0.9642, allocations: 447.2 kB / 0.9546 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.9643, allocations: 0 / 0.9546 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9643, allocations: 0 / 0.9546 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.9643, allocations: 4 kB / 0.9546 GB, free: 5.297 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009908/0.9653, allocations: 0.6228 MB / 0.9552 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.9653, allocations: 10.09 kB / 0.9552 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.445e-05/0.9654, allocations: 35.69 kB / 0.9553 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/0.9659, allocations: 338 kB / 0.9556 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.9659, allocations: 13.12 kB / 0.9556 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.9659, allocations: 22.16 kB / 0.9556 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.9663, allocations: 174.5 kB / 0.9558 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.9663, allocations: 1.406 kB / 0.9558 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.9663, allocations: 9.312 kB / 0.9558 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.9663, allocations: 4.062 kB / 0.9558 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.9666, allocations: 125.1 kB / 0.9559 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009936/0.9676, allocations: 0.6564 MB / 0.9565 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.9681, allocations: 194.6 kB / 0.9567 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.9682, allocations: 79.64 kB / 0.9568 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.9683, allocations: 6.859 kB / 0.9568 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/0.9685, allocations: 138.7 kB / 0.9569 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.9685, allocations: 0 / 0.9569 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0005104/0.969, allocations: 234.9 kB / 0.9572 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.9691, allocations: 57.16 kB / 0.9572 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.9695, allocations: 360.9 kB / 0.9576 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.9695, allocations: 41.81 kB / 0.9576 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.9696, allocations: 164.9 kB / 0.9578 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.9697, allocations: 46.31 kB / 0.9578 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.903e-05/0.9698, allocations: 69.19 kB / 0.9579 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.991e-05/0.9699, allocations: 339.1 kB / 0.9582 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.97, allocations: 94.52 kB / 0.9583 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.9702, allocations: 138.3 kB / 0.9584 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.9705, allocations: 148.1 kB / 0.9586 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.9705, allocations: 0 / 0.9586 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004481/0.971, allocations: 274 kB / 0.9588 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.971, allocations: 5.469 kB / 0.9588 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.971, allocations: 5.094 kB / 0.9588 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.971, allocations: 5.031 kB / 0.9588 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.9712, allocations: 39.83 kB / 0.9589 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.9712, allocations: 1.781 kB / 0.9589 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.9714, allocations: 39.38 kB / 0.9589 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.9714, allocations: 6.031 kB / 0.9589 GB, free: 1.945 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.uHeaCoo.tab.nextTimeEvent,$whenCondition1,uHeaCoo.tab.nextTimeEventScaled,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEvent,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001578/0.9716, allocations: 169 kB / 0.9591 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.9716, allocations: 27.67 kB / 0.9591 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.19e-05/0.9717, allocations: 31.98 kB / 0.9591 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.9717, allocations: 5.438 kB / 0.9591 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.9717, allocations: 0.9375 kB / 0.9591 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.9718, allocations: 7.984 kB / 0.9592 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.9721, allocations: 322.2 kB / 0.9595 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.9721, allocations: 3.984 kB / 0.9595 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.39e-05/0.9721, allocations: 13.31 kB / 0.9595 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.9722, allocations: 1.156 kB / 0.9595 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.9722, allocations: 9.109 kB / 0.9595 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.9722, allocations: 5.031 kB / 0.9595 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.9722, allocations: 1.062 kB / 0.9595 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.9725, allocations: 218.5 kB / 0.9597 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.9726, allocations: 102.2 kB / 0.9598 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.9727, allocations: 7.281 kB / 0.9598 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.9728, allocations: 21.17 kB / 0.9598 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.972e-05/0.9729, allocations: 29.98 kB / 0.9599 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.9729, allocations: 11.83 kB / 0.9599 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002246/0.9731, allocations: 226.4 kB / 0.9601 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9731, allocations: 0 / 0.9601 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002985/0.9734, allocations: 59.91 kB / 0.9601 GB, free: 0.9805 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (uHeaCoo.tab.nextTimeEventScaled,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001053/0.9745, allocations: 429.5 kB / 0.9606 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004662/0.975, allocations: 206.9 kB / 0.9607 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.975, allocations: 0 / 0.9607 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.9752, allocations: 78.67 kB / 0.9608 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.9755, allocations: 57.12 kB / 0.9609 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008574/0.9764, allocations: 491.4 kB / 0.9613 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.9768, allocations: 0.7758 MB / 0.9621 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001429/0.9769, allocations: 46.69 kB / 0.9621 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.439e-05/0.977, allocations: 32.58 kB / 0.9622 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.977, allocations: 0 / 0.9622 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of Templates: time 0.01173/0.9888, allocations: 3.595 MB / 0.9657 GB, free: 13.75 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches