Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.45/1.45, allocations: 249.5 MB / 257 MB, free: 6.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001131, allocations: 176.8 kB / 316.3 MB, free: 3.305 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008595/0.0008594, allocations: 96.3 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.506e-05/2.509e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2797, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.184/6.464, allocations: 2.183 GB / 3.068 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/6.464, allocations: 97.91 kB / 3.068 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1318/6.596, allocations: 65.72 MB / 3.132 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.445e-06/6.596, allocations: 0 / 3.132 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.711e-05/6.596, allocations: 12 kB / 3.132 GB, free: 158.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002/6.598, allocations: 0.889 MB / 3.133 GB, free: 158 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/6.598, allocations: 12.03 kB / 3.133 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/6.6, allocations: 255.1 kB / 3.134 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005396/6.601, allocations: 395.2 kB / 3.134 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.041e-05/6.601, allocations: 75.77 kB / 3.134 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.693e-05/6.601, allocations: 24 kB / 3.134 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002909/6.601, allocations: 160.8 kB / 3.134 GB, free: 157 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/6.602, allocations: 303.4 kB / 3.135 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/6.602, allocations: 0 / 3.135 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/6.602, allocations: 0 / 3.135 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/6.602, allocations: 8 kB / 3.135 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003928/6.606, allocations: 1.681 MB / 3.136 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/6.606, allocations: 162.8 kB / 3.136 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/6.606, allocations: 113.5 kB / 3.136 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/6.606, allocations: 4 kB / 3.136 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003625/6.607, allocations: 252.7 kB / 3.137 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/6.607, allocations: 0 / 3.137 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.005027/6.612, allocations: 0.9498 MB / 3.138 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/6.612, allocations: 89.11 kB / 3.138 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/6.612, allocations: 349 kB / 3.138 GB, free: 153 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.972e-05/6.612, allocations: 33.7 kB / 3.138 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/6.612, allocations: 197.4 kB / 3.138 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/6.612, allocations: 94.7 kB / 3.138 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/6.612, allocations: 0 / 3.138 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.862e-05/6.613, allocations: 354.8 kB / 3.139 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/6.613, allocations: 197.5 kB / 3.139 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/6.613, allocations: 353.5 kB / 3.139 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/6.614, allocations: 214 kB / 3.139 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/6.614, allocations: 3.953 kB / 3.139 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.005855/6.62, allocations: 1.367 MB / 3.141 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.978e-05/6.62, allocations: 63.39 kB / 3.141 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/6.62, allocations: 4 kB / 3.141 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/6.621, allocations: 347.2 kB / 3.141 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/6.622, allocations: 103.8 kB / 3.141 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003939/6.625, allocations: 4.317 MB / 3.145 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009957/6.626, allocations: 95.38 kB / 3.146 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-05/6.627, allocations: 43.89 kB / 3.146 GB, free: 144.9 MB / 0.8698 GB Warning: Assuming fixed start value for the following 2 variables: evaNor.off:DISCRETE(fixed = false protected = true ) "Signal, true when component is off" type: Boolean evaSho.off:DISCRETE(fixed = false protected = true ) "Signal, true when component is off" type: Boolean Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: evaSho.dX:VARIABLE(min = -1.0 max = 0.0 unit = "1" protected = true ) "Difference in water vapor concentration that drives mass transfer" type: Real evaSho.mTotWat_flow:VARIABLE(unit = "kg/s" ) "Total moisture mass flow rate into the air stream" type: Real evaSho.XiSatRefOut:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at saturation, referenced to outlet mass flow rate" type: Real evaSho.XEvaWetBulOut:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at wet bulb conditions at air inlet" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: evaNor.dX:VARIABLE(min = -1.0 max = 0.0 unit = "1" protected = true ) "Difference in water vapor concentration that drives mass transfer" type: Real evaNor.XEvaWetBulOut:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at wet bulb conditions at air inlet" type: Real evaNor.XiSatRefOut:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at saturation, referenced to outlet mass flow rate" type: Real evaNor.mTotWat_flow:VARIABLE(unit = "kg/s" ) "Total moisture mass flow rate into the air stream" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition4,$whenCondition2,$PRE.evaNor.off,evaNor.off,$PRE.pulNor.T_start,pulNor.T_start,$PRE.pulNor.count,pulNor.count,$whenCondition3,$whenCondition1,$PRE.pulSho.T_start,pulSho.T_start,$PRE.pulSho.count,pulSho.count,$PRE.evaSho.off,evaSho.off,intNor.local_reset,intSho.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {7,7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000332/6.627, allocations: 154.2 kB / 3.146 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.026e-05/6.627, allocations: 47.44 kB / 3.146 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.615e-05/6.627, allocations: 39.53 kB / 3.146 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/6.627, allocations: 4 kB / 3.146 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/6.627, allocations: 0 / 3.146 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/6.627, allocations: 3.984 kB / 3.146 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004447/6.628, allocations: 429.7 kB / 3.146 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/6.628, allocations: 3.953 kB / 3.146 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/6.628, allocations: 35.91 kB / 3.146 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002831/6.628, allocations: 198 kB / 3.146 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/6.628, allocations: 7.984 kB / 3.146 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/6.629, allocations: 1.484 MB / 3.148 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/6.629, allocations: 0 / 3.148 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004787/6.634, allocations: 1.135 MB / 3.149 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/6.634, allocations: 160.5 kB / 3.149 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.623e-05/6.634, allocations: 4 kB / 3.149 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/6.635, allocations: 43.95 kB / 3.149 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/6.635, allocations: 51.81 kB / 3.149 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/6.635, allocations: 11.98 kB / 3.149 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002341/6.635, allocations: 259 kB / 3.15 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.635, allocations: 4 kB / 3.15 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008287/6.636, allocations: 179.9 kB / 3.15 GB, free: 140.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (evaSho.m,intSho.y,evaNor.m,intNor.y) * Number of discrete variables: 10 ($whenCondition3,$whenCondition1,pulSho.T_start,pulSho.count,evaSho.off,$whenCondition4,$whenCondition2,evaNor.off,pulNor.T_start,pulNor.count) * Number of discrete states: 4 (pulNor.count,evaNor.off,pulSho.count,evaSho.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {7,7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/6.637, allocations: 0.8313 MB / 3.151 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002156/6.639, allocations: 0.8944 MB / 3.151 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/6.639, allocations: 0 / 3.151 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/6.64, allocations: 269.5 kB / 3.152 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/6.641, allocations: 94.22 kB / 3.152 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009958/6.642, allocations: 0.5977 MB / 3.152 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/6.642, allocations: 0.8191 MB / 3.153 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002722/6.642, allocations: 63.19 kB / 3.153 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/6.643, allocations: 35.42 kB / 3.153 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of SimCode: time 2.8e-07/6.643, allocations: 0 / 3.153 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.01851/6.661, allocations: 14.02 MB / 3.167 GB, free: 122.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches