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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 181 kB / 498.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.697/1.697, allocations: 223.2 MB / 0.7948 GB, free: 17.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.001461, allocations: 108.7 kB / 0.9346 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003987, allocations: 13.84 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3134, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2815/0.5949, allocations: 154.1 MB / 1.373 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/0.5954, allocations: 83.89 kB / 1.373 GB, free: 7.789 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03795/0.6334, allocations: 8.561 MB / 1.382 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.895e-06/0.6334, allocations: 0 / 1.382 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.349e-05/0.6335, allocations: 4 kB / 1.382 GB, free: 15.21 MB / 0.8855 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.001702/0.6352, allocations: 0.6084 MB / 1.382 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.212e-05/0.6353, allocations: 8.031 kB / 1.382 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.6355, allocations: 35.58 kB / 1.382 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009753/0.6365, allocations: 326.4 kB / 1.383 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/0.6365, allocations: 12 kB / 1.383 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-05/0.6366, allocations: 27.94 kB / 1.383 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.6372, allocations: 185.1 kB / 1.383 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.6373, allocations: 4 kB / 1.383 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.6373, allocations: 4 kB / 1.383 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.6373, allocations: 4 kB / 1.383 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004964/0.6378, allocations: 147.9 kB / 1.383 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.6397, allocations: 0.6765 MB / 1.384 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007633/0.6405, allocations: 206.8 kB / 1.384 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.6406, allocations: 0 / 1.384 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003905/0.641, allocations: 132.6 kB / 1.384 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=18): time 2.765e-06/0.641, allocations: 0 / 1.384 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18): time 0.0008973/0.6419, allocations: 251 kB / 1.384 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.642, allocations: 63.41 kB / 1.384 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007112/0.6427, allocations: 337.9 kB / 1.385 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/0.6428, allocations: 33.7 kB / 1.385 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.643, allocations: 172.3 kB / 1.385 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.31e-05/0.6431, allocations: 51.44 kB / 1.385 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.6431, allocations: 8 kB / 1.385 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.6433, allocations: 334.8 kB / 1.385 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.6437, allocations: 104 kB / 1.385 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.6441, allocations: 144.2 kB / 1.386 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.6444, allocations: 116.9 kB / 1.386 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.6445, allocations: 0 / 1.386 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008932/0.6454, allocations: 293.2 kB / 1.386 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.6454, allocations: 4 kB / 1.386 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.6454, allocations: 4 kB / 1.386 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.6455, allocations: 0 / 1.386 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.6458, allocations: 43.88 kB / 1.386 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.6458, allocations: 0 / 1.386 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.6462, allocations: 47.94 kB / 1.386 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.799e-05/0.6462, allocations: 8 kB / 1.386 GB, free: 10.66 MB / 0.8855 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 ($whenCondition1,$PRE.uHeaCoo.tab.nextTimeEvent,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uHeaCoo.tab.nextTimeEvent,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002995/0.6465, allocations: 171.5 kB / 1.386 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.407e-05/0.6466, allocations: 27.62 kB / 1.386 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007482/0.6474, allocations: 233.1 kB / 1.386 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.6474, allocations: 0 / 1.386 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.6474, allocations: 0 / 1.386 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.6475, allocations: 4 kB / 1.386 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.648, allocations: 333.4 kB / 1.387 GB, free: 9.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.6481, allocations: 3.938 kB / 1.387 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.6482, allocations: 19.98 kB / 1.387 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.6482, allocations: 0 / 1.387 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.6483, allocations: 4 kB / 1.387 GB, free: 9.812 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.6483, allocations: 4 kB / 1.387 GB, free: 9.809 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.6483, allocations: 0 / 1.387 GB, free: 9.809 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006671/0.649, allocations: 241.7 kB / 1.387 GB, free: 9.555 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.6491, allocations: 104.8 kB / 1.387 GB, free: 9.434 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.647e-05/0.6492, allocations: 12 kB / 1.387 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.6495, allocations: 15.98 kB / 1.387 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.6496, allocations: 31.94 kB / 1.387 GB, free: 9.375 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.6497, allocations: 16 kB / 1.387 GB, free: 9.359 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004913/0.6502, allocations: 229.9 kB / 1.387 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6502, allocations: 0 / 1.387 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005829/0.6508, allocations: 71.84 kB / 1.388 GB, free: 9.062 MB / 0.8855 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.booToIntCoo.u,zonSta.booToIntDea.u,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001713/0.6525, allocations: 450.4 kB / 1.388 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007366/0.6533, allocations: 211.8 kB / 1.388 GB, free: 8.566 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.6533, allocations: 0 / 1.388 GB, free: 8.566 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.6536, allocations: 88.94 kB / 1.388 GB, free: 8.48 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.6541, allocations: 44.8 kB / 1.388 GB, free: 8.434 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.6557, allocations: 0.5562 MB / 1.389 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/0.6562, allocations: 0.7872 MB / 1.39 GB, free: 7.031 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002339/0.6565, allocations: 42.27 kB / 1.39 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.6566, allocations: 31.36 kB / 1.39 GB, free: 6.961 MB / 0.8855 GB Notification: Performance of SimCode: time 5.41e-07/0.6567, allocations: 0 / 1.39 GB, free: 6.961 MB / 0.8855 GB Notification: Performance of Templates: time 0.01282/0.6695, allocations: 3.371 MB / 1.393 GB, free: 3.621 MB / 0.8855 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","../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