Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.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.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.279/2.279, 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.001076/0.001076, allocations: 180.7 kB / 487.4 MB, free: 5.047 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.512/1.512, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 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.0009736/0.0009734, allocations: 91.91 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.876e-05/1.878e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2881, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.987/4.275, allocations: 1.722 GB / 2.927 GB, free: 163.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/4.275, allocations: 95.94 kB / 2.928 GB, free: 163.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.09443/4.369, allocations: 49.28 MB / 2.976 GB, free: 113.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.643e-06/4.369, allocations: 0 / 2.976 GB, free: 113.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.645e-05/4.369, allocations: 8 kB / 2.976 GB, free: 113.7 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001067/4.371, allocations: 0.6442 MB / 2.976 GB, free: 113 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/4.371, allocations: 8.031 kB / 2.976 GB, free: 113 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/4.372, allocations: 151.5 kB / 2.976 GB, free: 112.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/4.372, allocations: 306.4 kB / 2.977 GB, free: 112.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.854e-05/4.372, allocations: 37.7 kB / 2.977 GB, free: 112.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.01e-05/4.372, allocations: 16 kB / 2.977 GB, free: 112.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001788/4.373, allocations: 112.3 kB / 2.977 GB, free: 112.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/4.373, allocations: 197.5 kB / 2.977 GB, free: 112.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/4.373, allocations: 0 / 2.977 GB, free: 112.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/4.373, allocations: 4.203 kB / 2.977 GB, free: 112.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/4.373, allocations: 4 kB / 2.977 GB, free: 112.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/4.375, allocations: 0.9695 MB / 2.978 GB, free: 111.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00062/4.376, allocations: 154.5 kB / 2.978 GB, free: 111 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/4.376, allocations: 92.83 kB / 2.978 GB, free: 110.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/4.376, allocations: 0 / 2.978 GB, free: 110.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/4.376, allocations: 202.2 kB / 2.979 GB, free: 110.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 1.283e-06/4.376, allocations: 0 / 2.979 GB, free: 110.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.002804/4.379, allocations: 0.6118 MB / 2.979 GB, free: 110 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/4.379, allocations: 81.11 kB / 2.979 GB, free: 109.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/4.379, allocations: 261.1 kB / 2.979 GB, free: 109.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/4.379, allocations: 25.7 kB / 2.979 GB, free: 109.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/4.379, allocations: 152.5 kB / 2.98 GB, free: 109.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/4.379, allocations: 59.19 kB / 2.98 GB, free: 109.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/4.379, allocations: 8 kB / 2.98 GB, free: 109.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.103e-05/4.379, allocations: 338.8 kB / 2.98 GB, free: 109.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/4.38, allocations: 128.5 kB / 2.98 GB, free: 108.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/4.38, allocations: 205.1 kB / 2.98 GB, free: 108.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/4.38, allocations: 137.3 kB / 2.98 GB, free: 108.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/4.38, allocations: 3.938 kB / 2.98 GB, free: 108.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003097/4.383, allocations: 0.7972 MB / 2.981 GB, free: 107.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/4.383, allocations: 33.7 kB / 2.981 GB, free: 107.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/4.383, allocations: 4 kB / 2.981 GB, free: 107.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007033/4.384, allocations: 181.7 kB / 2.981 GB, free: 107.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/4.384, allocations: 39.92 kB / 2.981 GB, free: 107.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/4.386, allocations: 2.169 MB / 2.984 GB, free: 105.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004654/4.387, allocations: 35.67 kB / 2.984 GB, free: 105.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/4.387, allocations: 19.98 kB / 2.984 GB, free: 105.2 MB / 1.151 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.0002076/4.387, allocations: 171 kB / 2.984 GB, free: 105 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/4.387, allocations: 27.62 kB / 2.984 GB, free: 104.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/4.387, allocations: 22.11 kB / 2.984 GB, free: 104.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/4.387, allocations: 3.984 kB / 2.984 GB, free: 104.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/4.387, allocations: 3.953 kB / 2.984 GB, free: 104.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/4.387, allocations: 4 kB / 2.984 GB, free: 104.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/4.39, allocations: 0.9728 MB / 2.985 GB, free: 103.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/4.39, allocations: 0 / 2.985 GB, free: 103.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/4.39, allocations: 11.98 kB / 2.985 GB, free: 103.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001502/4.39, allocations: 88.81 kB / 2.985 GB, free: 103.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/4.39, allocations: 11.98 kB / 2.985 GB, free: 103.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005761/4.391, allocations: 0.7381 MB / 2.986 GB, free: 103 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/4.391, allocations: 3.953 kB / 2.986 GB, free: 103 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/4.393, allocations: 0.8358 MB / 2.986 GB, free: 102.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/4.394, allocations: 148.6 kB / 2.987 GB, free: 102 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/4.394, allocations: 4 kB / 2.987 GB, free: 102 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/4.394, allocations: 8 kB / 2.987 GB, free: 102 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/4.394, allocations: 20.03 kB / 2.987 GB, free: 102 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/4.394, allocations: 8 kB / 2.987 GB, free: 102 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001628/4.394, allocations: 204.6 kB / 2.987 GB, free: 101.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.91e-07/4.394, allocations: 3.938 kB / 2.987 GB, free: 101.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006417/4.395, allocations: 147.9 kB / 2.987 GB, free: 101.6 MB / 1.151 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.0007981/4.396, allocations: 0.8136 MB / 2.988 GB, free: 100.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00122/4.397, allocations: 0.5099 MB / 2.988 GB, free: 100.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/4.397, allocations: 0 / 2.988 GB, free: 100.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005851/4.397, allocations: 232.1 kB / 2.988 GB, free: 100 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/4.398, allocations: 44.72 kB / 2.989 GB, free: 99.98 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000787/4.399, allocations: 422.5 kB / 2.989 GB, free: 99.54 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/4.399, allocations: 0.768 MB / 2.99 GB, free: 98.75 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001535/4.399, allocations: 26.06 kB / 2.99 GB, free: 98.72 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/4.399, allocations: 27.42 kB / 2.99 GB, free: 98.7 MB / 1.151 GB Notification: Performance of SimCode: time 8.91e-07/4.399, allocations: 0 / 2.99 GB, free: 98.7 MB / 1.151 GB Notification: Performance of Templates: time 0.01278/4.412, allocations: 9.633 MB / 2.999 GB, free: 89.12 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches