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.24/2.24, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.00112/0.00112, allocations: 184.8 kB / 487.4 MB, free: 5.059 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.416/1.416, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 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.0008607/0.0008608, allocations: 95.84 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.478e-05/2.48e-05, allocations: 11.98 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2847, allocations: 142.3 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.354/4.639, allocations: 1.728 GB / 2.934 GB, free: 156.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/4.639, allocations: 100.7 kB / 2.934 GB, free: 156.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.08506/4.725, allocations: 41.4 MB / 2.974 GB, free: 115.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.463e-06/4.725, allocations: 4 kB / 2.974 GB, free: 115.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000158/4.725, allocations: 20 kB / 2.974 GB, free: 115.2 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.00364/4.728, allocations: 1.432 MB / 2.976 GB, free: 113.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/4.728, allocations: 8.031 kB / 2.976 GB, free: 113.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006256/4.735, allocations: 0.6422 MB / 2.976 GB, free: 113.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003607/4.738, allocations: 1.701 MB / 2.978 GB, free: 111.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003754/4.739, allocations: 136.1 kB / 2.978 GB, free: 111.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002971/4.739, allocations: 27.94 kB / 2.978 GB, free: 111.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003476/4.743, allocations: 2.805 MB / 2.981 GB, free: 108.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/4.745, allocations: 1.962 MB / 2.983 GB, free: 106.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/4.745, allocations: 0 / 2.983 GB, free: 106.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/4.745, allocations: 4 kB / 2.983 GB, free: 106.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/4.745, allocations: 11.95 kB / 2.983 GB, free: 106.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009341/4.755, allocations: 5.057 MB / 2.988 GB, free: 101.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007454/4.762, allocations: 3.095 MB / 2.991 GB, free: 98.18 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/4.764, allocations: 1.236 MB / 2.992 GB, free: 96.94 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/4.764, allocations: 12.42 kB / 2.992 GB, free: 96.93 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002319/4.766, allocations: 1.889 MB / 2.994 GB, free: 95.02 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 3.647e-06/4.766, allocations: 0 / 2.994 GB, free: 95.02 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.004765/4.771, allocations: 2.687 MB / 2.996 GB, free: 92.32 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/4.771, allocations: 89.67 kB / 2.996 GB, free: 92.22 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004368/4.775, allocations: 2.347 MB / 2.999 GB, free: 89.88 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0004637/4.776, allocations: 41.69 kB / 2.999 GB, free: 89.83 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007685/4.777, allocations: 0.6536 MB / 2.999 GB, free: 89.17 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004109/4.777, allocations: 177.5 kB / 3 GB, free: 89 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/4.777, allocations: 4 kB / 3 GB, free: 88.99 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.175e-05/4.777, allocations: 326 kB / 3 GB, free: 88.67 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/4.779, allocations: 1.583 MB / 3.001 GB, free: 87.08 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/4.781, allocations: 1.558 MB / 3.003 GB, free: 85.52 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002521/4.783, allocations: 1.446 MB / 3.004 GB, free: 84.07 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/4.783, allocations: 3.938 kB / 3.004 GB, free: 84.07 MB / 1.151 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.004975/4.788, allocations: 3.359 MB / 3.008 GB, free: 80.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.71e-05/4.788, allocations: 91.36 kB / 3.008 GB, free: 80.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/4.788, allocations: 3.938 kB / 3.008 GB, free: 80.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/4.788, allocations: 4 kB / 3.008 GB, free: 80.59 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/4.79, allocations: 231.6 kB / 3.008 GB, free: 80.37 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/4.79, allocations: 4 kB / 3.008 GB, free: 80.36 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/4.791, allocations: 103.7 kB / 3.008 GB, free: 80.26 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/4.792, allocations: 111.9 kB / 3.008 GB, free: 80.15 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.000498/4.792, allocations: 171.8 kB / 3.008 GB, free: 79.97 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006898/4.793, allocations: 169.9 kB / 3.008 GB, free: 79.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004916/4.798, allocations: 2.975 MB / 3.011 GB, free: 76.82 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/4.798, allocations: 8 kB / 3.011 GB, free: 76.81 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/4.798, allocations: 7.938 kB / 3.011 GB, free: 76.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/4.798, allocations: 0 / 3.011 GB, free: 76.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00356/4.801, allocations: 2.442 MB / 3.014 GB, free: 74.32 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/4.802, allocations: 3.984 kB / 3.014 GB, free: 74.32 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/4.803, allocations: 235.6 kB / 3.014 GB, free: 74.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.385e-05/4.803, allocations: 0 / 3.014 GB, free: 74.09 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/4.803, allocations: 47.92 kB / 3.014 GB, free: 74.04 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/4.803, allocations: 4 kB / 3.014 GB, free: 74.04 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/4.803, allocations: 0 / 3.014 GB, free: 74.04 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004574/4.808, allocations: 2.752 MB / 3.017 GB, free: 71.27 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001712/4.81, allocations: 0.7721 MB / 3.017 GB, free: 70.47 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006993/4.81, allocations: 59.92 kB / 3.018 GB, free: 70.41 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/4.812, allocations: 131.9 kB / 3.018 GB, free: 70.29 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/4.812, allocations: 68.45 kB / 3.018 GB, free: 70.22 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002574/4.813, allocations: 111.9 kB / 3.018 GB, free: 70.11 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003365/4.816, allocations: 1.805 MB / 3.02 GB, free: 68.31 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/4.816, allocations: 0 / 3.02 GB, free: 68.31 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002001/4.818, allocations: 435.6 kB / 3.02 GB, free: 67.89 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.001463/4.82, allocations: 481.5 kB / 3.02 GB, free: 67.42 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003462/4.823, allocations: 3.194 MB / 3.024 GB, free: 64.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/4.823, allocations: 4 kB / 3.024 GB, free: 64.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/4.824, allocations: 1.399 MB / 3.025 GB, free: 62.79 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/4.827, allocations: 393.4 kB / 3.025 GB, free: 62.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006782/4.834, allocations: 3.608 MB / 3.029 GB, free: 58.76 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/4.835, allocations: 1.607 MB / 3.03 GB, free: 57.12 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003072/4.838, allocations: 0.8212 MB / 3.031 GB, free: 56.29 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009932/4.839, allocations: 155.3 kB / 3.031 GB, free: 56.14 MB / 1.151 GB Notification: Performance of SimCode: time 2.575e-06/4.839, allocations: 3.938 kB / 3.031 GB, free: 56.14 MB / 1.151 GB Notification: Performance of Templates: time 0.04353/4.883, allocations: 29.52 MB / 3.06 GB, free: 26.72 MB / 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