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.186/2.186, 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.001018/0.001018, allocations: 192.8 kB / 487.4 MB, free: 5.039 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.572/1.572, allocations: 221.5 MB / 0.7824 GB, free: 0.957 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.000931/0.0009312, allocations: 95.95 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.678e-05/1.702e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2725, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.327/4.6, allocations: 1.738 GB / 2.944 GB, free: 145.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/4.6, allocations: 106.8 kB / 2.944 GB, free: 145.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.262/4.862, allocations: 140.1 MB / 3.081 GB, free: 4.297 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.482e-06/4.862, allocations: 0 / 3.081 GB, free: 4.297 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001137/4.862, allocations: 32.22 kB / 3.081 GB, free: 4.266 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.00404/4.866, allocations: 2.218 MB / 3.083 GB, free: 1.98 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/4.866, allocations: 12.03 kB / 3.083 GB, free: 1.969 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7378/5.604, allocations: 2.923 MB / 3.086 GB, free: 367.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00772/5.612, allocations: 2.828 MB / 3.089 GB, free: 366.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000358/5.612, allocations: 172 kB / 3.089 GB, free: 366.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003519/5.613, allocations: 36.08 kB / 3.089 GB, free: 366.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00589/5.619, allocations: 3.556 MB / 3.092 GB, free: 366.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004278/5.623, allocations: 2.572 MB / 3.095 GB, free: 366.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/5.623, allocations: 0 / 3.095 GB, free: 366.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002156/5.623, allocations: 3.656 kB / 3.095 GB, free: 366.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/5.623, allocations: 15.03 kB / 3.095 GB, free: 366.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0258/5.649, allocations: 8.7 MB / 3.104 GB, free: 366.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01244/5.662, allocations: 3.976 MB / 3.107 GB, free: 366.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002841/5.664, allocations: 1.601 MB / 3.109 GB, free: 366.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/5.665, allocations: 27.3 kB / 3.109 GB, free: 366.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00445/5.669, allocations: 2.338 MB / 3.111 GB, free: 366 MB / 1.151 GB Notification: Performance of pre-optimization done (n=79): time 4.689e-06/5.669, allocations: 0 / 3.111 GB, free: 366 MB / 1.151 GB Notification: Performance of matching and sorting (n=79): time 0.02742/5.697, allocations: 5.146 MB / 3.116 GB, free: 365.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/5.697, allocations: 94.23 kB / 3.116 GB, free: 365.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01078/5.708, allocations: 3.992 MB / 3.12 GB, free: 365.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001051/5.709, allocations: 48.47 kB / 3.12 GB, free: 365.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001892/5.711, allocations: 0.9816 MB / 3.121 GB, free: 365.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000954/5.712, allocations: 231.1 kB / 3.122 GB, free: 365.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002897/5.712, allocations: 1 kB / 3.122 GB, free: 365.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001435/5.712, allocations: 347.3 kB / 3.122 GB, free: 364.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003263/5.715, allocations: 2.134 MB / 3.124 GB, free: 363.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003031/5.718, allocations: 2.164 MB / 3.126 GB, free: 363 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02632/5.745, allocations: 11.37 MB / 3.137 GB, free: 361.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.081e-05/5.745, allocations: 3.938 kB / 3.137 GB, free: 361.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.04646/5.791, allocations: 15.54 MB / 3.152 GB, free: 359.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002893/5.792, allocations: 390.8 kB / 3.153 GB, free: 359.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/5.792, allocations: 2.406 kB / 3.153 GB, free: 359.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003768/5.795, allocations: 0.9565 MB / 3.154 GB, free: 359.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004481/5.8, allocations: 0.6481 MB / 3.154 GB, free: 359.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/5.804, allocations: 4.84 MB / 3.159 GB, free: 355 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005937/5.81, allocations: 0.566 MB / 3.16 GB, free: 354.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009467/5.811, allocations: 150 kB / 3.16 GB, free: 354.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/5.811, allocations: 3.844 kB / 3.16 GB, free: 354.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04686/5.858, allocations: 15.21 MB / 3.175 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/5.858, allocations: 0 / 3.175 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003351/5.861, allocations: 0.8699 MB / 3.175 GB, free: 352.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004705/5.866, allocations: 0.6527 MB / 3.176 GB, free: 352.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008522/5.875, allocations: 8.219 MB / 3.184 GB, free: 345.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00654/5.881, allocations: 0.5543 MB / 3.185 GB, free: 345.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/5.882, allocations: 153.8 kB / 3.185 GB, free: 345.2 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.00158/5.884, allocations: 176.2 kB / 3.185 GB, free: 345 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001653/5.886, allocations: 255.6 kB / 3.185 GB, free: 344.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02441/5.91, allocations: 5.223 MB / 3.19 GB, free: 343.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.31e-05/5.91, allocations: 6.969 kB / 3.19 GB, free: 343.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/5.91, allocations: 3.062 kB / 3.19 GB, free: 343.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.999e-05/5.91, allocations: 3.562 kB / 3.19 GB, free: 343.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008331/5.919, allocations: 3.5 MB / 3.194 GB, free: 341.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/5.919, allocations: 0 / 3.194 GB, free: 341.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004217/5.923, allocations: 0.6188 MB / 3.194 GB, free: 341.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008755/5.924, allocations: 205.4 kB / 3.194 GB, free: 341.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005791/5.924, allocations: 67.88 kB / 3.195 GB, free: 341 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/5.926, allocations: 2.087 MB / 3.197 GB, free: 338.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/5.926, allocations: 0 / 3.197 GB, free: 338.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02309/5.949, allocations: 4.866 MB / 3.201 GB, free: 333.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003371/5.953, allocations: 1.118 MB / 3.202 GB, free: 332.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001526/5.954, allocations: 55.92 kB / 3.202 GB, free: 332.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005485/5.96, allocations: 0.5442 MB / 3.203 GB, free: 332.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004248/5.96, allocations: 76.66 kB / 3.203 GB, free: 332.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005993/5.961, allocations: 147.8 kB / 3.203 GB, free: 332 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00583/5.967, allocations: 3.017 MB / 3.206 GB, free: 328.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.2e-07/5.967, allocations: 0 / 3.206 GB, free: 328.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006092/5.973, allocations: 1.083 MB / 3.207 GB, free: 327.9 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.00283/5.976, allocations: 1.258 MB / 3.208 GB, free: 326.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01085/5.987, allocations: 7.947 MB / 3.216 GB, free: 318.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/5.987, allocations: 4 kB / 3.216 GB, free: 318.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002386/5.989, allocations: 1.945 MB / 3.218 GB, free: 316.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/5.992, allocations: 0.6158 MB / 3.219 GB, free: 316.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/6.006, allocations: 5.875 MB / 3.224 GB, free: 310.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001998/6.008, allocations: 2.141 MB / 3.227 GB, free: 308.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.009085/6.017, allocations: 2.867 MB / 3.229 GB, free: 305.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/6.018, allocations: 191.2 kB / 3.23 GB, free: 305.2 MB / 1.151 GB Notification: Performance of SimCode: time 8.82e-07/6.018, allocations: 0 / 3.23 GB, free: 305.2 MB / 1.151 GB Notification: Performance of Templates: time 0.08573/6.104, allocations: 63.65 MB / 3.292 GB, free: 242.4 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