Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryCoi.m_flow|onOff.y|TEvaIn.y|dryCoi.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") [: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 9.1.1-maint.9.1.x/package.mo): time 2.021/2.021, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001099/0.001099, allocations: 185.3 kB / 487 MB, free: 5.344 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.42/1.42, allocations: 221.3 MB / 0.7819 GB, free: 1.32 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 102 kB / 0.9213 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.153e-05/1.156e-05, allocations: 4 kB / 1.066 GB, free: 167.9 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3406, allocations: 142.3 MB / 1.205 GB, free: 25.86 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.016/4.356, allocations: 1.728 GB / 2.933 GB, free: 106.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/4.356, allocations: 94.84 kB / 2.933 GB, free: 106.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.08756/4.444, allocations: 41.67 MB / 2.974 GB, free: 69.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001691/4.444, allocations: 27.94 kB / 2.974 GB, free: 69.47 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.003898/4.448, allocations: 1.438 MB / 2.975 GB, free: 67.96 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/4.448, allocations: 9.031 kB / 2.975 GB, free: 67.96 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006891/4.455, allocations: 0.7081 MB / 2.976 GB, free: 67.25 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004484/4.46, allocations: 1.725 MB / 2.977 GB, free: 65.48 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000502/4.46, allocations: 140 kB / 2.978 GB, free: 65.33 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003438/4.461, allocations: 20 kB / 2.978 GB, free: 65.31 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004236/4.465, allocations: 2.91 MB / 2.98 GB, free: 62.39 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002802/4.468, allocations: 2.031 MB / 2.982 GB, free: 60.36 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/4.468, allocations: 3.938 kB / 2.982 GB, free: 60.36 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002506/4.468, allocations: 4 kB / 2.982 GB, free: 60.35 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/4.468, allocations: 4 kB / 2.982 GB, free: 60.35 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01059/4.479, allocations: 5.171 MB / 2.987 GB, free: 55.14 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/4.481, allocations: 2.491 MB / 2.99 GB, free: 52.63 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/4.483, allocations: 1.291 MB / 2.991 GB, free: 51.34 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.501e-05/4.483, allocations: 16.41 kB / 2.991 GB, free: 51.32 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002234/4.485, allocations: 1.888 MB / 2.993 GB, free: 49.41 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 5.29e-06/4.485, allocations: 4 kB / 2.993 GB, free: 49.41 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.004921/4.49, allocations: 2.751 MB / 2.996 GB, free: 46.64 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/4.49, allocations: 97.59 kB / 2.996 GB, free: 46.53 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004852/4.495, allocations: 2.444 MB / 2.998 GB, free: 44.09 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003532/4.495, allocations: 53.69 kB / 2.998 GB, free: 44.03 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003967/4.496, allocations: 285.3 kB / 2.998 GB, free: 43.75 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002907/4.496, allocations: 181.5 kB / 2.999 GB, free: 43.57 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/4.496, allocations: 0 / 2.999 GB, free: 43.57 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.144e-05/4.496, allocations: 333.9 kB / 2.999 GB, free: 43.24 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/4.498, allocations: 1.646 MB / 3.001 GB, free: 41.59 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/4.5, allocations: 1.617 MB / 3.002 GB, free: 39.97 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002739/4.503, allocations: 1.529 MB / 3.004 GB, free: 38.44 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/4.503, allocations: 0 / 3.004 GB, free: 38.44 MB / 1.151 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005313/4.508, allocations: 3.468 MB / 3.007 GB, free: 34.96 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/4.508, allocations: 8 kB / 3.007 GB, free: 34.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/4.508, allocations: 0 / 3.007 GB, free: 34.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/4.508, allocations: 0 / 3.007 GB, free: 34.95 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/4.51, allocations: 235.6 kB / 3.007 GB, free: 34.72 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/4.51, allocations: 4 kB / 3.007 GB, free: 34.71 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/4.511, allocations: 111.6 kB / 3.007 GB, free: 34.61 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/4.512, allocations: 111.9 kB / 3.007 GB, free: 34.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,$PRE.dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[1],$PRE.dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[2],$PRE.dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[3],$PRE.dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTEva[4],$PRE.dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[1],$PRE.dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[2],$PRE.dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[3],$PRE.dryCoi.cooCap.checkBoundsTCon[4],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 2 * 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.0005281/4.512, allocations: 170.5 kB / 3.008 GB, free: 34.32 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006937/4.513, allocations: 173.8 kB / 3.008 GB, free: 34.14 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005775/4.519, allocations: 3.163 MB / 3.011 GB, free: 30.98 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/4.519, allocations: 4 kB / 3.011 GB, free: 30.97 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/4.519, allocations: 4 kB / 3.011 GB, free: 30.97 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/4.519, allocations: 0 / 3.011 GB, free: 30.97 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003829/4.523, allocations: 2.473 MB / 3.013 GB, free: 28.46 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/4.523, allocations: 0 / 3.013 GB, free: 28.46 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/4.524, allocations: 239.7 kB / 3.014 GB, free: 28.22 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.51e-05/4.524, allocations: 0 / 3.014 GB, free: 28.22 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/4.524, allocations: 47.94 kB / 3.014 GB, free: 28.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/4.524, allocations: 0 / 3.014 GB, free: 28.18 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/4.524, allocations: 3.938 kB / 3.014 GB, free: 28.17 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005399/4.53, allocations: 2.816 MB / 3.016 GB, free: 25.34 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00188/4.532, allocations: 0.7721 MB / 3.017 GB, free: 24.54 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007678/4.533, allocations: 51.97 kB / 3.017 GB, free: 24.49 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/4.535, allocations: 155.8 kB / 3.017 GB, free: 24.34 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/4.535, allocations: 60.34 kB / 3.017 GB, free: 24.28 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002651/4.535, allocations: 115.9 kB / 3.017 GB, free: 24.17 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.003807/4.539, allocations: 1.872 MB / 3.019 GB, free: 22.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002197/4.541, allocations: 431.7 kB / 3.02 GB, free: 21.88 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[dryCoi.cooCap.stage],dryCoi.cooCap.checkBoundsTCon[dryCoi.cooCap.stage]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * 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.001669/4.543, allocations: 467.7 kB / 3.02 GB, free: 21.42 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003817/4.547, allocations: 3.166 MB / 3.023 GB, free: 18.23 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/4.547, allocations: 0 / 3.023 GB, free: 18.23 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/4.548, allocations: 1.429 MB / 3.025 GB, free: 16.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/4.551, allocations: 375.8 kB / 3.025 GB, free: 16.43 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008429/4.559, allocations: 3.762 MB / 3.029 GB, free: 12.64 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002717/4.562, allocations: 1.813 MB / 3.03 GB, free: 10.79 MB / 1.151 GB Notification: Performance of SimCode: time 1.533e-06/4.562, allocations: 0 / 3.03 GB, free: 10.79 MB / 1.151 GB Notification: Performance of Templates: time 0.6061/5.168, allocations: 35.6 MB / 3.065 GB, free: 0.5347 GB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches