Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.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.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_latest_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_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.309/2.309, allocations: 393.5 MB / 408.4 MB, free: 10.93 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.001144/0.001145, allocations: 198.6 kB / 0.4902 GB, free: 2.094 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.533/1.533, allocations: 223.2 MB / 0.7992 GB, free: 14.64 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.0009633/0.0009635, allocations: 99.19 kB / 0.9396 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003952, allocations: 10.47 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3093, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.055/4.365, allocations: 1.74 GB / 2.969 GB, free: 246.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/4.365, allocations: 109.6 kB / 2.969 GB, free: 246.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3151/4.68, allocations: 156.6 MB / 3.122 GB, free: 88.18 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.164e-06/4.68, allocations: 0 / 3.122 GB, free: 88.18 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003299/4.681, allocations: 36.16 kB / 3.122 GB, free: 88.14 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.009287/4.69, allocations: 3.06 MB / 3.125 GB, free: 85 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/4.69, allocations: 12.52 kB / 3.125 GB, free: 84.99 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02368/4.714, allocations: 2.935 MB / 3.128 GB, free: 82.05 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007521/4.721, allocations: 2.863 MB / 3.131 GB, free: 79.13 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005153/4.722, allocations: 202.2 kB / 3.131 GB, free: 78.91 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004898/4.722, allocations: 60.28 kB / 3.131 GB, free: 78.86 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009741/4.732, allocations: 3.566 MB / 3.134 GB, free: 75.27 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/4.732, allocations: 0 / 3.134 GB, free: 75.27 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002338/4.732, allocations: 24 kB / 3.134 GB, free: 75.25 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/4.732, allocations: 16 kB / 3.134 GB, free: 75.23 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01588/4.748, allocations: 5.441 MB / 3.14 GB, free: 69.79 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0209/4.769, allocations: 8.814 MB / 3.148 GB, free: 60.88 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01973/4.789, allocations: 5.779 MB / 3.154 GB, free: 55.09 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/4.789, allocations: 28.53 kB / 3.154 GB, free: 55.07 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008387/4.798, allocations: 3.292 MB / 3.157 GB, free: 51.76 MB / 1.167 GB Notification: Performance of pre-optimization done (n=79): time 4.338e-06/4.798, allocations: 0 / 3.157 GB, free: 51.76 MB / 1.167 GB Notification: Performance of matching and sorting (n=79): time 0.04783/4.845, allocations: 9.663 MB / 3.167 GB, free: 42.01 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/4.846, allocations: 97.75 kB / 3.167 GB, free: 41.89 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006619/4.852, allocations: 4.19 MB / 3.171 GB, free: 37.69 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008583/4.853, allocations: 61.62 kB / 3.171 GB, free: 37.62 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009478/4.854, allocations: 1.002 MB / 3.172 GB, free: 36.61 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004182/4.854, allocations: 240.6 kB / 3.172 GB, free: 36.38 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/4.855, allocations: 24 kB / 3.172 GB, free: 36.35 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.709e-05/4.855, allocations: 345.9 kB / 3.172 GB, free: 36.01 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007869/4.863, allocations: 3.067 MB / 3.175 GB, free: 32.94 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008188/4.871, allocations: 3.109 MB / 3.178 GB, free: 29.81 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007741/4.879, allocations: 2.638 MB / 3.181 GB, free: 27.16 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.588e-05/4.879, allocations: 7.938 kB / 3.181 GB, free: 27.16 MB / 1.167 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.03709/4.916, allocations: 7.809 MB / 3.189 GB, free: 19.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002234/4.916, allocations: 389 kB / 3.189 GB, free: 18.88 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/4.916, allocations: 4.062 kB / 3.189 GB, free: 18.88 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004307/4.92, allocations: 1.039 MB / 3.19 GB, free: 17.82 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004391/4.925, allocations: 0.6514 MB / 3.191 GB, free: 17.17 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004576/4.929, allocations: 4.892 MB / 3.195 GB, free: 12.01 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006108/4.935, allocations: 0.5807 MB / 3.196 GB, free: 11.43 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000832/4.936, allocations: 155.9 kB / 3.196 GB, free: 11.27 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/4.936, allocations: 4 kB / 3.196 GB, free: 11.27 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03465/4.971, allocations: 7.552 MB / 3.203 GB, free: 3.68 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/4.971, allocations: 3.984 kB / 3.204 GB, free: 3.676 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00343/4.975, allocations: 0.9221 MB / 3.204 GB, free: 2.734 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00463/4.979, allocations: 0.6553 MB / 3.205 GB, free: 2.078 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6412/5.62, allocations: 8.643 MB / 3.213 GB, free: 361.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005883/5.626, allocations: 0.5632 MB / 3.214 GB, free: 361.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005569/5.627, allocations: 148.4 kB / 3.214 GB, free: 361.8 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.002697/5.63, allocations: 1.177 MB / 3.215 GB, free: 361.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008075/5.63, allocations: 255.7 kB / 3.216 GB, free: 361.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03913/5.67, allocations: 6.872 MB / 3.222 GB, free: 361.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.538e-05/5.67, allocations: 7.375 kB / 3.222 GB, free: 361.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/5.67, allocations: 0 / 3.222 GB, free: 361.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.573e-05/5.67, allocations: 5.594 kB / 3.222 GB, free: 361.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009697/5.679, allocations: 3.594 MB / 3.226 GB, free: 361.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/5.68, allocations: 0.9688 kB / 3.226 GB, free: 361.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004992/5.685, allocations: 0.6146 MB / 3.226 GB, free: 361.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/5.686, allocations: 247.6 kB / 3.227 GB, free: 361.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005981/5.687, allocations: 76.23 kB / 3.227 GB, free: 361.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00328/5.69, allocations: 2.202 MB / 3.229 GB, free: 359.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/5.69, allocations: 6.109 kB / 3.229 GB, free: 359.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03897/5.729, allocations: 6.511 MB / 3.235 GB, free: 359.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004514/5.733, allocations: 1.119 MB / 3.236 GB, free: 358.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001513/5.735, allocations: 69.19 kB / 3.236 GB, free: 358.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006038/5.741, allocations: 0.547 MB / 3.237 GB, free: 358.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003559/5.741, allocations: 83.78 kB / 3.237 GB, free: 358.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004447/5.742, allocations: 146.6 kB / 3.237 GB, free: 358.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00645/5.748, allocations: 3.215 MB / 3.24 GB, free: 358.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.41e-07/5.748, allocations: 0 / 3.24 GB, free: 358.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004836/5.753, allocations: 1.138 MB / 3.241 GB, free: 358.7 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.002247/5.756, allocations: 1.15 MB / 3.243 GB, free: 358.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.03018/5.786, allocations: 10.75 MB / 3.253 GB, free: 357.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/5.786, allocations: 0 / 3.253 GB, free: 357.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.008443/5.794, allocations: 2.898 MB / 3.256 GB, free: 357.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00336/5.798, allocations: 0.6328 MB / 3.256 GB, free: 357.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/5.816, allocations: 7.947 MB / 3.264 GB, free: 355.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/5.818, allocations: 2.134 MB / 3.266 GB, free: 355 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005257/5.823, allocations: 1.425 MB / 3.268 GB, free: 354.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/5.824, allocations: 232.6 kB / 3.268 GB, free: 354.9 MB / 1.167 GB Notification: Performance of SimCode: time 9.52e-07/5.824, allocations: 3.938 kB / 3.268 GB, free: 354.9 MB / 1.167 GB Notification: Performance of Templates: time 0.09827/5.923, allocations: 74.33 MB / 3.341 GB, free: 316.4 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_WetCoil.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches