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.305/2.305, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001156/0.001157, allocations: 173 kB / 498.1 MB, free: 5.707 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.698/1.698, allocations: 223.2 MB / 0.7948 GB, free: 18.77 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.001055/0.001054, allocations: 92.34 kB / 0.9346 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004244/0.0004247, allocations: 11.66 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3152, allocations: 142.3 MB / 1.223 GB, free: 89.56 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.335/4.65, allocations: 1.722 GB / 2.945 GB, free: 262.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/4.651, allocations: 96.5 kB / 2.945 GB, free: 262.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.09928/4.75, allocations: 50.1 MB / 2.994 GB, free: 212 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.074e-06/4.75, allocations: 0 / 2.994 GB, free: 212 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.938e-05/4.75, allocations: 7.938 kB / 2.994 GB, free: 211.9 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001615/4.752, allocations: 0.7032 MB / 2.995 GB, free: 211.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/4.752, allocations: 8.031 kB / 2.995 GB, free: 211.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/4.753, allocations: 155.5 kB / 2.995 GB, free: 211 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006117/4.754, allocations: 314.3 kB / 2.995 GB, free: 210.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.304e-05/4.754, allocations: 49.59 kB / 2.995 GB, free: 210.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.758e-05/4.754, allocations: 27.98 kB / 2.995 GB, free: 210.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/4.755, allocations: 221.5 kB / 2.996 GB, free: 210.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/4.755, allocations: 0 / 2.996 GB, free: 210.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/4.755, allocations: 8 kB / 2.996 GB, free: 210.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/4.755, allocations: 0 / 2.996 GB, free: 210.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/4.755, allocations: 128.1 kB / 2.996 GB, free: 210.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/4.757, allocations: 1.016 MB / 2.997 GB, free: 209.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007763/4.758, allocations: 174.4 kB / 2.997 GB, free: 209 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/4.758, allocations: 4 kB / 2.997 GB, free: 209 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003294/4.759, allocations: 200.9 kB / 2.997 GB, free: 208.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=19): time 1.833e-06/4.759, allocations: 4 kB / 2.997 GB, free: 208.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.004355/4.763, allocations: 1.008 MB / 2.998 GB, free: 207.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/4.763, allocations: 81.11 kB / 2.998 GB, free: 207.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/4.763, allocations: 303.5 kB / 2.998 GB, free: 207.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/4.763, allocations: 33.7 kB / 2.998 GB, free: 207.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 9.481e-05/4.764, allocations: 148.7 kB / 2.999 GB, free: 207.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/4.764, allocations: 71.02 kB / 2.999 GB, free: 207 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/4.764, allocations: 4 kB / 2.999 GB, free: 207 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.992e-05/4.764, allocations: 338.8 kB / 2.999 GB, free: 206.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003211/4.764, allocations: 144.5 kB / 2.999 GB, free: 206.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/4.764, allocations: 222.7 kB / 2.999 GB, free: 206.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/4.765, allocations: 187.1 kB / 2.999 GB, free: 206.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/4.765, allocations: 0 / 2.999 GB, free: 206.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003674/4.768, allocations: 0.896 MB / 3 GB, free: 205.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/4.769, allocations: 41.77 kB / 3 GB, free: 205.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/4.769, allocations: 0 / 3 GB, free: 205.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009113/4.769, allocations: 209.5 kB / 3.001 GB, free: 205 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/4.77, allocations: 43.92 kB / 3.001 GB, free: 204.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/4.772, allocations: 2.24 MB / 3.003 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005444/4.773, allocations: 47.66 kB / 3.003 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/4.773, allocations: 23.92 kB / 3.003 GB, free: 202.4 MB / 1.167 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean 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 () * Number of clocked 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.0002522/4.773, allocations: 197.2 kB / 3.003 GB, free: 202.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/4.773, allocations: 31.95 kB / 3.003 GB, free: 202.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/4.773, allocations: 27.17 kB / 3.003 GB, free: 202.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/4.773, allocations: 7.922 kB / 3.003 GB, free: 202.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/4.773, allocations: 0 / 3.003 GB, free: 202.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/4.773, allocations: 7.984 kB / 3.003 GB, free: 202.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/4.777, allocations: 1.081 MB / 3.004 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/4.777, allocations: 0 / 3.004 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/4.777, allocations: 4 kB / 3.004 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002926/4.777, allocations: 112.8 kB / 3.004 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/4.777, allocations: 15.95 kB / 3.004 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007798/4.778, allocations: 0.7498 MB / 3.005 GB, free: 200.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/4.778, allocations: 0 / 3.005 GB, free: 200.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003173/4.781, allocations: 0.9378 MB / 3.006 GB, free: 199.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/4.781, allocations: 132.7 kB / 3.006 GB, free: 199 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.559e-05/4.781, allocations: 11.98 kB / 3.006 GB, free: 199 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/4.782, allocations: 12 kB / 3.006 GB, free: 199 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/4.782, allocations: 16 kB / 3.006 GB, free: 199 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/4.782, allocations: 15.98 kB / 3.006 GB, free: 198.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000338/4.782, allocations: 239 kB / 3.006 GB, free: 198.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/4.782, allocations: 0 / 3.006 GB, free: 198.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.000764/4.783, allocations: 167.9 kB / 3.007 GB, free: 198.5 MB / 1.167 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) * Number of clocked states: 0 () * 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.001062/4.784, allocations: 0.7034 MB / 3.007 GB, free: 197.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00155/4.785, allocations: 0.5694 MB / 3.008 GB, free: 197.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/4.785, allocations: 0 / 3.008 GB, free: 197.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007223/4.786, allocations: 248.2 kB / 3.008 GB, free: 197 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/4.787, allocations: 58.5 kB / 3.008 GB, free: 196.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/4.788, allocations: 0.7081 MB / 3.009 GB, free: 196.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/4.788, allocations: 0.7638 MB / 3.01 GB, free: 195.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001872/4.788, allocations: 26.3 kB / 3.01 GB, free: 195.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.229e-05/4.788, allocations: 27.42 kB / 3.01 GB, free: 195.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.9e-07/4.788, allocations: 0 / 3.01 GB, free: 195.3 MB / 1.167 GB Notification: Performance of Templates: time 0.01903/4.807, allocations: 14.51 MB / 3.024 GB, free: 180.9 MB / 1.167 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