Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.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.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.497/2.497, allocations: 390.5 MB / 398 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.001484/0.001483, allocations: 179.3 kB / 491.2 MB, free: 1.578 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.705/1.705, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001069/0.001069, allocations: 86.78 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.405e-05/2.407e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3254, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.652/4.977, allocations: 1.722 GB / 2.935 GB, free: 155.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/4.977, allocations: 95.94 kB / 2.935 GB, free: 155.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1022/5.08, allocations: 49.27 MB / 2.983 GB, free: 105.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.884e-06/5.08, allocations: 3.938 kB / 2.983 GB, free: 105.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.217e-05/5.08, allocations: 8 kB / 2.983 GB, free: 105.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.001369/5.081, allocations: 0.6443 MB / 2.983 GB, free: 105 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/5.081, allocations: 12.03 kB / 2.983 GB, free: 105 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/5.083, allocations: 155.7 kB / 2.984 GB, free: 104.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005343/5.083, allocations: 306.4 kB / 2.984 GB, free: 104.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.899e-05/5.083, allocations: 37.69 kB / 2.984 GB, free: 104.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.611e-05/5.083, allocations: 15.95 kB / 2.984 GB, free: 104.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002172/5.083, allocations: 107.9 kB / 2.984 GB, free: 104.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/5.084, allocations: 190.6 kB / 2.984 GB, free: 104.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/5.084, allocations: 4 kB / 2.984 GB, free: 104.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/5.084, allocations: 4 kB / 2.984 GB, free: 104.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/5.084, allocations: 0 / 2.984 GB, free: 104.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002289/5.086, allocations: 0.9702 MB / 2.985 GB, free: 103.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/5.087, allocations: 158.5 kB / 2.985 GB, free: 103 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/5.087, allocations: 88.84 kB / 2.985 GB, free: 102.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/5.087, allocations: 7.984 kB / 2.985 GB, free: 102.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/5.087, allocations: 193.9 kB / 2.986 GB, free: 102.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 2.876e-06/5.087, allocations: 0 / 2.986 GB, free: 102.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.002946/5.09, allocations: 0.6118 MB / 2.986 GB, free: 102 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/5.09, allocations: 81.11 kB / 2.986 GB, free: 101.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/5.091, allocations: 265.1 kB / 2.987 GB, free: 101.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/5.091, allocations: 33.69 kB / 2.987 GB, free: 101.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/5.091, allocations: 160.5 kB / 2.987 GB, free: 101.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/5.091, allocations: 55.2 kB / 2.987 GB, free: 101.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/5.091, allocations: 0 / 2.987 GB, free: 101.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.898e-05/5.091, allocations: 342.8 kB / 2.987 GB, free: 101.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/5.091, allocations: 124.6 kB / 2.987 GB, free: 100.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/5.091, allocations: 197.8 kB / 2.987 GB, free: 100.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/5.092, allocations: 141.3 kB / 2.988 GB, free: 100.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/5.092, allocations: 0 / 2.988 GB, free: 100.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003166/5.095, allocations: 0.7972 MB / 2.988 GB, free: 99.79 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/5.095, allocations: 42.78 kB / 2.988 GB, free: 99.75 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/5.095, allocations: 0 / 2.988 GB, free: 99.75 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007302/5.096, allocations: 177.7 kB / 2.989 GB, free: 99.57 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/5.096, allocations: 43.91 kB / 2.989 GB, free: 99.52 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/5.098, allocations: 2.16 MB / 2.991 GB, free: 97.22 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005041/5.098, allocations: 35.67 kB / 2.991 GB, free: 97.18 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.535e-05/5.099, allocations: 28.16 kB / 2.991 GB, free: 97.16 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.0003082/5.099, allocations: 159.7 kB / 2.991 GB, free: 97 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.53e-05/5.099, allocations: 27.72 kB / 2.991 GB, free: 96.97 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.25e-05/5.099, allocations: 26.09 kB / 2.991 GB, free: 96.94 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/5.099, allocations: 7.953 kB / 2.991 GB, free: 96.93 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/5.099, allocations: 0 / 2.991 GB, free: 96.93 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/5.099, allocations: 0 / 2.991 GB, free: 96.93 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00305/5.102, allocations: 0.9813 MB / 2.992 GB, free: 95.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/5.102, allocations: 0 / 2.992 GB, free: 95.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.853e-05/5.102, allocations: 4 kB / 2.992 GB, free: 95.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001696/5.102, allocations: 100.8 kB / 2.992 GB, free: 95.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/5.102, allocations: 7.984 kB / 2.992 GB, free: 95.79 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006474/5.103, allocations: 0.7497 MB / 2.993 GB, free: 95.02 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/5.103, allocations: 4 kB / 2.993 GB, free: 95.01 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002719/5.106, allocations: 0.838 MB / 2.994 GB, free: 94.15 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/5.106, allocations: 124.8 kB / 2.994 GB, free: 94.01 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.602e-05/5.106, allocations: 11.98 kB / 2.994 GB, free: 94 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/5.106, allocations: 16.05 kB / 2.994 GB, free: 93.98 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/5.106, allocations: 11.92 kB / 2.994 GB, free: 93.97 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/5.106, allocations: 15.98 kB / 2.994 GB, free: 93.95 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001836/5.107, allocations: 200.6 kB / 2.994 GB, free: 93.76 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.212e-06/5.107, allocations: 0 / 2.994 GB, free: 93.76 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000705/5.107, allocations: 163.7 kB / 2.994 GB, free: 93.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.001123/5.108, allocations: 0.8038 MB / 2.995 GB, free: 92.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001295/5.11, allocations: 0.5116 MB / 2.995 GB, free: 92.26 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/5.11, allocations: 4.062 kB / 2.995 GB, free: 92.26 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005903/5.11, allocations: 228.1 kB / 2.996 GB, free: 92.02 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/5.111, allocations: 48.75 kB / 2.996 GB, free: 91.97 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007749/5.112, allocations: 414.3 kB / 2.996 GB, free: 91.54 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/5.112, allocations: 0.768 MB / 2.997 GB, free: 90.75 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001717/5.112, allocations: 34 kB / 2.997 GB, free: 90.72 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/5.112, allocations: 23.42 kB / 2.997 GB, free: 90.7 MB / 1.151 GB Notification: Performance of SimCode: time 5.72e-07/5.112, allocations: 4 kB / 2.997 GB, free: 90.69 MB / 1.151 GB Notification: Performance of Templates: time 0.01459/5.127, allocations: 9.635 MB / 3.006 GB, free: 81.13 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches