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.448/2.448, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001126/0.001126, allocations: 173.1 kB / 498.1 MB, free: 5.684 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.629/1.629, allocations: 223.2 MB / 0.7948 GB, free: 18.87 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.0008692/0.0008692, allocations: 92.31 kB / 0.9346 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003652, allocations: 11.25 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2858, allocations: 142.3 MB / 1.223 GB, free: 89.57 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.171/4.456, allocations: 1.739 GB / 2.962 GB, free: 208.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/4.457, allocations: 112 kB / 2.962 GB, free: 208.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3013/4.758, allocations: 156.6 MB / 3.115 GB, free: 67.82 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.403e-06/4.758, allocations: 0 / 3.115 GB, free: 67.82 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003001/4.758, allocations: 36 kB / 3.115 GB, free: 67.79 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.008992/4.767, allocations: 3.068 MB / 3.118 GB, free: 64.64 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/4.767, allocations: 8.031 kB / 3.118 GB, free: 64.63 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02287/4.79, allocations: 2.939 MB / 3.121 GB, free: 61.69 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007867/4.798, allocations: 2.866 MB / 3.123 GB, free: 58.76 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005152/4.799, allocations: 194.2 kB / 3.124 GB, free: 58.55 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006244/4.799, allocations: 60.34 kB / 3.124 GB, free: 58.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00972/4.809, allocations: 3.57 MB / 3.127 GB, free: 54.91 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/4.809, allocations: 0 / 3.127 GB, free: 54.91 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003955/4.81, allocations: 24 kB / 3.127 GB, free: 54.89 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/4.81, allocations: 12 kB / 3.127 GB, free: 54.88 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/4.825, allocations: 5.441 MB / 3.132 GB, free: 49.43 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02119/4.846, allocations: 8.814 MB / 3.141 GB, free: 40.54 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01975/4.866, allocations: 5.781 MB / 3.147 GB, free: 34.74 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000174/4.866, allocations: 28.53 kB / 3.147 GB, free: 34.71 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008865/4.875, allocations: 3.292 MB / 3.15 GB, free: 31.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=79): time 3.817e-06/4.875, allocations: 0 / 3.15 GB, free: 31.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=79): time 0.04773/4.923, allocations: 9.667 MB / 3.159 GB, free: 21.65 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.2e-05/4.923, allocations: 93.77 kB / 3.16 GB, free: 21.54 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007844/4.931, allocations: 4.194 MB / 3.164 GB, free: 17.34 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008486/4.931, allocations: 61.69 kB / 3.164 GB, free: 17.27 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00136/4.933, allocations: 1.002 MB / 3.165 GB, free: 16.26 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006724/4.933, allocations: 240.6 kB / 3.165 GB, free: 16.02 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004802/4.934, allocations: 20 kB / 3.165 GB, free: 16 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001165/4.934, allocations: 345.9 kB / 3.165 GB, free: 15.66 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007823/4.942, allocations: 3.071 MB / 3.168 GB, free: 12.58 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007683/4.95, allocations: 3.109 MB / 3.171 GB, free: 9.457 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007278/4.957, allocations: 2.642 MB / 3.174 GB, free: 6.805 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/4.957, allocations: 4 kB / 3.174 GB, free: 6.801 MB / 1.167 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.6817/5.639, allocations: 7.798 MB / 3.181 GB, free: 367.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000256/5.639, allocations: 391.1 kB / 3.182 GB, free: 367.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/5.639, allocations: 4.719 kB / 3.182 GB, free: 367.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004653/5.644, allocations: 1.038 MB / 3.183 GB, free: 367.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004745/5.648, allocations: 0.6525 MB / 3.183 GB, free: 367.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00529/5.654, allocations: 4.89 MB / 3.188 GB, free: 363.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006162/5.66, allocations: 0.5857 MB / 3.189 GB, free: 363.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008808/5.661, allocations: 153.7 kB / 3.189 GB, free: 363.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/5.661, allocations: 7.641 kB / 3.189 GB, free: 363.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03807/5.699, allocations: 7.546 MB / 3.196 GB, free: 363.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/5.699, allocations: 1.375 kB / 3.196 GB, free: 363.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003695/5.703, allocations: 0.9222 MB / 3.197 GB, free: 363.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004616/5.707, allocations: 0.6486 MB / 3.198 GB, free: 363.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007651/5.715, allocations: 8.654 MB / 3.206 GB, free: 356.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006028/5.721, allocations: 0.5676 MB / 3.207 GB, free: 356.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008649/5.722, allocations: 154.2 kB / 3.207 GB, free: 356.3 MB / 1.167 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 () * Number of clocked 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.003159/5.725, allocations: 1.168 MB / 3.208 GB, free: 356.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/5.726, allocations: 258.9 kB / 3.208 GB, free: 356 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03658/5.763, allocations: 6.872 MB / 3.215 GB, free: 355.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/5.763, allocations: 7.094 kB / 3.215 GB, free: 355.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/5.763, allocations: 9.562 kB / 3.215 GB, free: 355.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.735e-05/5.763, allocations: 3.609 kB / 3.215 GB, free: 355.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006199/5.769, allocations: 3.589 MB / 3.219 GB, free: 355.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/5.769, allocations: 0 / 3.219 GB, free: 355.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004336/5.774, allocations: 0.6123 MB / 3.219 GB, free: 355.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001152/5.775, allocations: 250.4 kB / 3.22 GB, free: 355.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005005/5.775, allocations: 71.33 kB / 3.22 GB, free: 355.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/5.778, allocations: 2.207 MB / 3.222 GB, free: 353.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/5.778, allocations: 0 / 3.222 GB, free: 353.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03557/5.814, allocations: 6.51 MB / 3.228 GB, free: 353.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003543/5.817, allocations: 1.126 MB / 3.229 GB, free: 353.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001847/5.819, allocations: 61.38 kB / 3.229 GB, free: 353.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006289/5.825, allocations: 0.5544 MB / 3.23 GB, free: 353.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004428/5.826, allocations: 83.23 kB / 3.23 GB, free: 353.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004703/5.826, allocations: 143.6 kB / 3.23 GB, free: 353.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.008022/5.834, allocations: 3.211 MB / 3.233 GB, free: 353.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 9.82e-07/5.834, allocations: 0 / 3.233 GB, free: 353.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007632/5.842, allocations: 1.143 MB / 3.234 GB, free: 353.1 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: 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]) * Number of clocked states: 0 () * 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.00304/5.845, allocations: 1.158 MB / 3.235 GB, free: 352.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.02903/5.874, allocations: 10.75 MB / 3.246 GB, free: 351.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/5.874, allocations: 0 / 3.246 GB, free: 351.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.008818/5.883, allocations: 2.906 MB / 3.249 GB, free: 351.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003512/5.887, allocations: 0.6258 MB / 3.249 GB, free: 351.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02086/5.908, allocations: 7.958 MB / 3.257 GB, free: 349.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001657/5.909, allocations: 2.127 MB / 3.259 GB, free: 348.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005748/5.915, allocations: 1.424 MB / 3.261 GB, free: 348.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/5.916, allocations: 234.2 kB / 3.261 GB, free: 348.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.423e-06/5.916, allocations: 0 / 3.261 GB, free: 348.7 MB / 1.167 GB Notification: Performance of Templates: time 0.1063/6.023, allocations: 74.33 MB / 3.333 GB, free: 301.5 MB / 1.167 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