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.159/2.159, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.00112/0.00112, allocations: 180.9 kB / 492.3 MB, free: 0.6172 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.595/1.595, allocations: 221.3 MB / 0.7871 GB, free: 12.98 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.0008925/0.0008926, allocations: 97.77 kB / 0.9267 GB, free: 14.05 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.382e-05/3.384e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2992, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.42, allocations: 154 MB / 1.363 GB, free: 18.87 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/1.42, allocations: 80.53 kB / 1.363 GB, free: 18.87 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01994/1.44, allocations: 8.535 MB / 1.371 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.413e-06/1.44, allocations: 4 kB / 1.371 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.929e-05/1.44, allocations: 3.969 kB / 1.371 GB, free: 34.11 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.0006627/1.441, allocations: 0.5462 MB / 1.372 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/1.441, allocations: 11.62 kB / 1.372 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.122e-05/1.441, allocations: 38.84 kB / 1.372 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/1.441, allocations: 328 kB / 1.372 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/1.441, allocations: 19.34 kB / 1.372 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/1.441, allocations: 23.16 kB / 1.372 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/1.442, allocations: 177.7 kB / 1.372 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/1.442, allocations: 0 / 1.372 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/1.442, allocations: 7.375 kB / 1.372 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/1.442, allocations: 3.875 kB / 1.372 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/1.442, allocations: 132.5 kB / 1.373 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009138/1.443, allocations: 0.6848 MB / 1.373 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/1.443, allocations: 199.8 kB / 1.373 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/1.443, allocations: 86.77 kB / 1.373 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/1.443, allocations: 3.844 kB / 1.373 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/1.443, allocations: 129.4 kB / 1.374 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.422e-06/1.443, allocations: 3.906 kB / 1.374 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0003113/1.444, allocations: 182.3 kB / 1.374 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/1.444, allocations: 61.72 kB / 1.374 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/1.444, allocations: 332.2 kB / 1.374 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/1.444, allocations: 32.83 kB / 1.374 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.002e-05/1.444, allocations: 175.7 kB / 1.374 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/1.444, allocations: 41.09 kB / 1.374 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/1.444, allocations: 6.812 kB / 1.374 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.372e-05/1.444, allocations: 338.3 kB / 1.375 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/1.445, allocations: 96.22 kB / 1.375 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/1.445, allocations: 155.4 kB / 1.375 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/1.445, allocations: 95.55 kB / 1.375 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.445, allocations: 0 / 1.375 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003822/1.445, allocations: 293.1 kB / 1.375 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.445, allocations: 7.781 kB / 1.375 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/1.445, allocations: 0 / 1.375 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/1.445, allocations: 3.844 kB / 1.375 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/1.445, allocations: 36.75 kB / 1.375 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/1.446, allocations: 3.953 kB / 1.375 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/1.446, allocations: 40.25 kB / 1.375 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/1.446, allocations: 13.59 kB / 1.375 GB, free: 32.16 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 9.669e-05/1.446, allocations: 125.6 kB / 1.376 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/1.446, allocations: 23.44 kB / 1.376 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/1.446, allocations: 221.8 kB / 1.376 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/1.446, allocations: 3.75 kB / 1.376 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/1.446, allocations: 0 / 1.376 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.446, allocations: 2.25 kB / 1.376 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/1.447, allocations: 340.3 kB / 1.376 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.447, allocations: 0 / 1.376 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.795e-05/1.447, allocations: 18.5 kB / 1.376 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/1.447, allocations: 7.938 kB / 1.376 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/1.447, allocations: 3.312 kB / 1.376 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/1.447, allocations: 7.844 kB / 1.376 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.447, allocations: 6.75 kB / 1.376 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/1.447, allocations: 223 kB / 1.376 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/1.447, allocations: 107.9 kB / 1.376 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/1.447, allocations: 6.531 kB / 1.376 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/1.447, allocations: 27.41 kB / 1.377 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.475e-05/1.447, allocations: 36.64 kB / 1.377 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/1.447, allocations: 6.594 kB / 1.377 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002036/1.448, allocations: 228.8 kB / 1.377 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.448, allocations: 0 / 1.377 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000309/1.448, allocations: 77.23 kB / 1.377 GB, free: 31.48 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.0008259/1.449, allocations: 408.5 kB / 1.377 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002976/1.449, allocations: 201.8 kB / 1.377 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.449, allocations: 0 / 1.377 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/1.449, allocations: 85.36 kB / 1.378 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/1.449, allocations: 53.86 kB / 1.378 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006064/1.45, allocations: 377.6 kB / 1.378 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/1.45, allocations: 0.78 MB / 1.379 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000115/1.45, allocations: 33.09 kB / 1.379 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.784e-05/1.451, allocations: 36.38 kB / 1.379 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.451, allocations: 3.844 kB / 1.379 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of Templates: time 0.006033/1.457, allocations: 3.387 MB / 1.382 GB, free: 29.65 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