Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001022, allocations: 178.6 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 97.94 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003378, allocations: 9 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2433, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1787/0.4221, allocations: 132.8 MB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.4224, allocations: 79.89 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008407/0.4308, allocations: 3.139 MB / 1.033 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.095e-06/0.4309, allocations: 0 / 1.033 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.843e-05/0.4309, allocations: 4 kB / 1.033 GB, free: 7.703 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009458/0.4319, allocations: 0.5312 MB / 1.033 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.4319, allocations: 12.03 kB / 1.034 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.386e-05/0.432, allocations: 23.72 kB / 1.034 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.4322, allocations: 206.9 kB / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.4322, allocations: 12 kB / 1.034 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.4323, allocations: 24 kB / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004926/0.4328, allocations: 221.5 kB / 1.034 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4328, allocations: 3.938 kB / 1.034 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.4328, allocations: 8 kB / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.4328, allocations: 7.984 kB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005417/0.4334, allocations: 215.8 kB / 1.034 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.4345, allocations: 0.6211 MB / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006332/0.4352, allocations: 242.5 kB / 1.035 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.4352, allocations: 4 kB / 1.035 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000465/0.4357, allocations: 188.1 kB / 1.035 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 1.834e-06/0.4357, allocations: 0 / 1.035 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.000912/0.4366, allocations: 347.1 kB / 1.036 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.4366, allocations: 51.41 kB / 1.036 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.4368, allocations: 185.6 kB / 1.036 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.4369, allocations: 41.69 kB / 1.036 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.437, allocations: 144.3 kB / 1.036 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.437, allocations: 43.5 kB / 1.036 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/0.437, allocations: 8 kB / 1.036 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4372, allocations: 330.8 kB / 1.036 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.4375, allocations: 111.9 kB / 1.036 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.4378, allocations: 147.3 kB / 1.037 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.4381, allocations: 104.9 kB / 1.037 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4381, allocations: 0 / 1.037 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006236/0.4387, allocations: 289.3 kB / 1.037 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.4388, allocations: 8 kB / 1.037 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4388, allocations: 0 / 1.037 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.4388, allocations: 3.953 kB / 1.037 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.439, allocations: 51.84 kB / 1.037 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.4391, allocations: 4 kB / 1.037 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.4393, allocations: 63.73 kB / 1.037 GB, free: 3.277 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.4394, allocations: 15.98 kB / 1.037 GB, free: 3.262 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition2,$whenCondition1,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,$PRE.uCoo.T_start,uCoo.T_start,$PRE.uCoo.count,uCoo.count,$PRE.uHea.T_start,uHea.T_start,$PRE.uHea.count,uHea.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001354/0.4395, allocations: 139.5 kB / 1.037 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.4395, allocations: 23.84 kB / 1.037 GB, free: 3.094 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.099e-05/0.4396, allocations: 25.86 kB / 1.037 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4396, allocations: 3.953 kB / 1.037 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4396, allocations: 0 / 1.037 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4396, allocations: 4 kB / 1.037 GB, free: 3.066 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.4399, allocations: 297.5 kB / 1.038 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4399, allocations: 0 / 1.038 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.4401, allocations: 31.97 kB / 1.038 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4401, allocations: 0 / 1.038 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.4401, allocations: 8 kB / 1.038 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4401, allocations: 0 / 1.038 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4401, allocations: 3.953 kB / 1.038 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000662/0.4408, allocations: 288.6 kB / 1.038 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.4409, allocations: 100.8 kB / 1.038 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.4409, allocations: 4 kB / 1.038 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.4411, allocations: 43.95 kB / 1.038 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.4413, allocations: 51.92 kB / 1.038 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.4413, allocations: 15.94 kB / 1.038 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001094/0.4414, allocations: 135.2 kB / 1.038 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4414, allocations: 0 / 1.038 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000281/0.4417, allocations: 43.98 kB / 1.038 GB, free: 1.977 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$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,uCoo.T_start,uCoo.count,uHea.T_start,uHea.count) * Number of discrete states: 5 (uCoo.count,uHea.count,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002251/0.442, allocations: 115.2 kB / 1.038 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007194/0.4427, allocations: 257.5 kB / 1.039 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4427, allocations: 0 / 1.039 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003342/0.443, allocations: 123.9 kB / 1.039 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.4433, allocations: 32.83 kB / 1.039 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008577/0.4442, allocations: 420.7 kB / 1.039 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.4445, allocations: 0.7442 MB / 1.04 GB, free: 252 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.927e-05/0.4446, allocations: 21.89 kB / 1.04 GB, free: 228 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.742e-05/0.4447, allocations: 27.36 kB / 1.04 GB, free: 200 kB / 0.6823 GB Notification: Performance of SimCode: time 6.72e-07/0.4447, allocations: 0 / 1.04 GB, free: 200 kB / 0.6823 GB Notification: Performance of Templates: time 0.005286/0.45, allocations: 2.358 MB / 1.042 GB, free: 13.89 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches