Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.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.ApparatusDryPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|appDryPt.TDry|appDryPt.hDry|appDryPt.hEvaIn|Q_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|appDryPt.TDry|appDryPt.hDry|appDryPt.hEvaIn|Q_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001011/0.001012, allocations: 186.9 kB / 498.1 MB, free: 5.723 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.624/1.624, allocations: 223.2 MB / 0.7949 GB, free: 17.9 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.001001/0.001001, allocations: 96.31 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.000393, allocations: 10.44 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3263, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.16/4.487, allocations: 1.725 GB / 2.947 GB, free: 294.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/4.487, allocations: 105.1 kB / 2.948 GB, free: 294.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1962/4.683, allocations: 105.7 MB / 3.051 GB, free: 188.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.445e-06/4.683, allocations: 0 / 3.051 GB, free: 188.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.449e-05/4.683, allocations: 23.94 kB / 3.051 GB, free: 188.1 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00345/4.687, allocations: 1.882 MB / 3.053 GB, free: 186.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/4.687, allocations: 8.031 kB / 3.053 GB, free: 186.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01445/4.701, allocations: 2.086 MB / 3.055 GB, free: 184 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/4.704, allocations: 1.32 MB / 3.056 GB, free: 182.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/4.704, allocations: 16 kB / 3.056 GB, free: 182.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.7e-05/4.704, allocations: 24 kB / 3.056 GB, free: 182.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004767/4.709, allocations: 1.226 MB / 3.057 GB, free: 181.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/4.709, allocations: 0 / 3.057 GB, free: 181.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.522e-05/4.709, allocations: 15.95 kB / 3.057 GB, free: 181.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/4.709, allocations: 4 kB / 3.057 GB, free: 181.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008615/4.718, allocations: 2.072 MB / 3.059 GB, free: 179.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009869/4.728, allocations: 3.656 MB / 3.063 GB, free: 175.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009035/4.737, allocations: 2.173 MB / 3.065 GB, free: 173.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002982/4.737, allocations: 97.09 kB / 3.065 GB, free: 173.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004575/4.742, allocations: 1.185 MB / 3.066 GB, free: 172 MB / 1.167 GB Notification: Performance of pre-optimization done (n=23): time 3.898e-06/4.742, allocations: 0 / 3.066 GB, free: 172 MB / 1.167 GB Notification: Performance of matching and sorting (n=23): time 0.01411/4.756, allocations: 3.403 MB / 3.07 GB, free: 168.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/4.756, allocations: 110.8 kB / 3.07 GB, free: 168.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003041/4.759, allocations: 2.205 MB / 3.072 GB, free: 166.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001661/4.759, allocations: 33.7 kB / 3.072 GB, free: 166.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/4.76, allocations: 0.5621 MB / 3.072 GB, free: 165.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.541e-05/4.76, allocations: 71.05 kB / 3.072 GB, free: 165.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/4.76, allocations: 4 kB / 3.072 GB, free: 165.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.664e-05/4.76, allocations: 326 kB / 3.073 GB, free: 165.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004451/4.764, allocations: 1.179 MB / 3.074 GB, free: 164 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004343/4.769, allocations: 1.206 MB / 3.075 GB, free: 162.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004126/4.773, allocations: 1.099 MB / 3.076 GB, free: 161.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/4.773, allocations: 0 / 3.076 GB, free: 161.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01035/4.783, allocations: 2.857 MB / 3.079 GB, free: 158.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.79e-05/4.783, allocations: 130.4 kB / 3.079 GB, free: 158.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/4.783, allocations: 3.953 kB / 3.079 GB, free: 158.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002753/4.786, allocations: 0.7601 MB / 3.08 GB, free: 157.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002904/4.789, allocations: 495.3 kB / 3.08 GB, free: 157.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/4.791, allocations: 2.67 MB / 3.083 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003499/4.794, allocations: 467.1 kB / 3.083 GB, free: 154.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/4.794, allocations: 35.97 kB / 3.083 GB, free: 154.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/4.794, allocations: 4 kB / 3.083 GB, free: 154.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009334/4.804, allocations: 2.615 MB / 3.086 GB, free: 151.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/4.804, allocations: 4 kB / 3.086 GB, free: 151.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001883/4.806, allocations: 0.6314 MB / 3.087 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002917/4.809, allocations: 495.3 kB / 3.087 GB, free: 150.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003914/4.813, allocations: 6.251 MB / 3.093 GB, free: 143.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003284/4.816, allocations: 447.3 kB / 3.094 GB, free: 143.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/4.816, allocations: 35.97 kB / 3.094 GB, free: 143.1 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: 10 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,$PRE.deaBan.y,deaBan.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009611/4.817, allocations: 0.6672 MB / 3.094 GB, free: 142.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/4.817, allocations: 146.1 kB / 3.094 GB, free: 142.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009084/4.826, allocations: 2.338 MB / 3.097 GB, free: 139.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/4.826, allocations: 4 kB / 3.097 GB, free: 139.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/4.826, allocations: 0 / 3.097 GB, free: 139.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/4.826, allocations: 3.984 kB / 3.097 GB, free: 139.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/4.828, allocations: 1.231 MB / 3.098 GB, free: 138.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/4.828, allocations: 0 / 3.098 GB, free: 138.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002513/4.831, allocations: 455.4 kB / 3.098 GB, free: 138.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/4.831, allocations: 0 / 3.098 GB, free: 138.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.912e-05/4.831, allocations: 19.97 kB / 3.098 GB, free: 138.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/4.831, allocations: 0 / 3.098 GB, free: 138.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/4.831, allocations: 0 / 3.098 GB, free: 138.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008753/4.839, allocations: 2.265 MB / 3.101 GB, free: 135.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/4.841, allocations: 427.1 kB / 3.101 GB, free: 135.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/4.841, allocations: 8 kB / 3.101 GB, free: 135.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002589/4.843, allocations: 399.5 kB / 3.101 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/4.843, allocations: 28.19 kB / 3.101 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-05/4.844, allocations: 27.98 kB / 3.101 GB, free: 134.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002358/4.846, allocations: 1.703 MB / 3.103 GB, free: 133.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/4.846, allocations: 0 / 3.103 GB, free: 133.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001817/4.848, allocations: 0.6012 MB / 3.104 GB, free: 132.6 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: 8 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,deaBan.y) * Number of discrete states: 7 (deaBan.y,speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001376/4.849, allocations: 0.9951 MB / 3.105 GB, free: 131.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01499/4.864, allocations: 4.531 MB / 3.109 GB, free: 127 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/4.864, allocations: 0 / 3.109 GB, free: 127 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004233/4.868, allocations: 1.139 MB / 3.11 GB, free: 125.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/4.87, allocations: 319.2 kB / 3.11 GB, free: 125.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/4.889, allocations: 4.883 MB / 3.115 GB, free: 120.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007147/4.89, allocations: 1.422 MB / 3.117 GB, free: 119.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001706/4.892, allocations: 382.8 kB / 3.117 GB, free: 118.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004009/4.892, allocations: 83.36 kB / 3.117 GB, free: 118.8 MB / 1.167 GB Notification: Performance of SimCode: time 9.01e-07/4.892, allocations: 4 kB / 3.117 GB, free: 118.8 MB / 1.167 GB Notification: Performance of Templates: time 0.04599/4.938, allocations: 34.73 MB / 3.151 GB, free: 84.18 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches