Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.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.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.304/2.304, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001087/0.001087, allocations: 180.9 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.001007/0.001007, allocations: 87.95 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.467e-05/2.478e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2937, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/1.309, allocations: 155.5 MB / 1.371 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/1.309, allocations: 87.34 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.06455/1.374, allocations: 17.49 MB / 1.388 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.743e-06/1.374, allocations: 0 / 1.388 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000131/1.374, allocations: 32 kB / 1.388 GB, free: 15.66 MB / 0.8542 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.003223/1.377, allocations: 1.226 MB / 1.389 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/1.377, allocations: 11.97 kB / 1.389 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005452/1.378, allocations: 150.2 kB / 1.389 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/1.379, allocations: 0.6738 MB / 1.39 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/1.379, allocations: 116.2 kB / 1.39 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002687/1.379, allocations: 142.7 kB / 1.39 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/1.382, allocations: 1.075 MB / 1.391 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/1.382, allocations: 0 / 1.391 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.666e-05/1.382, allocations: 61.11 kB / 1.391 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/1.382, allocations: 32 kB / 1.391 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/1.384, allocations: 0.8804 MB / 1.392 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005529/1.389, allocations: 3.396 MB / 1.395 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009911/1.39, allocations: 0.5374 MB / 1.396 GB, free: 9.367 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004321/1.391, allocations: 304.1 kB / 1.396 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.637e-05/1.391, allocations: 12.72 kB / 1.396 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006241/1.391, allocations: 392.1 kB / 1.397 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=74): time 4.168e-06/1.391, allocations: 0 / 1.397 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of matching and sorting (n=74): time 0.001051/1.392, allocations: 0.5857 MB / 1.397 GB, free: 8.438 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/1.392, allocations: 218.2 kB / 1.397 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/1.394, allocations: 0.8656 MB / 1.398 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.934e-05/1.394, allocations: 40.33 kB / 1.398 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000502/1.394, allocations: 0.5191 MB / 1.399 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/1.394, allocations: 238.5 kB / 1.399 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/1.395, allocations: 25.62 kB / 1.399 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001712/1.395, allocations: 340 kB / 1.399 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/1.395, allocations: 244.9 kB / 1.4 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005527/1.396, allocations: 356.9 kB / 1.4 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004984/1.396, allocations: 279.2 kB / 1.4 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.396, allocations: 0 / 1.4 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001373/1.398, allocations: 0.7664 MB / 1.401 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.698e-05/1.398, allocations: 33.39 kB / 1.401 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.398, allocations: 4 kB / 1.401 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/1.398, allocations: 4 kB / 1.401 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/1.398, allocations: 131 kB / 1.401 GB, free: 5.305 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.34e-05/1.398, allocations: 11.97 kB / 1.401 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008395/1.399, allocations: 208.6 kB / 1.401 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.966e-05/1.399, allocations: 30.86 kB / 1.401 GB, free: 5.078 MB / 0.8542 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 () * 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.0002063/1.4, allocations: 164.6 kB / 1.402 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/1.4, allocations: 102.7 kB / 1.402 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/1.401, allocations: 0.5919 MB / 1.402 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/1.401, allocations: 8 kB / 1.402 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/1.401, allocations: 0 / 1.402 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/1.401, allocations: 7.984 kB / 1.402 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003225/1.404, allocations: 2.412 MB / 1.405 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.404, allocations: 4 kB / 1.405 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004969/1.405, allocations: 143.8 kB / 1.405 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.671e-05/1.405, allocations: 12 kB / 1.405 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/1.405, allocations: 22.56 kB / 1.405 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.524e-05/1.405, allocations: 15.94 kB / 1.405 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.858e-06/1.405, allocations: 15.92 kB / 1.405 GB, free: 2.324 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/1.406, allocations: 1.294 MB / 1.406 GB, free: 0.9648 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/1.406, allocations: 210.6 kB / 1.406 GB, free: 0.7656 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/1.407, allocations: 25.38 kB / 1.406 GB, free: 0.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004962/1.407, allocations: 82.33 kB / 1.406 GB, free: 0.6797 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/1.407, allocations: 90.28 kB / 1.406 GB, free: 0.6055 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/1.407, allocations: 27.31 kB / 1.406 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000773/1.408, allocations: 0.6454 MB / 1.407 GB, free: 112 kB / 0.8542 GB Notification: Performance of sort global known variables: time 1.71e-07/1.408, allocations: 0 / 1.407 GB, free: 112 kB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006965/1.409, allocations: 215.4 kB / 1.407 GB, free: 15.92 MB / 0.8698 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) * 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.0002605/1.409, allocations: 156 kB / 1.407 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001081/1.41, allocations: 0.6723 MB / 1.408 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.41, allocations: 0 / 1.408 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000663/1.411, allocations: 396.9 kB / 1.408 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006529/1.411, allocations: 132.8 kB / 1.409 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/1.414, allocations: 1.379 MB / 1.41 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006127/1.414, allocations: 1.081 MB / 1.411 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003722/1.415, allocations: 119.3 kB / 1.411 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/1.415, allocations: 75.11 kB / 1.411 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of SimCode: time 1.112e-06/1.415, allocations: 0 / 1.411 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of Templates: time 0.01713/1.432, allocations: 8.327 MB / 1.419 GB, free: 4.133 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches