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.266/2.266, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.000954/0.0009539, allocations: 176.9 kB / 492.3 MB, free: 0.6367 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.387/1.387, allocations: 221.3 MB / 0.7871 GB, free: 12.98 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.0008619/0.0008619, allocations: 98 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.869e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2777, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9476/1.225, allocations: 153 MB / 1.362 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/1.226, allocations: 77.91 kB / 1.362 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03644/1.262, allocations: 17.18 MB / 1.379 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.072e-06/1.262, allocations: 0 / 1.379 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.168e-05/1.262, allocations: 34.91 kB / 1.379 GB, free: 32.01 MB / 0.8386 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.001648/1.264, allocations: 1.231 MB / 1.38 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.264, allocations: 7.688 kB / 1.38 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/1.264, allocations: 155.3 kB / 1.38 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008899/1.265, allocations: 0.6777 MB / 1.381 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-05/1.265, allocations: 121.1 kB / 1.381 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/1.265, allocations: 139.8 kB / 1.381 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/1.267, allocations: 1.066 MB / 1.382 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/1.267, allocations: 0 / 1.382 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.021e-05/1.267, allocations: 62.59 kB / 1.382 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/1.267, allocations: 34.69 kB / 1.382 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/1.268, allocations: 0.8854 MB / 1.383 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004187/1.273, allocations: 3.393 MB / 1.386 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008297/1.273, allocations: 0.5407 MB / 1.387 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003719/1.274, allocations: 298.4 kB / 1.387 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.802e-05/1.274, allocations: 8.25 kB / 1.387 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005182/1.274, allocations: 404.2 kB / 1.388 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=74): time 1.783e-06/1.274, allocations: 0 / 1.388 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=74): time 0.0008246/1.275, allocations: 0.5815 MB / 1.388 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/1.275, allocations: 217 kB / 1.388 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008318/1.276, allocations: 0.866 MB / 1.389 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.081e-05/1.276, allocations: 43.77 kB / 1.389 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002868/1.276, allocations: 0.5189 MB / 1.39 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/1.277, allocations: 239.1 kB / 1.39 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/1.277, allocations: 18.47 kB / 1.39 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.753e-05/1.277, allocations: 331.4 kB / 1.39 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/1.277, allocations: 253.3 kB / 1.391 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004247/1.278, allocations: 355.5 kB / 1.391 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/1.278, allocations: 271.2 kB / 1.391 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.278, allocations: 3.953 kB / 1.391 GB, free: 27.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001044/1.279, allocations: 0.7617 MB / 1.392 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/1.279, allocations: 41.31 kB / 1.392 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/1.279, allocations: 0 / 1.392 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/1.279, allocations: 19.5 kB / 1.392 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/1.279, allocations: 126 kB / 1.392 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/1.28, allocations: 7.656 kB / 1.392 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000611/1.28, allocations: 215.2 kB / 1.392 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.232e-05/1.28, allocations: 30.03 kB / 1.392 GB, free: 26.84 MB / 0.8386 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.0001304/1.28, allocations: 153.2 kB / 1.392 GB, free: 26.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.609e-05/1.28, allocations: 104.9 kB / 1.393 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008374/1.281, allocations: 0.5976 MB / 1.393 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.281, allocations: 7.594 kB / 1.393 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.281, allocations: 3.812 kB / 1.393 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.281, allocations: 3.984 kB / 1.393 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/1.284, allocations: 2.416 MB / 1.395 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/1.284, allocations: 7.688 kB / 1.395 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004266/1.284, allocations: 135.8 kB / 1.396 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/1.284, allocations: 11.34 kB / 1.396 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/1.284, allocations: 20.66 kB / 1.396 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/1.284, allocations: 19.42 kB / 1.396 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.284, allocations: 7.75 kB / 1.396 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009445/1.285, allocations: 1.294 MB / 1.397 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/1.285, allocations: 211.2 kB / 1.397 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-05/1.285, allocations: 31.08 kB / 1.397 GB, free: 24.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/1.286, allocations: 71.2 kB / 1.397 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/1.286, allocations: 97.23 kB / 1.397 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.923e-05/1.286, allocations: 29.88 kB / 1.397 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006211/1.287, allocations: 0.638 MB / 1.398 GB, free: 23.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.287, allocations: 0 / 1.398 GB, free: 23.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005212/1.287, allocations: 220.3 kB / 1.398 GB, free: 23.9 MB / 0.8386 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.0001636/1.287, allocations: 151.8 kB / 1.398 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008454/1.288, allocations: 0.6721 MB / 1.399 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.288, allocations: 0 / 1.399 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005946/1.289, allocations: 397.8 kB / 1.399 GB, free: 23.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/1.289, allocations: 137.4 kB / 1.4 GB, free: 23.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/1.291, allocations: 1.38 MB / 1.401 GB, free: 22.85 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/1.292, allocations: 1.088 MB / 1.402 GB, free: 21.97 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003342/1.292, allocations: 105 kB / 1.402 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/1.292, allocations: 80.77 kB / 1.402 GB, free: 21.91 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/1.292, allocations: 0 / 1.402 GB, free: 21.91 MB / 0.8386 GB Notification: Performance of Templates: time 0.01287/1.305, allocations: 8.319 MB / 1.41 GB, free: 14.52 MB / 0.8386 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