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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.559/2.559, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001313/0.001314, allocations: 175.4 kB / 498.1 MB, free: 5.738 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.52/1.52, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0009689/0.000969, allocations: 96.3 kB / 0.9346 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003794, allocations: 10.03 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.341, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.194/4.535, allocations: 1.728 GB / 2.951 GB, free: 291.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/4.536, allocations: 109.1 kB / 2.951 GB, free: 291.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.08681/4.622, allocations: 42.39 MB / 2.993 GB, free: 248.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.755e-06/4.623, allocations: 0 / 2.993 GB, free: 248.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.938e-05/4.623, allocations: 20 kB / 2.993 GB, free: 248.9 MB / 1.167 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.003729/4.626, allocations: 1.884 MB / 2.995 GB, free: 246.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/4.626, allocations: 8.031 kB / 2.995 GB, free: 246.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006161/4.633, allocations: 0.6496 MB / 2.995 GB, free: 246.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003781/4.636, allocations: 1.697 MB / 2.997 GB, free: 244.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/4.637, allocations: 152 kB / 2.997 GB, free: 244.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/4.637, allocations: 35.98 kB / 2.997 GB, free: 244.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003665/4.641, allocations: 2.164 MB / 2.999 GB, free: 242.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/4.641, allocations: 0 / 2.999 GB, free: 242.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/4.641, allocations: 19.95 kB / 2.999 GB, free: 242.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/4.641, allocations: 8 kB / 2.999 GB, free: 242.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005482/4.646, allocations: 3.133 MB / 3.002 GB, free: 239 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0093/4.656, allocations: 5.13 MB / 3.007 GB, free: 233.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009968/4.666, allocations: 3.393 MB / 3.011 GB, free: 230.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/4.666, allocations: 20.38 kB / 3.011 GB, free: 230.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003478/4.669, allocations: 2.062 MB / 3.013 GB, free: 228.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=61): time 3.647e-06/4.669, allocations: 0 / 3.013 GB, free: 228.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=61): time 0.008337/4.678, allocations: 4.357 MB / 3.017 GB, free: 223.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/4.678, allocations: 101.6 kB / 3.017 GB, free: 223.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003495/4.681, allocations: 2.457 MB / 3.019 GB, free: 221.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003633/4.682, allocations: 53.69 kB / 3.019 GB, free: 221.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005553/4.682, allocations: 0.6692 MB / 3.02 GB, free: 220.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/4.682, allocations: 181.4 kB / 3.02 GB, free: 220.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/4.682, allocations: 12 kB / 3.02 GB, free: 220.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.553e-05/4.683, allocations: 330 kB / 3.021 GB, free: 220.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002666/4.685, allocations: 1.755 MB / 3.022 GB, free: 218.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002576/4.688, allocations: 1.727 MB / 3.024 GB, free: 216.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002348/4.69, allocations: 1.466 MB / 3.025 GB, free: 215.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/4.69, allocations: 0 / 3.025 GB, free: 215.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006123/4.696, allocations: 3.565 MB / 3.029 GB, free: 211.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/4.696, allocations: 91.33 kB / 3.029 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/4.696, allocations: 0 / 3.029 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-05/4.697, allocations: 4 kB / 3.029 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/4.698, allocations: 227.7 kB / 3.029 GB, free: 211.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/4.698, allocations: 0 / 3.029 GB, free: 211.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/4.7, allocations: 111.6 kB / 3.029 GB, free: 211.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002434/4.7, allocations: 123.9 kB / 3.029 GB, free: 211 MB / 1.167 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 () * Number of clocked 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.001543/4.701, allocations: 0.7585 MB / 3.03 GB, free: 210.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003928/4.702, allocations: 173.9 kB / 3.03 GB, free: 210 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00579/4.708, allocations: 3.211 MB / 3.033 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/4.708, allocations: 8 kB / 3.033 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/4.708, allocations: 0 / 3.033 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/4.708, allocations: 11.98 kB / 3.033 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002761/4.71, allocations: 2.508 MB / 3.036 GB, free: 204.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/4.71, allocations: 0 / 3.036 GB, free: 204.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/4.712, allocations: 219.7 kB / 3.036 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/4.712, allocations: 0 / 3.036 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/4.712, allocations: 67.89 kB / 3.036 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/4.712, allocations: 0 / 3.036 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/4.712, allocations: 0 / 3.036 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005672/4.718, allocations: 2.977 MB / 3.039 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001835/4.72, allocations: 0.776 MB / 3.04 GB, free: 200.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004165/4.72, allocations: 59.97 kB / 3.04 GB, free: 200.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/4.721, allocations: 143.9 kB / 3.04 GB, free: 200 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/4.722, allocations: 64.39 kB / 3.04 GB, free: 199.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/4.722, allocations: 115.9 kB / 3.04 GB, free: 199.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002556/4.724, allocations: 1.911 MB / 3.042 GB, free: 197.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/4.724, allocations: 7.938 kB / 3.042 GB, free: 197.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001605/4.726, allocations: 455.7 kB / 3.043 GB, free: 197.4 MB / 1.167 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]) * Number of clocked states: 0 () * 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.001031/4.727, allocations: 478.6 kB / 3.043 GB, free: 197 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005753/4.733, allocations: 3.547 MB / 3.046 GB, free: 193.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/4.733, allocations: 0 / 3.046 GB, free: 193.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002619/4.735, allocations: 1.584 MB / 3.048 GB, free: 191.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/4.738, allocations: 396.8 kB / 3.048 GB, free: 191.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007377/4.745, allocations: 4.531 MB / 3.053 GB, free: 186.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/4.746, allocations: 1.604 MB / 3.054 GB, free: 185.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002675/4.749, allocations: 0.7941 MB / 3.055 GB, free: 184.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006987/4.749, allocations: 163.3 kB / 3.055 GB, free: 184.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.863e-06/4.749, allocations: 0 / 3.055 GB, free: 184.2 MB / 1.167 GB Notification: Performance of Templates: time 0.05204/4.801, allocations: 34.98 MB / 3.089 GB, free: 149.4 MB / 1.167 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