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.244/2.244, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001471/0.001471, allocations: 180.8 kB / 487.4 MB, free: 5.043 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.539/1.539, allocations: 221.5 MB / 0.7824 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000917/0.0009171, allocations: 102.5 kB / 0.9219 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.59e-05/1.593e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3339, allocations: 142.3 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.345, allocations: 153.4 MB / 1.356 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/1.345, allocations: 82.09 kB / 1.356 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02209/1.368, allocations: 8.478 MB / 1.364 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/1.368, allocations: 0 / 1.364 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.815e-05/1.368, allocations: 7.969 kB / 1.364 GB, free: 33.66 MB / 0.8386 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.0009295/1.369, allocations: 0.5395 MB / 1.365 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/1.369, allocations: 11.66 kB / 1.365 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/1.369, allocations: 38.62 kB / 1.365 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000602/1.369, allocations: 330.7 kB / 1.365 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/1.369, allocations: 7.812 kB / 1.365 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/1.369, allocations: 15.47 kB / 1.365 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002593/1.37, allocations: 121.6 kB / 1.365 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/1.37, allocations: 155.2 kB / 1.365 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/1.37, allocations: 3.812 kB / 1.365 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/1.37, allocations: 3.094 kB / 1.365 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/1.37, allocations: 3.875 kB / 1.365 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/1.371, allocations: 0.6438 MB / 1.366 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/1.371, allocations: 186.8 kB / 1.366 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/1.372, allocations: 79.12 kB / 1.366 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/1.372, allocations: 3.875 kB / 1.366 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/1.372, allocations: 118.5 kB / 1.366 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.903e-06/1.372, allocations: 0 / 1.366 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0003331/1.372, allocations: 177.4 kB / 1.367 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/1.372, allocations: 55.36 kB / 1.367 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/1.373, allocations: 325.8 kB / 1.367 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/1.373, allocations: 33.08 kB / 1.367 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/1.373, allocations: 165 kB / 1.367 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/1.373, allocations: 47.44 kB / 1.367 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.501e-05/1.373, allocations: 0 / 1.367 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.373, allocations: 340.3 kB / 1.367 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/1.373, allocations: 94.78 kB / 1.368 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/1.373, allocations: 149.2 kB / 1.368 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/1.373, allocations: 99.22 kB / 1.368 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.373, allocations: 0 / 1.368 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004906/1.374, allocations: 282.8 kB / 1.368 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.374, allocations: 7.625 kB / 1.368 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/1.374, allocations: 0 / 1.368 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/1.374, allocations: 0 / 1.368 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/1.374, allocations: 41.64 kB / 1.368 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/1.374, allocations: 6.797 kB / 1.368 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/1.374, allocations: 37.33 kB / 1.368 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/1.375, allocations: 15.38 kB / 1.368 GB, free: 31.74 MB / 0.8386 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 () * 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.0001142/1.375, allocations: 118.4 kB / 1.368 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/1.375, allocations: 29.42 kB / 1.368 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003394/1.375, allocations: 202.8 kB / 1.368 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/1.375, allocations: 3.844 kB / 1.368 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.375, allocations: 0 / 1.368 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/1.375, allocations: 0 / 1.368 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/1.375, allocations: 299.1 kB / 1.369 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/1.375, allocations: 0 / 1.369 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.612e-05/1.375, allocations: 21.77 kB / 1.369 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.375, allocations: 7.75 kB / 1.369 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/1.375, allocations: 4 kB / 1.369 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/1.375, allocations: 3.469 kB / 1.369 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.375, allocations: 7.844 kB / 1.369 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/1.376, allocations: 206 kB / 1.369 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.502e-05/1.376, allocations: 109.8 kB / 1.369 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/1.376, allocations: 6.844 kB / 1.369 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/1.376, allocations: 20.14 kB / 1.369 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.9e-05/1.376, allocations: 37.67 kB / 1.369 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/1.376, allocations: 6.859 kB / 1.369 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002314/1.376, allocations: 216.5 kB / 1.369 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.7e-07/1.376, allocations: 0 / 1.369 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003128/1.377, allocations: 61.91 kB / 1.369 GB, free: 31.09 MB / 0.8386 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) * 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.0008426/1.378, allocations: 382.3 kB / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002995/1.378, allocations: 190.5 kB / 1.37 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.378, allocations: 0 / 1.37 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/1.378, allocations: 81.78 kB / 1.37 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/1.378, allocations: 52.39 kB / 1.37 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000666/1.379, allocations: 373.5 kB / 1.37 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/1.379, allocations: 0.7773 MB / 1.371 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001384/1.38, allocations: 45.2 kB / 1.371 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.86e-05/1.38, allocations: 28.23 kB / 1.371 GB, free: 30 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.38, allocations: 0 / 1.371 GB, free: 30 MB / 0.8386 GB Notification: Performance of Templates: time 0.006582/1.386, allocations: 3.144 MB / 1.374 GB, free: 29.73 MB / 0.8386 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