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.437/1.437, allocations: 249.5 MB / 257 MB, free: 6.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 179.5 kB / 316.3 MB, free: 3.23 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.648/1.648, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0008896/0.0008898, allocations: 82.48 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.592e-05/1.593e-05, allocations: 0 / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2157, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6821/0.8978, allocations: 133 MB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.8981, allocations: 78.8 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008304/0.9064, allocations: 3.124 MB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9064, allocations: 0 / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.9065, allocations: 7.938 kB / 1.018 GB, free: 1.98 MB / 0.6355 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.0008577/0.9073, allocations: 0.5095 MB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.9074, allocations: 8.031 kB / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.9074, allocations: 27.72 kB / 1.019 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.9076, allocations: 198.8 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.9076, allocations: 10.69 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.9077, allocations: 15.98 kB / 1.019 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002339/0.9079, allocations: 125.8 kB / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.9082, allocations: 151.1 kB / 1.019 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.9082, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.9082, allocations: 6.297 kB / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.9083, allocations: 4 kB / 1.019 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.9093, allocations: 0.582 MB / 1.02 GB, free: 444 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.9096, allocations: 157.2 kB / 1.02 GB, free: 336 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.9097, allocations: 66.42 kB / 1.02 GB, free: 292 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.9098, allocations: 0 / 1.02 GB, free: 292 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.91, allocations: 140.7 kB / 1.02 GB, free: 172 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.91, allocations: 0 / 1.02 GB, free: 172 kB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0003591/0.9104, allocations: 158.3 kB / 1.02 GB, free: 40 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.9105, allocations: 55.41 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.9106, allocations: 186.7 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.9107, allocations: 29.14 kB / 1.021 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/0.9108, allocations: 137.9 kB / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.17e-05/0.9108, allocations: 57.91 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.326e-05/0.9109, allocations: 3.938 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.911, allocations: 330.1 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.9111, allocations: 64.88 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.9113, allocations: 111.6 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.906e-05/0.9114, allocations: 46.67 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.9114, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002929/0.9117, allocations: 193.3 kB / 1.022 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.9117, allocations: 8 kB / 1.022 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.9117, allocations: 0 / 1.022 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.9117, allocations: 0 / 1.022 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.912, allocations: 51.09 kB / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.912, allocations: 0 / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.9122, allocations: 55.86 kB / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.9123, allocations: 7.953 kB / 1.022 GB, free: 14.87 MB / 0.6511 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 () * 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.0001016/0.9124, allocations: 121.8 kB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.9124, allocations: 15.81 kB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.607e-05/0.9125, allocations: 26.22 kB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.9125, allocations: 4.875 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9125, allocations: 0 / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.9125, allocations: 7.984 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.9127, allocations: 264.8 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.9128, allocations: 0 / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.9129, allocations: 31.92 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.9129, allocations: 11.98 kB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.913, allocations: 3.188 kB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.913, allocations: 0 / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.913, allocations: 0 / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.9133, allocations: 196.4 kB / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.9133, allocations: 92.91 kB / 1.022 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.9134, allocations: 7.562 kB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.9136, allocations: 35.97 kB / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.9137, allocations: 50.09 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.9138, allocations: 11.17 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001019/0.9139, allocations: 128.5 kB / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9139, allocations: 4 kB / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002295/0.9141, allocations: 39.84 kB / 1.023 GB, free: 13.89 MB / 0.6511 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) * 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.0001758/0.9143, allocations: 123 kB / 1.023 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003122/0.9146, allocations: 161.9 kB / 1.023 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9146, allocations: 3.938 kB / 1.023 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.9148, allocations: 87.64 kB / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.915, allocations: 23.3 kB / 1.023 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005009/0.9155, allocations: 228.3 kB / 1.023 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.9158, allocations: 0.7399 MB / 1.024 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.069e-05/0.9159, allocations: 26.09 kB / 1.024 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/0.916, allocations: 26.31 kB / 1.024 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of SimCode: time 2.21e-07/0.916, allocations: 0 / 1.024 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of Templates: time 0.004946/0.9209, allocations: 2.189 MB / 1.026 GB, free: 10.41 MB / 0.6511 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