Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.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.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet_RehBox.nOcc|actAirSet_RehBox.ppmCO2|actAirSet_RehBox.uWin|actAirSet_RehBox.uOpeMod|actAirSet_RehBox1.uOpeMod|actAirSet_RehBox.co2ConLoo.y|actAirSet_RehBox.lin1.y|actAirSet_RehBox.VOccDisMin_flow|actAirSet_RehBox.VDisSetMin_flow|actAirSet_RehBox.VDisConMin_flow|actAirSet_RehBox.VDisCooSetMax_flow|actAirSet_RehBox.VActCooMax_flow|actAirSet_RehBox.VActCooMin_flow|actAirSet_RehBox.VActMin_flow|actAirSet_RehBox.VActHeaMin_flow|actAirSet_RehBox.VActHeaMax_flow|actAirSet_RehBox1.VActCooMax_flow|actAirSet_RehBox1.VActCooMin_flow|actAirSet_RehBox1.VActMin_flow|actAirSet_RehBox1.VActHeaMin_flow|actAirSet_RehBox1.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet_RehBox.nOcc|actAirSet_RehBox.ppmCO2|actAirSet_RehBox.uWin|actAirSet_RehBox.uOpeMod|actAirSet_RehBox1.uOpeMod|actAirSet_RehBox.co2ConLoo.y|actAirSet_RehBox.lin1.y|actAirSet_RehBox.VOccDisMin_flow|actAirSet_RehBox.VDisSetMin_flow|actAirSet_RehBox.VDisConMin_flow|actAirSet_RehBox.VDisCooSetMax_flow|actAirSet_RehBox.VActCooMax_flow|actAirSet_RehBox.VActCooMin_flow|actAirSet_RehBox.VActMin_flow|actAirSet_RehBox.VActHeaMin_flow|actAirSet_RehBox.VActHeaMax_flow|actAirSet_RehBox1.VActCooMax_flow|actAirSet_RehBox1.VActCooMin_flow|actAirSet_RehBox1.VActMin_flow|actAirSet_RehBox1.VActHeaMin_flow|actAirSet_RehBox1.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.344/2.344, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001198/0.001198, allocations: 175.3 kB / 498.1 MB, free: 5.746 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.551/1.551, allocations: 223.2 MB / 0.7949 GB, free: 17.84 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.0009318/0.0009318, allocations: 106.7 kB / 0.9346 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003577, allocations: 14.34 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3392, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1938/0.533, allocations: 153.1 MB / 1.372 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/0.5334, allocations: 79.94 kB / 1.372 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04104/0.5745, allocations: 17.2 MB / 1.389 GB, free: 7.637 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.345e-06/0.5745, allocations: 0 / 1.389 GB, free: 7.637 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.796e-05/0.5746, allocations: 28 kB / 1.389 GB, free: 7.609 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: 361 * Number of variables: 361 Notification: Performance of Generate backend data structure: time 0.002121/0.5767, allocations: 1.314 MB / 1.391 GB, free: 6.234 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.5768, allocations: 11.97 kB / 1.391 GB, free: 6.223 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002462/0.577, allocations: 150.2 kB / 1.391 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.5781, allocations: 0.6821 MB / 1.391 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.5782, allocations: 114.8 kB / 1.392 GB, free: 5.238 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.5784, allocations: 140 kB / 1.392 GB, free: 5.102 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.5803, allocations: 1.119 MB / 1.393 GB, free: 3.961 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.5804, allocations: 0 / 1.393 GB, free: 3.961 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.576e-05/0.5805, allocations: 56 kB / 1.393 GB, free: 3.906 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.5805, allocations: 36 kB / 1.393 GB, free: 3.871 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.5823, allocations: 0.9599 MB / 1.394 GB, free: 2.906 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005135/0.5875, allocations: 3.403 MB / 1.397 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.5886, allocations: 0.5696 MB / 1.398 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.065e-05/0.5887, allocations: 16.8 kB / 1.398 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007424/0.5894, allocations: 415.6 kB / 1.398 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=74): time 2.004e-06/0.5894, allocations: 0 / 1.398 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of matching and sorting (n=74): time 0.001631/0.5911, allocations: 0.8608 MB / 1.399 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.5912, allocations: 222.2 kB / 1.399 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.5923, allocations: 0.8718 MB / 1.4 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.616e-05/0.5923, allocations: 45.69 kB / 1.4 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004048/0.5928, allocations: 0.5117 MB / 1.401 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.5929, allocations: 248.5 kB / 1.401 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.172e-05/0.593, allocations: 16 kB / 1.401 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5932, allocations: 334 kB / 1.401 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005564/0.5937, allocations: 281.9 kB / 1.401 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006281/0.5944, allocations: 386.5 kB / 1.402 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005574/0.5949, allocations: 308.6 kB / 1.402 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5949, allocations: 4 kB / 1.402 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001425/0.5964, allocations: 0.826 MB / 1.403 GB, free: 9.391 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.5964, allocations: 41.7 kB / 1.403 GB, free: 9.344 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.5964, allocations: 0 / 1.403 GB, free: 9.344 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.5965, allocations: 4 kB / 1.403 GB, free: 9.34 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.597, allocations: 131.8 kB / 1.403 GB, free: 9.211 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/0.597, allocations: 7.938 kB / 1.403 GB, free: 9.203 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007061/0.5977, allocations: 218.5 kB / 1.403 GB, free: 8.988 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.934e-05/0.5978, allocations: 23.98 kB / 1.403 GB, free: 8.965 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,actAirSet_RehBox.not1.y,$PRE.actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.not1.y,$PRE.actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,$PRE.winSta.y,winSta.y,actAirSet_RehBox1.intEqu4.y,actAirSet_RehBox1.intEqu3.y,actAirSet_RehBox1.intEqu2.y,actAirSet_RehBox1.intEqu1.y,actAirSet_RehBox1.swi3.u2,actAirSet_RehBox1.and1.u1,actAirSet_RehBox1.and1.u2,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.and1.u1,actAirSet_RehBox.and1.u2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * 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.0004546/0.5983, allocations: 269 kB / 1.403 GB, free: 8.691 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.5984, allocations: 102.7 kB / 1.404 GB, free: 8.59 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.5996, allocations: 0.646 MB / 1.404 GB, free: 7.926 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.5996, allocations: 11.94 kB / 1.404 GB, free: 7.914 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.5996, allocations: 8 kB / 1.404 GB, free: 7.906 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.5996, allocations: 3.984 kB / 1.404 GB, free: 7.902 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003073/0.6027, allocations: 2.458 MB / 1.407 GB, free: 5.293 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.6027, allocations: 7.984 kB / 1.407 GB, free: 5.285 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/0.6032, allocations: 136.6 kB / 1.407 GB, free: 5.152 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/0.6032, allocations: 19.94 kB / 1.407 GB, free: 5.133 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.645e-05/0.6033, allocations: 24.56 kB / 1.407 GB, free: 5.109 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.142e-05/0.6033, allocations: 15.98 kB / 1.407 GB, free: 5.094 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/0.6033, allocations: 11.94 kB / 1.407 GB, free: 5.082 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.6048, allocations: 1.351 MB / 1.408 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.6051, allocations: 211.6 kB / 1.408 GB, free: 3.227 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.6052, allocations: 31.98 kB / 1.408 GB, free: 3.195 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004625/0.6057, allocations: 71.95 kB / 1.408 GB, free: 3.125 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.6058, allocations: 92.17 kB / 1.409 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.6059, allocations: 31.94 kB / 1.409 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0007721/0.6067, allocations: 0.6576 MB / 1.409 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6067, allocations: 0 / 1.409 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006799/0.6073, allocations: 215.5 kB / 1.409 GB, free: 2.125 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,winSta.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 2 (actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002508/0.6076, allocations: 156.1 kB / 1.41 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001479/0.6091, allocations: 0.7236 MB / 1.41 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.6091, allocations: 4 kB / 1.41 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008734/0.61, allocations: 436 kB / 1.411 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007298/0.6107, allocations: 116.1 kB / 1.411 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/0.6145, allocations: 2.165 MB / 1.413 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008974/0.6154, allocations: 1.081 MB / 1.414 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004758/0.6159, allocations: 111.3 kB / 1.414 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.6162, allocations: 75.42 kB / 1.414 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of SimCode: time 2.605e-06/0.6162, allocations: 0 / 1.414 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of Templates: time 0.01774/0.6339, allocations: 8.315 MB / 1.422 GB, free: 4.891 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches