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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.88/1.88, allocations: 390.4 MB / 397.7 MB, free: 10.72 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 184.9 kB / 490.8 MB, free: 11.25 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.254/1.254, allocations: 221.4 MB / 0.7863 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008897/0.0008897, allocations: 89.84 kB / 0.9264 GB, free: 4.598 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 7.194e-06/7.223e-06, allocations: 0 / 1.072 GB, free: 15.54 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7004/0.7004, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1631/0.8635, allocations: 154.8 MB / 1.363 GB, free: 36.91 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/0.8638, allocations: 83.94 kB / 1.363 GB, free: 36.82 MB / 0.8855 GB Notification: Performance of FrontEnd: time 0.03558/0.8994, allocations: 17.12 MB / 1.38 GB, free: 19.94 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.524e-05/0.8995, allocations: 35.98 kB / 1.38 GB, free: 19.9 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.002102/0.9016, allocations: 1.248 MB / 1.381 GB, free: 18.59 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.9016, allocations: 12.03 kB / 1.381 GB, free: 18.58 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003416/0.902, allocations: 154.1 kB / 1.381 GB, free: 18.43 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.9031, allocations: 0.6782 MB / 1.382 GB, free: 17.71 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/0.9032, allocations: 52 kB / 1.382 GB, free: 17.66 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.9033, allocations: 84 kB / 1.382 GB, free: 17.57 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001474/0.9048, allocations: 0.8102 MB / 1.383 GB, free: 16.76 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.9063, allocations: 0.8639 MB / 1.383 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.9063, allocations: 11.97 kB / 1.383 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-05/0.9064, allocations: 0 / 1.383 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.9064, allocations: 35.91 kB / 1.383 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004571/0.911, allocations: 3.034 MB / 1.386 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008419/0.9119, allocations: 473.9 kB / 1.387 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003672/0.9123, allocations: 286.2 kB / 1.387 GB, free: 12 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.201e-05/0.9123, allocations: 12.64 kB / 1.387 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004456/0.9128, allocations: 362.4 kB / 1.387 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=74): time 2.755e-06/0.9128, allocations: 0 / 1.387 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74): time 0.0008157/0.9136, allocations: 0.4975 MB / 1.388 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.9137, allocations: 222.3 kB / 1.388 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004619/0.9141, allocations: 461 kB / 1.389 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.13e-05/0.9142, allocations: 29.7 kB / 1.389 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.9145, allocations: 490.8 kB / 1.389 GB, free: 9.852 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.9146, allocations: 228.6 kB / 1.389 GB, free: 9.625 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.9147, allocations: 0 / 1.389 GB, free: 9.625 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.13e-05/0.9148, allocations: 378.8 kB / 1.39 GB, free: 9.246 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/0.9152, allocations: 233.5 kB / 1.39 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004046/0.9156, allocations: 326.7 kB / 1.39 GB, free: 8.672 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005184/0.9161, allocations: 244.5 kB / 1.39 GB, free: 8.438 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.9161, allocations: 0 / 1.39 GB, free: 8.438 MB / 0.8855 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001086/0.9172, allocations: 0.6463 MB / 1.391 GB, free: 7.781 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.9172, allocations: 11.94 kB / 1.391 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.9172, allocations: 0 / 1.391 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.9173, allocations: 4 kB / 1.391 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005067/0.9178, allocations: 143.2 kB / 1.391 GB, free: 7.629 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.9178, allocations: 4 kB / 1.391 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006595/0.9185, allocations: 159.3 kB / 1.391 GB, free: 7.469 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-05/0.9185, allocations: 24 kB / 1.391 GB, free: 7.445 MB / 0.8855 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.00015/0.9187, allocations: 131.5 kB / 1.392 GB, free: 7.312 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.825e-05/0.9188, allocations: 67.16 kB / 1.392 GB, free: 7.246 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008133/0.9196, allocations: 0.4984 MB / 1.392 GB, free: 6.738 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.9196, allocations: 8 kB / 1.392 GB, free: 6.73 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.9197, allocations: 4 kB / 1.392 GB, free: 6.727 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.9197, allocations: 11.92 kB / 1.392 GB, free: 6.715 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/0.9222, allocations: 2.134 MB / 1.394 GB, free: 4.441 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.9222, allocations: 8 kB / 1.394 GB, free: 4.434 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004663/0.9227, allocations: 137.7 kB / 1.394 GB, free: 4.301 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.63e-05/0.9227, allocations: 15.91 kB / 1.394 GB, free: 4.285 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.9227, allocations: 12 kB / 1.394 GB, free: 4.273 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/0.9228, allocations: 15.92 kB / 1.394 GB, free: 4.258 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/0.9228, allocations: 11.94 kB / 1.394 GB, free: 4.246 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009892/0.9238, allocations: 1.201 MB / 1.396 GB, free: 2.754 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.9239, allocations: 156.2 kB / 1.396 GB, free: 2.582 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.407e-05/0.924, allocations: 23.89 kB / 1.396 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004652/0.9245, allocations: 59.95 kB / 1.396 GB, free: 2.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.9246, allocations: 84.22 kB / 1.396 GB, free: 2.418 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.426e-05/0.9247, allocations: 28 kB / 1.396 GB, free: 2.391 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0002774/0.9249, allocations: 323 kB / 1.396 GB, free: 2.078 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006843/0.9256, allocations: 230.7 kB / 1.396 GB, free: 1.852 MB / 0.8855 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.0001939/0.9258, allocations: 137.2 kB / 1.397 GB, free: 1.711 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009074/0.9268, allocations: 0.5935 MB / 1.397 GB, free: 1.113 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.9268, allocations: 0 / 1.397 GB, free: 1.113 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00064/0.9274, allocations: 390.5 kB / 1.398 GB, free: 0.7305 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.9279, allocations: 74.69 kB / 1.398 GB, free: 0.6602 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.9306, allocations: 1.315 MB / 1.399 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/0.9316, allocations: 1.15 MB / 1.4 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of SimCode: time 7.41e-07/0.9316, allocations: 0 / 1.4 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of Templates: time 0.01578/0.9474, allocations: 7.547 MB / 1.407 GB, free: 6.77 MB / 0.9011 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