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.571/2.571, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001234/0.001234, allocations: 183.9 kB / 0.4902 GB, free: 2.254 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.652/1.652, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.0008787/0.0008785, allocations: 100 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005033, allocations: 15.16 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3978, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.222/4.62, allocations: 1.723 GB / 2.952 GB, free: 264.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/4.62, allocations: 96.64 kB / 2.952 GB, free: 264.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.104/4.724, allocations: 50.1 MB / 3.001 GB, free: 213.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.805e-06/4.724, allocations: 224 / 3.001 GB, free: 213.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.496e-05/4.724, allocations: 8 kB / 3.001 GB, free: 213.8 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.001496/4.726, allocations: 0.7032 MB / 3.002 GB, free: 213.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/4.726, allocations: 16.52 kB / 3.002 GB, free: 213.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/4.727, allocations: 151.5 kB / 3.002 GB, free: 212.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005083/4.728, allocations: 310.4 kB / 3.002 GB, free: 212.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.109e-05/4.728, allocations: 53.66 kB / 3.002 GB, free: 212.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/4.728, allocations: 16 kB / 3.002 GB, free: 212.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004193/4.728, allocations: 216.6 kB / 3.003 GB, free: 212.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/4.728, allocations: 3.938 kB / 3.003 GB, free: 212.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/4.728, allocations: 8 kB / 3.003 GB, free: 212.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/4.728, allocations: 4 kB / 3.003 GB, free: 212.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002674/4.729, allocations: 124.2 kB / 3.003 GB, free: 212.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/4.731, allocations: 1.024 MB / 3.004 GB, free: 211 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008153/4.732, allocations: 178.4 kB / 3.004 GB, free: 210.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/4.732, allocations: 8 kB / 3.004 GB, free: 210.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003657/4.732, allocations: 200.9 kB / 3.004 GB, free: 210.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=19): time 2.444e-06/4.733, allocations: 3.938 kB / 3.004 GB, free: 210.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.00463/4.737, allocations: 1.004 MB / 3.005 GB, free: 209.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/4.737, allocations: 81.11 kB / 3.005 GB, free: 209.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00038/4.738, allocations: 299.6 kB / 3.006 GB, free: 209.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.812e-05/4.738, allocations: 37.7 kB / 3.006 GB, free: 209.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 9.712e-05/4.738, allocations: 140.7 kB / 3.006 GB, free: 209 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.077e-05/4.738, allocations: 63.17 kB / 3.006 GB, free: 208.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/4.738, allocations: 4 kB / 3.006 GB, free: 208.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.649e-05/4.738, allocations: 338.8 kB / 3.006 GB, free: 208.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/4.738, allocations: 148.5 kB / 3.006 GB, free: 208.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/4.739, allocations: 229.4 kB / 3.006 GB, free: 208.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/4.739, allocations: 190.7 kB / 3.007 GB, free: 208 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/4.739, allocations: 0 / 3.007 GB, free: 208 MB / 1.167 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004075/4.743, allocations: 0.9008 MB / 3.007 GB, free: 207.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/4.743, allocations: 33.7 kB / 3.008 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/4.743, allocations: 0 / 3.008 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/4.744, allocations: 205.5 kB / 3.008 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/4.745, allocations: 39.91 kB / 3.008 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002694/4.747, allocations: 2.254 MB / 3.01 GB, free: 204.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005494/4.748, allocations: 47.66 kB / 3.01 GB, free: 204.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.266e-05/4.748, allocations: 23.98 kB / 3.01 GB, free: 204.3 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.0002455/4.748, allocations: 185.4 kB / 3.01 GB, free: 204.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/4.748, allocations: 31.62 kB / 3.01 GB, free: 204.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/4.748, allocations: 27.17 kB / 3.01 GB, free: 204.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/4.748, allocations: 4 kB / 3.01 GB, free: 204.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/4.748, allocations: 4 kB / 3.01 GB, free: 204.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/4.748, allocations: 3.984 kB / 3.01 GB, free: 204.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00349/4.752, allocations: 1.078 MB / 3.011 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/4.752, allocations: 0 / 3.011 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.705e-05/4.752, allocations: 7.938 kB / 3.011 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003182/4.752, allocations: 120.8 kB / 3.011 GB, free: 202.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/4.752, allocations: 7.953 kB / 3.011 GB, free: 202.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008108/4.753, allocations: 0.7499 MB / 3.012 GB, free: 202 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/4.753, allocations: 3.938 kB / 3.012 GB, free: 202 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003428/4.757, allocations: 0.9322 MB / 3.013 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/4.757, allocations: 144.5 kB / 3.013 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/4.757, allocations: 7.984 kB / 3.013 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/4.757, allocations: 12 kB / 3.013 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.633e-05/4.757, allocations: 19.92 kB / 3.013 GB, free: 200.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/4.757, allocations: 12 kB / 3.013 GB, free: 200.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002649/4.757, allocations: 243.1 kB / 3.014 GB, free: 200.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/4.757, allocations: 0 / 3.014 GB, free: 200.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008077/4.758, allocations: 167.8 kB / 3.014 GB, free: 200.4 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.0008904/4.759, allocations: 0.6964 MB / 3.014 GB, free: 199.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001528/4.761, allocations: 0.5672 MB / 3.015 GB, free: 199.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/4.761, allocations: 4.062 kB / 3.015 GB, free: 199.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007296/4.761, allocations: 244.2 kB / 3.015 GB, free: 198.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/4.762, allocations: 58.52 kB / 3.015 GB, free: 198.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/4.763, allocations: 0.7115 MB / 3.016 GB, free: 198.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/4.763, allocations: 0.7677 MB / 3.017 GB, free: 197.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001627/4.763, allocations: 30.28 kB / 3.017 GB, free: 197.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.375e-05/4.764, allocations: 23.42 kB / 3.017 GB, free: 197.2 MB / 1.167 GB Notification: Performance of SimCode: time 9.92e-07/4.764, allocations: 0 / 3.017 GB, free: 197.2 MB / 1.167 GB Notification: Performance of Templates: time 0.01798/4.782, allocations: 14.52 MB / 3.031 GB, free: 182.8 MB / 1.167 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