Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.425/2.425, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001246/0.001246, allocations: 187.9 kB / 0.4902 GB, free: 2.203 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.624/1.624, allocations: 223.2 MB / 0.7992 GB, free: 14.71 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.0009444/0.0009445, allocations: 102.3 kB / 0.9396 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.000387, allocations: 7.469 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3293, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2137/0.543, allocations: 155.5 MB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003911/0.5435, allocations: 103.9 kB / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02394/0.5675, allocations: 8.642 MB / 1.39 GB, free: 5.125 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.315e-06/0.5675, allocations: 0 / 1.39 GB, free: 5.125 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.423e-05/0.5676, allocations: 12 kB / 1.39 GB, free: 5.113 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.001052/0.5686, allocations: 0.6002 MB / 1.39 GB, free: 4.465 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.241e-05/0.5687, allocations: 16.52 kB / 1.39 GB, free: 4.449 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.5689, allocations: 35.58 kB / 1.39 GB, free: 4.414 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006197/0.5695, allocations: 330.3 kB / 1.391 GB, free: 4.051 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.5695, allocations: 12 kB / 1.391 GB, free: 4.039 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.5696, allocations: 24 kB / 1.391 GB, free: 4.016 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.57, allocations: 189.8 kB / 1.391 GB, free: 3.824 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.57, allocations: 3.938 kB / 1.391 GB, free: 3.82 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.57, allocations: 4 kB / 1.391 GB, free: 3.816 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.57, allocations: 4 kB / 1.391 GB, free: 3.812 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002814/0.5703, allocations: 147.8 kB / 1.391 GB, free: 3.668 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.5715, allocations: 0.6835 MB / 1.392 GB, free: 2.934 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/0.572, allocations: 194.9 kB / 1.392 GB, free: 2.734 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.572, allocations: 0 / 1.392 GB, free: 2.734 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.5723, allocations: 139.5 kB / 1.392 GB, free: 2.586 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.5723, allocations: 0 / 1.392 GB, free: 2.586 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18): time 0.0005507/0.5729, allocations: 250.6 kB / 1.392 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.5729, allocations: 59.34 kB / 1.392 GB, free: 2.266 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/0.5733, allocations: 338 kB / 1.393 GB, free: 1.93 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.5734, allocations: 37.7 kB / 1.393 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.5735, allocations: 164.4 kB / 1.393 GB, free: 1.719 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/0.5735, allocations: 51.44 kB / 1.393 GB, free: 1.668 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.552e-05/0.5736, allocations: 4 kB / 1.393 GB, free: 1.664 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5737, allocations: 338.8 kB / 1.393 GB, free: 1.324 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.5739, allocations: 103.9 kB / 1.393 GB, free: 1.223 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.5741, allocations: 153 kB / 1.393 GB, free: 1.059 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.5743, allocations: 104.5 kB / 1.394 GB, free: 0.957 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5744, allocations: 0 / 1.394 GB, free: 0.957 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004857/0.5748, allocations: 298.3 kB / 1.394 GB, free: 0.6602 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.5749, allocations: 8 kB / 1.394 GB, free: 0.6523 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5749, allocations: 0 / 1.394 GB, free: 0.6523 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.5749, allocations: 0 / 1.394 GB, free: 0.6523 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.5751, allocations: 39.88 kB / 1.394 GB, free: 0.6133 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.5751, allocations: 7.984 kB / 1.394 GB, free: 0.6055 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.5753, allocations: 35.92 kB / 1.394 GB, free: 0.5703 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.5753, allocations: 15.98 kB / 1.394 GB, free: 0.5547 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.0001795/0.5755, allocations: 171.5 kB / 1.394 GB, free: 384 kB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.5756, allocations: 27.62 kB / 1.394 GB, free: 356 kB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.576, allocations: 220.7 kB / 1.394 GB, free: 128 kB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.576, allocations: 4 kB / 1.394 GB, free: 124 kB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.576, allocations: 0 / 1.394 GB, free: 124 kB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.576, allocations: 4.031 kB / 1.394 GB, free: 120 kB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.5764, allocations: 337.3 kB / 1.395 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5764, allocations: 0 / 1.395 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.567e-05/0.5765, allocations: 23.92 kB / 1.395 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5765, allocations: 0 / 1.395 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.5765, allocations: 8 kB / 1.395 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5765, allocations: 0 / 1.395 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.5765, allocations: 0 / 1.395 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.5769, allocations: 246.2 kB / 1.395 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.792e-05/0.577, allocations: 104.8 kB / 1.395 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.5771, allocations: 12 kB / 1.395 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.5772, allocations: 19.92 kB / 1.395 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.525e-05/0.5773, allocations: 35.94 kB / 1.395 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.5773, allocations: 12 kB / 1.395 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002373/0.5776, allocations: 229.9 kB / 1.395 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5776, allocations: 0 / 1.395 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003318/0.5779, allocations: 71.84 kB / 1.395 GB, free: 14.96 MB / 0.9011 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.001071/0.579, allocations: 447.7 kB / 1.396 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004296/0.5794, allocations: 209.4 kB / 1.396 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5794, allocations: 0 / 1.396 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.5796, allocations: 99.78 kB / 1.396 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.5799, allocations: 40.86 kB / 1.396 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009851/0.5809, allocations: 0.5656 MB / 1.397 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.5813, allocations: 0.7833 MB / 1.397 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001362/0.5815, allocations: 42.25 kB / 1.397 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.064e-05/0.5816, allocations: 23.44 kB / 1.398 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of SimCode: time 4.11e-07/0.5816, allocations: 0 / 1.398 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of Templates: time 0.007427/0.589, allocations: 3.383 MB / 1.401 GB, free: 9.531 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches