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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.313/2.313, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001115/0.001115, allocations: 175.7 kB / 0.4902 GB, free: 2.254 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.606/1.606, allocations: 223.1 MB / 0.7992 GB, free: 15.7 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.001048/0.001048, allocations: 100.3 kB / 0.9396 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005942/0.0005945, allocations: 11.28 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4024, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.39/4.793, allocations: 1.729 GB / 2.958 GB, free: 237 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/4.793, allocations: 107.9 kB / 2.958 GB, free: 236.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.09039/4.884, allocations: 42.39 MB / 3 GB, free: 194.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.244e-06/4.884, allocations: 0 / 3 GB, free: 194.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001468/4.884, allocations: 23.94 kB / 3 GB, free: 194.4 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.004898/4.889, allocations: 1.87 MB / 3.002 GB, free: 192.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/4.889, allocations: 8.562 kB / 3.002 GB, free: 192.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006499/4.895, allocations: 0.6573 MB / 3.002 GB, free: 191.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004541/4.9, allocations: 1.701 MB / 3.004 GB, free: 190.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004693/4.9, allocations: 148 kB / 3.004 GB, free: 189.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003067/4.901, allocations: 32 kB / 3.004 GB, free: 189.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004507/4.905, allocations: 2.164 MB / 3.006 GB, free: 187.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/4.905, allocations: 3.938 kB / 3.006 GB, free: 187.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002659/4.905, allocations: 15.95 kB / 3.006 GB, free: 187.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/4.905, allocations: 8 kB / 3.006 GB, free: 187.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006048/4.912, allocations: 3.145 MB / 3.009 GB, free: 184.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01024/4.922, allocations: 5.126 MB / 3.014 GB, free: 179.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/4.932, allocations: 3.386 MB / 3.018 GB, free: 176 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.735e-05/4.932, allocations: 24.36 kB / 3.018 GB, free: 176 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003375/4.935, allocations: 2.061 MB / 3.02 GB, free: 173.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=61): time 3.757e-06/4.935, allocations: 0 / 3.02 GB, free: 173.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=61): time 0.008666/4.944, allocations: 4.365 MB / 3.024 GB, free: 169.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/4.944, allocations: 93.67 kB / 3.024 GB, free: 169.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004135/4.948, allocations: 2.46 MB / 3.026 GB, free: 166.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000308/4.949, allocations: 53.69 kB / 3.027 GB, free: 166.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006647/4.949, allocations: 0.6653 MB / 3.027 GB, free: 166.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/4.95, allocations: 185.5 kB / 3.027 GB, free: 166 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/4.95, allocations: 12 kB / 3.027 GB, free: 166 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.063e-05/4.95, allocations: 334 kB / 3.028 GB, free: 165.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002752/4.953, allocations: 1.747 MB / 3.029 GB, free: 163.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002753/4.955, allocations: 1.731 MB / 3.031 GB, free: 162.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002544/4.958, allocations: 1.462 MB / 3.033 GB, free: 160.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/4.958, allocations: 0 / 3.033 GB, free: 160.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006316/4.964, allocations: 3.561 MB / 3.036 GB, free: 157.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.843e-05/4.964, allocations: 99.31 kB / 3.036 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/4.964, allocations: 0 / 3.036 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/4.964, allocations: 0 / 3.036 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/4.966, allocations: 223.7 kB / 3.036 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/4.966, allocations: 4 kB / 3.036 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/4.968, allocations: 111.7 kB / 3.036 GB, free: 156.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/4.968, allocations: 119.9 kB / 3.037 GB, free: 156.6 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.001501/4.969, allocations: 0.7723 MB / 3.037 GB, free: 155.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000589/4.97, allocations: 169.9 kB / 3.037 GB, free: 155.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006358/4.976, allocations: 3.214 MB / 3.041 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/4.976, allocations: 4 kB / 3.041 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/4.976, allocations: 4 kB / 3.041 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/4.976, allocations: 3.984 kB / 3.041 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003246/4.98, allocations: 2.508 MB / 3.043 GB, free: 149.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/4.98, allocations: 0 / 3.043 GB, free: 149.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/4.981, allocations: 227.6 kB / 3.043 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.406e-05/4.981, allocations: 7.984 kB / 3.043 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/4.981, allocations: 47.94 kB / 3.043 GB, free: 149.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/4.981, allocations: 4 kB / 3.043 GB, free: 149.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/4.981, allocations: 0 / 3.043 GB, free: 149.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005981/4.987, allocations: 2.988 MB / 3.046 GB, free: 146.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002397/4.99, allocations: 0.7642 MB / 3.047 GB, free: 145.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008726/4.991, allocations: 63.97 kB / 3.047 GB, free: 145.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002031/4.993, allocations: 151.8 kB / 3.047 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002526/4.993, allocations: 60.47 kB / 3.047 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002539/4.993, allocations: 115.9 kB / 3.047 GB, free: 145.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004662/4.998, allocations: 1.915 MB / 3.049 GB, free: 143.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.022e-06/4.998, allocations: 0 / 3.049 GB, free: 143.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002522/5, allocations: 455.7 kB / 3.05 GB, free: 143 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.001704/5.002, allocations: 475.1 kB / 3.05 GB, free: 142.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006395/5.009, allocations: 3.551 MB / 3.054 GB, free: 138.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/5.009, allocations: 0 / 3.054 GB, free: 138.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002878/5.011, allocations: 1.568 MB / 3.055 GB, free: 137.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/5.014, allocations: 412.4 kB / 3.056 GB, free: 137 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00863/5.022, allocations: 4.535 MB / 3.06 GB, free: 132.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/5.024, allocations: 1.608 MB / 3.062 GB, free: 130.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002697/5.026, allocations: 0.7863 MB / 3.062 GB, free: 130 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009809/5.027, allocations: 159.3 kB / 3.062 GB, free: 129.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.884e-06/5.028, allocations: 0 / 3.062 GB, free: 129.8 MB / 1.167 GB Notification: Performance of Templates: time 0.05518/5.083, allocations: 34.98 MB / 3.097 GB, free: 94.93 MB / 1.167 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