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.EvaporationFlowReversal.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.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.445/1.445, allocations: 249.5 MB / 257 MB, free: 6.977 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.001177/0.001176, allocations: 187.2 kB / 316.3 MB, free: 3.223 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.892/1.892, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.001395/0.001394, allocations: 93.77 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.92e-05/1.924e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2734, allocations: 106.3 MB / 0.8852 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.265/6.539, allocations: 2.183 GB / 3.068 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/6.539, allocations: 91.19 kB / 3.068 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1451/6.684, allocations: 49.4 MB / 3.116 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.535e-06/6.684, allocations: 0 / 3.116 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.503e-05/6.684, allocations: 4 kB / 3.116 GB, free: 140.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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001686/6.686, allocations: 0.6555 MB / 3.117 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/6.686, allocations: 8.031 kB / 3.117 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002372/6.688, allocations: 151.5 kB / 3.117 GB, free: 140 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006766/6.689, allocations: 302.5 kB / 3.117 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.351e-05/6.689, allocations: 33.7 kB / 3.117 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.412e-05/6.689, allocations: 12 kB / 3.118 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000335/6.69, allocations: 119.9 kB / 3.118 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004466/6.69, allocations: 194 kB / 3.118 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/6.69, allocations: 0 / 3.118 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/6.69, allocations: 4 kB / 3.118 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/6.69, allocations: 4 kB / 3.118 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003748/6.694, allocations: 0.9701 MB / 3.119 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/6.695, allocations: 150.5 kB / 3.119 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/6.695, allocations: 92.83 kB / 3.119 GB, free: 138 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/6.695, allocations: 0 / 3.119 GB, free: 138 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003908/6.696, allocations: 187.2 kB / 3.119 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 3.326e-06/6.696, allocations: 0 / 3.119 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.005172/6.701, allocations: 0.6196 MB / 3.12 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/6.701, allocations: 81.11 kB / 3.12 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/6.702, allocations: 265 kB / 3.12 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.518e-05/6.702, allocations: 29.7 kB / 3.12 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/6.702, allocations: 160.5 kB / 3.12 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.25e-05/6.702, allocations: 55.25 kB / 3.12 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/6.702, allocations: 0 / 3.12 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001061/6.702, allocations: 338.8 kB / 3.121 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/6.703, allocations: 124.6 kB / 3.121 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/6.703, allocations: 201.1 kB / 3.121 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004985/6.704, allocations: 137.1 kB / 3.121 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/6.704, allocations: 3.953 kB / 3.121 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.005495/6.709, allocations: 0.7972 MB / 3.122 GB, free: 135 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.112e-05/6.709, allocations: 37.69 kB / 3.122 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/6.709, allocations: 96 / 3.122 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/6.71, allocations: 185.6 kB / 3.122 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/6.711, allocations: 39.97 kB / 3.122 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003085/6.714, allocations: 2.168 MB / 3.124 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000772/6.715, allocations: 35.67 kB / 3.124 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.012e-05/6.715, allocations: 31.91 kB / 3.124 GB, free: 132.3 MB / 0.8698 GB Warning: Assuming fixed start value for the following 1 variables: eva.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: eva.mTotWat_flow:VARIABLE(unit = "kg/s" ) "Total moisture mass flow rate into the air stream" type: Real eva.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 eva.dX:VARIABLE(min = -1.0 max = 0.0 unit = "1" protected = true ) "Difference in water vapor concentration that drives mass transfer" type: Real eva.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.eva.off,eva.off,$whenCondition1,mAir_flow.a,mAir_flow.b,mAir_flow.last,$PRE.mAir_flow.nextEvent,mAir_flow.nextEvent,mAir_flow.nextEventScaled,int.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002436/6.715, allocations: 153.7 kB / 3.124 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/6.715, allocations: 27.72 kB / 3.124 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.155e-05/6.715, allocations: 26.09 kB / 3.125 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/6.715, allocations: 4 kB / 3.125 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/6.715, allocations: 3.938 kB / 3.125 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/6.715, allocations: 3.953 kB / 3.125 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/6.718, allocations: 0.9693 MB / 3.125 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/6.718, allocations: 0 / 3.125 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-05/6.718, allocations: 8 kB / 3.125 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001668/6.718, allocations: 96.73 kB / 3.126 GB, free: 131 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/6.718, allocations: 4 kB / 3.126 GB, free: 131 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006212/6.719, allocations: 0.7497 MB / 3.126 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/6.719, allocations: 3.984 kB / 3.126 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/6.722, allocations: 0.8277 MB / 3.127 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/6.722, allocations: 140.7 kB / 3.127 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.979e-05/6.722, allocations: 4 kB / 3.127 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/6.722, allocations: 19.98 kB / 3.127 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/6.722, allocations: 11.98 kB / 3.127 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/6.722, allocations: 8 kB / 3.127 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001859/6.722, allocations: 208.6 kB / 3.127 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.722, allocations: 0 / 3.127 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007128/6.723, allocations: 147.8 kB / 3.128 GB, free: 128.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (eva.m,int.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,eva.off,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,mAir_flow.nextEventScaled) * Number of discrete states: 7 (eva.off,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.nextEventScaled,mAir_flow.b,mAir_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009493/6.724, allocations: 0.808 MB / 3.128 GB, free: 128 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001179/6.725, allocations: 0.5022 MB / 3.129 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/6.725, allocations: 0 / 3.129 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000579/6.726, allocations: 244 kB / 3.129 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/6.726, allocations: 48.69 kB / 3.129 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007543/6.727, allocations: 404.6 kB / 3.13 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/6.727, allocations: 0.768 MB / 3.13 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001562/6.727, allocations: 30.06 kB / 3.13 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.422e-05/6.727, allocations: 19.42 kB / 3.13 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of SimCode: time 3.41e-07/6.727, allocations: 0 / 3.13 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.01424/6.742, allocations: 9.628 MB / 3.14 GB, free: 116.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches