Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.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.WetCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetCoi.Q_flow|TEvaIn.y|wetCoi.TADP|wetCoi.mWat_flow|wetCoi.SHR|wetCoi.EIR",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetCoi.Q_flow|TEvaIn.y|wetCoi.TADP|wetCoi.mWat_flow|wetCoi.SHR|wetCoi.EIR",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.236/2.236, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001055/0.001055, allocations: 180.3 kB / 492.3 MB, free: 0.6055 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.567/1.567, allocations: 221.3 MB / 0.7872 GB, free: 12.93 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.0008922/0.0008924, allocations: 88 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.464e-05/3.465e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3174, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.099/5.416, allocations: 1.739 GB / 2.951 GB, free: 100.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/5.417, allocations: 109 kB / 2.951 GB, free: 100.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.161/6.577, allocations: 156.4 MB / 3.104 GB, free: 377.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.515e-06/6.577, allocations: 2.906 kB / 3.104 GB, free: 377.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001562/6.578, allocations: 33.88 kB / 3.104 GB, free: 377.4 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.00572/6.583, allocations: 2.224 MB / 3.106 GB, free: 376.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/6.583, allocations: 10.06 kB / 3.106 GB, free: 376.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02224/6.606, allocations: 2.926 MB / 3.109 GB, free: 376.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00659/6.612, allocations: 2.83 MB / 3.112 GB, free: 375 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005347/6.613, allocations: 199.1 kB / 3.112 GB, free: 374.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006731/6.614, allocations: 65.14 kB / 3.112 GB, free: 374.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004435/6.618, allocations: 2.631 MB / 3.115 GB, free: 373.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/6.618, allocations: 0 / 3.115 GB, free: 373.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003429/6.618, allocations: 19.75 kB / 3.115 GB, free: 373.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/6.618, allocations: 11.72 kB / 3.115 GB, free: 373.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00466/6.623, allocations: 3.593 MB / 3.118 GB, free: 372.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02162/6.645, allocations: 8.804 MB / 3.127 GB, free: 369 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009808/6.655, allocations: 4.009 MB / 3.131 GB, free: 367.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002333/6.657, allocations: 1.621 MB / 3.132 GB, free: 366.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/6.657, allocations: 23.5 kB / 3.132 GB, free: 366.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003471/6.661, allocations: 2.364 MB / 3.135 GB, free: 365.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=79): time 4.91e-06/6.661, allocations: 4 kB / 3.135 GB, free: 365.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=79): time 0.02279/6.683, allocations: 4.685 MB / 3.139 GB, free: 363.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/6.684, allocations: 95.16 kB / 3.139 GB, free: 363.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009186/6.693, allocations: 4.143 MB / 3.143 GB, free: 361.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0009619/6.694, allocations: 57.44 kB / 3.143 GB, free: 361.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001639/6.695, allocations: 1.004 MB / 3.144 GB, free: 360.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009098/6.696, allocations: 249.2 kB / 3.145 GB, free: 360.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006287/6.697, allocations: 19.91 kB / 3.145 GB, free: 360.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001642/6.697, allocations: 341.4 kB / 3.145 GB, free: 359.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003238/6.7, allocations: 2.143 MB / 3.147 GB, free: 358.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003144/6.704, allocations: 2.172 MB / 3.149 GB, free: 357.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002637/6.706, allocations: 1.754 MB / 3.151 GB, free: 356.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/6.706, allocations: 0 / 3.151 GB, free: 356.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.02414/6.73, allocations: 5.974 MB / 3.157 GB, free: 351 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002465/6.731, allocations: 386 kB / 3.157 GB, free: 350.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/6.731, allocations: 0 / 3.157 GB, free: 350.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004105/6.735, allocations: 0.9992 MB / 3.158 GB, free: 349.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004314/6.739, allocations: 0.6515 MB / 3.159 GB, free: 348.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004299/6.744, allocations: 4.826 MB / 3.163 GB, free: 343.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00591/6.749, allocations: 0.5808 MB / 3.164 GB, free: 343.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009284/6.75, allocations: 151.9 kB / 3.164 GB, free: 343.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/6.75, allocations: 4 kB / 3.164 GB, free: 343.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02295/6.773, allocations: 5.714 MB / 3.17 GB, free: 337.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/6.774, allocations: 0 / 3.17 GB, free: 337.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003351/6.777, allocations: 0.8713 MB / 3.171 GB, free: 336.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004387/6.781, allocations: 0.6553 MB / 3.171 GB, free: 335.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006644/6.788, allocations: 8.509 MB / 3.18 GB, free: 326.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005557/6.794, allocations: 0.5731 MB / 3.18 GB, free: 326.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008602/6.794, allocations: 147.9 kB / 3.18 GB, free: 325.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,$PRE.wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[1],$PRE.wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[2],$PRE.wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[3],$PRE.wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTEva[4],$PRE.wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[1],$PRE.wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[2],$PRE.wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[3],$PRE.wetCoi.cooCap.checkBoundsTCon[4],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,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 (92): * Single equations (assignments): 84 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 1,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00133/6.796, allocations: 203.2 kB / 3.18 GB, free: 325.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001481/6.797, allocations: 256.8 kB / 3.181 GB, free: 325.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02256/6.82, allocations: 5.044 MB / 3.186 GB, free: 320.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-05/6.82, allocations: 12 kB / 3.186 GB, free: 320.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/6.82, allocations: 0 / 3.186 GB, free: 320.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.421e-05/6.82, allocations: 3.984 kB / 3.186 GB, free: 320.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007225/6.827, allocations: 3.594 MB / 3.189 GB, free: 316.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/6.827, allocations: 3.984 kB / 3.189 GB, free: 316.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004153/6.831, allocations: 0.6163 MB / 3.19 GB, free: 316.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008537/6.832, allocations: 201.5 kB / 3.19 GB, free: 315.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005767/6.833, allocations: 79.84 kB / 3.19 GB, free: 315.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/6.835, allocations: 2.135 MB / 3.192 GB, free: 313.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/6.835, allocations: 0 / 3.192 GB, free: 313.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02191/6.857, allocations: 4.681 MB / 3.197 GB, free: 308.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00327/6.86, allocations: 1.118 MB / 3.198 GB, free: 307.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001542/6.862, allocations: 63.97 kB / 3.198 GB, free: 307.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005436/6.867, allocations: 0.554 MB / 3.198 GB, free: 307.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000405/6.868, allocations: 80.66 kB / 3.198 GB, free: 307 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000589/6.868, allocations: 135.9 kB / 3.199 GB, free: 306.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00748/6.876, allocations: 3.166 MB / 3.202 GB, free: 303.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.002e-06/6.876, allocations: 0 / 3.202 GB, free: 303.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007473/6.883, allocations: 1.148 MB / 3.203 GB, free: 302.5 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: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[1],wetCoi.cooCap.checkBoundsTEva[2],wetCoi.cooCap.checkBoundsTEva[3],wetCoi.cooCap.checkBoundsTEva[4],wetCoi.cooCap.checkBoundsTCon[1],wetCoi.cooCap.checkBoundsTCon[2],wetCoi.cooCap.checkBoundsTCon[3],wetCoi.cooCap.checkBoundsTCon[4],wetCoi.shr.on,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,wetCoi.cooCap.stage,wetCoi.cooCap.checkBoundsTEva[wetCoi.cooCap.stage],wetCoi.cooCap.checkBoundsTCon[wetCoi.cooCap.stage]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 61 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003248/6.887, allocations: 1.158 MB / 3.204 GB, free: 301.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01283/6.9, allocations: 8.053 MB / 3.212 GB, free: 293.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/6.9, allocations: 0 / 3.212 GB, free: 293.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003271/6.903, allocations: 1.977 MB / 3.214 GB, free: 291.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004468/6.907, allocations: 0.6192 MB / 3.214 GB, free: 290.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/6.923, allocations: 5.932 MB / 3.22 GB, free: 284.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002549/6.926, allocations: 2.13 MB / 3.222 GB, free: 282.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.01012/6.936, allocations: 2.872 MB / 3.225 GB, free: 279.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/6.937, allocations: 187.2 kB / 3.225 GB, free: 279.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.072e-06/6.937, allocations: 0 / 3.225 GB, free: 279.5 MB / 1.151 GB Notification: Performance of Templates: time 0.1133/7.051, allocations: 80.34 MB / 3.304 GB, free: 199.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches