Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 2.006/2.006, allocations: 390.4 MB / 397.7 MB, free: 11.2 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.001059/0.001059, allocations: 173.3 kB / 490.8 MB, free: 1.93 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.354/1.354, allocations: 221.4 MB / 0.7863 GB, free: 13.62 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.000904/0.0009041, allocations: 98.98 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.826e-06/8.846e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2972, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.45/3.747, allocations: 1.728 GB / 2.94 GB, free: 117.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/3.748, allocations: 99.44 kB / 2.94 GB, free: 117.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.08421/3.832, allocations: 41.67 MB / 2.981 GB, free: 82.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000133/3.832, allocations: 20 kB / 2.981 GB, free: 82.18 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.003345/3.836, allocations: 1.434 MB / 2.982 GB, free: 80.68 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/3.836, allocations: 12.03 kB / 2.982 GB, free: 80.66 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00659/3.842, allocations: 0.7002 MB / 2.983 GB, free: 79.96 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003811/3.846, allocations: 1.74 MB / 2.985 GB, free: 78.18 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004077/3.846, allocations: 136 kB / 2.985 GB, free: 78.03 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003057/3.847, allocations: 20 kB / 2.985 GB, free: 78.01 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003716/3.851, allocations: 2.894 MB / 2.987 GB, free: 75.11 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/3.853, allocations: 2.046 MB / 2.989 GB, free: 73.06 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/3.853, allocations: 0 / 2.989 GB, free: 73.06 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002215/3.853, allocations: 0 / 2.989 GB, free: 73.06 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/3.853, allocations: 8 kB / 2.989 GB, free: 73.05 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009572/3.863, allocations: 5.182 MB / 2.995 GB, free: 67.83 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/3.865, allocations: 2.484 MB / 2.997 GB, free: 65.33 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/3.867, allocations: 1.291 MB / 2.998 GB, free: 64.04 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.203e-05/3.867, allocations: 16.41 kB / 2.998 GB, free: 64.02 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001938/3.869, allocations: 1.888 MB / 3 GB, free: 62.12 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 4.027e-06/3.869, allocations: 4 kB / 3 GB, free: 62.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.004427/3.873, allocations: 2.755 MB / 3.003 GB, free: 59.35 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/3.873, allocations: 97.59 kB / 3.003 GB, free: 59.23 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003163/3.877, allocations: 2.445 MB / 3.005 GB, free: 56.79 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003415/3.877, allocations: 45.69 kB / 3.005 GB, free: 56.74 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/3.877, allocations: 289.3 kB / 3.006 GB, free: 56.46 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/3.877, allocations: 173.5 kB / 3.006 GB, free: 56.29 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/3.877, allocations: 4 kB / 3.006 GB, free: 56.28 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.925e-05/3.878, allocations: 333.9 kB / 3.006 GB, free: 55.95 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/3.879, allocations: 1.646 MB / 3.008 GB, free: 54.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/3.88, allocations: 1.621 MB / 3.009 GB, free: 52.68 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002408/3.883, allocations: 1.522 MB / 3.011 GB, free: 51.16 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/3.883, allocations: 4 kB / 3.011 GB, free: 51.15 MB / 1.151 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.004718/3.888, allocations: 3.472 MB / 3.014 GB, free: 47.67 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/3.888, allocations: 6.812 kB / 3.014 GB, free: 47.66 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/3.888, allocations: 7.922 kB / 3.014 GB, free: 47.66 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/3.888, allocations: 11.94 kB / 3.014 GB, free: 47.64 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/3.889, allocations: 235.7 kB / 3.014 GB, free: 47.41 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/3.889, allocations: 3.984 kB / 3.014 GB, free: 47.41 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/3.891, allocations: 107.7 kB / 3.015 GB, free: 47.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002214/3.891, allocations: 111.9 kB / 3.015 GB, free: 47.2 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.0004474/3.892, allocations: 165.5 kB / 3.015 GB, free: 47.02 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003354/3.892, allocations: 169.9 kB / 3.015 GB, free: 46.86 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005229/3.897, allocations: 3.163 MB / 3.018 GB, free: 43.68 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/3.897, allocations: 4 kB / 3.018 GB, free: 43.68 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/3.897, allocations: 0 / 3.018 GB, free: 43.68 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/3.897, allocations: 3.984 kB / 3.018 GB, free: 43.68 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/3.9, allocations: 2.477 MB / 3.02 GB, free: 41.16 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/3.9, allocations: 0 / 3.02 GB, free: 41.16 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/3.902, allocations: 231.7 kB / 3.021 GB, free: 40.93 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/3.902, allocations: 7.906 kB / 3.021 GB, free: 40.93 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001623/3.902, allocations: 51.92 kB / 3.021 GB, free: 40.88 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/3.902, allocations: 4 kB / 3.021 GB, free: 40.87 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/3.902, allocations: 0 / 3.021 GB, free: 40.87 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004469/3.907, allocations: 2.812 MB / 3.023 GB, free: 38.04 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/3.908, allocations: 0.7798 MB / 3.024 GB, free: 37.24 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006088/3.909, allocations: 55.97 kB / 3.024 GB, free: 37.18 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/3.911, allocations: 147.8 kB / 3.024 GB, free: 37.04 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/3.911, allocations: 64.41 kB / 3.024 GB, free: 36.97 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002345/3.911, allocations: 111.9 kB / 3.025 GB, free: 36.86 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.003232/3.914, allocations: 1.876 MB / 3.026 GB, free: 35 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001899/3.916, allocations: 427.7 kB / 3.027 GB, free: 34.58 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.001447/3.918, allocations: 470.5 kB / 3.027 GB, free: 34.11 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003625/3.921, allocations: 3.163 MB / 3.03 GB, free: 30.94 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/3.921, allocations: 0 / 3.03 GB, free: 30.94 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/3.923, allocations: 1.429 MB / 3.032 GB, free: 29.51 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/3.925, allocations: 377.3 kB / 3.032 GB, free: 29.14 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006535/3.931, allocations: 3.752 MB / 3.036 GB, free: 25.35 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001957/3.933, allocations: 1.813 MB / 3.038 GB, free: 23.5 MB / 1.151 GB Notification: Performance of SimCode: time 9.12e-07/3.933, allocations: 0 / 3.038 GB, free: 23.5 MB / 1.151 GB Notification: Performance of Templates: time 0.4437/4.377, allocations: 35.59 MB / 3.072 GB, free: 0.5298 GB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches