Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 114.2 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 189 kB / 22.22 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.517/3.517, allocations: 0.4893 GB / 0.7884 GB, free: 33.17 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal")
translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 67.77 kB / 1.145 GB, free: 30.74 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4788/0.4808, allocations: 174.9 MB / 1.316 GB, free: 9.652 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.005029/0.4859, allocations: 2.413 MB / 1.318 GB, free: 7.23 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.225/0.7109, allocations: 151.5 MB / 1.466 GB, free: 15.14 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.7112, allocations: 0 / 1.466 GB, free: 15.14 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.0004571/0.7116, allocations: 91.42 kB / 1.466 GB, free: 15.05 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.0008561/0.7125, allocations: 250.5 kB / 1.467 GB, free: 14.81 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.7143, allocations: 0.6617 MB / 1.467 GB, free: 14.16 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.0005981/0.7149, allocations: 434.6 kB / 1.468 GB, free: 13.73 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.7151, allocations: 36.92 kB / 1.468 GB, free: 13.7 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002595/0.7153, allocations: 191.4 kB / 1.468 GB, free: 13.51 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000378/0.7157, allocations: 203.3 kB / 1.468 GB, free: 13.31 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 6.245e-05/0.7158, allocations: 28 kB / 1.468 GB, free: 13.29 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.7171, allocations: 0.6472 MB / 1.469 GB, free: 12.64 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.7172, allocations: 83.72 kB / 1.469 GB, free: 12.55 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.7174, allocations: 159.2 kB / 1.469 GB, free: 12.4 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.001117/0.7185, allocations: 0.6618 MB / 1.47 GB, free: 11.73 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.7185, allocations: 0 / 1.47 GB, free: 11.73 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.954e-06/0.7185, allocations: 0 / 1.47 GB, free: 11.73 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 8.206e-06/0.7186, allocations: 3.938 kB / 1.47 GB, free: 11.73 MB / 1.17 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.001822/0.7204, allocations: 0.7015 MB / 1.47 GB, free: 10.99 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.7204, allocations: 12.03 kB / 1.47 GB, free: 10.98 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/0.7221, allocations: 156.5 kB / 1.471 GB, free: 10.82 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006127/0.7227, allocations: 261.7 kB / 1.471 GB, free: 10.54 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.106e-05/0.7228, allocations: 53.62 kB / 1.471 GB, free: 10.48 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/0.7228, allocations: 20 kB / 1.471 GB, free: 10.46 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000465/0.7233, allocations: 204.8 kB / 1.471 GB, free: 10.25 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.7233, allocations: 0 / 1.471 GB, free: 10.25 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.7234, allocations: 12 kB / 1.471 GB, free: 10.24 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.7234, allocations: 7.938 kB / 1.471 GB, free: 10.23 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003126/0.7237, allocations: 120.1 kB / 1.471 GB, free: 10.11 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002625/0.7263, allocations: 0.9604 MB / 1.472 GB, free: 9.102 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008113/0.7271, allocations: 154.5 kB / 1.472 GB, free: 8.941 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.7273, allocations: 80.83 kB / 1.472 GB, free: 8.859 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.7274, allocations: 0 / 1.472 GB, free: 8.859 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004634/0.7278, allocations: 194.3 kB / 1.473 GB, free: 8.652 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=19): time 1.603e-06/0.7278, allocations: 0 / 1.473 GB, free: 8.652 MB / 1.17 GB
Notification: Performance of matching and sorting (n=19): time 0.004405/0.7322, allocations: 0.7899 MB / 1.473 GB, free: 7.848 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/0.7323, allocations: 85.05 kB / 1.473 GB, free: 7.746 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004678/0.7328, allocations: 340.5 kB / 1.474 GB, free: 7.402 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 5.445e-05/0.7328, allocations: 37.7 kB / 1.474 GB, free: 7.359 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.733, allocations: 156.6 kB / 1.474 GB, free: 7.199 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 7.17e-05/0.7331, allocations: 55.55 kB / 1.474 GB, free: 7.145 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.7332, allocations: 77.94 kB / 1.474 GB, free: 7.059 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0001942/0.7334, allocations: 350.7 kB / 1.474 GB, free: 6.707 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.7338, allocations: 132.5 kB / 1.474 GB, free: 6.578 MB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/0.7342, allocations: 222 kB / 1.475 GB, free: 6.348 MB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006944/0.7349, allocations: 345.5 kB / 1.475 GB, free: 5.984 MB / 1.17 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7349, allocations: 0 / 1.475 GB, free: 5.984 MB / 1.17 GB
Notification: Performance of matching and sorting (n=40) (initialization): time 0.003796/0.7387, allocations: 0.8531 MB / 1.476 GB, free: 5.113 MB / 1.17 GB
Notification: Performance of prepare postOptimizeDAE: time 6.654e-05/0.7388, allocations: 41.69 kB / 1.476 GB, free: 5.066 MB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.7388, allocations: 0 / 1.476 GB, free: 5.066 MB / 1.17 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.7399, allocations: 197.5 kB / 1.476 GB, free: 4.867 MB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.7401, allocations: 35.97 kB / 1.476 GB, free: 4.832 MB / 1.17 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003373/0.7435, allocations: 2.239 MB / 1.478 GB, free: 2.453 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/0.744, allocations: 59.59 kB / 1.478 GB, free: 2.395 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.011e-05/0.7441, allocations: 15.98 kB / 1.478 GB, free: 2.379 MB / 1.17 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 ($PRE.eva.off,eva.off,$whenCondition2,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.nextEventScaled,$whenCondition1,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 (not torn): 1
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 0 systems
 * Non-linear Jacobian (size): 1 system
   {7}
 * Without analytic Jacobian (size): 0 systems
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,2)}
Notification: Performance of prepare postOptimizeDAE: time 0.0003327/0.7444, allocations: 191.4 kB / 1.479 GB, free: 2.18 MB / 1.17 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.573e-05/0.7445, allocations: 31.81 kB / 1.479 GB, free: 2.148 MB / 1.17 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.002e-05/0.7446, allocations: 27.11 kB / 1.479 GB, free: 2.121 MB / 1.17 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.7446, allocations: 0 / 1.479 GB, free: 2.121 MB / 1.17 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.7446, allocations: 4 kB / 1.479 GB, free: 2.117 MB / 1.17 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.7446, allocations: 3.938 kB / 1.479 GB, free: 2.113 MB / 1.17 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/0.748, allocations: 1.011 MB / 1.48 GB, free: 1.043 MB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.748, allocations: 11.94 kB / 1.48 GB, free: 1.031 MB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.605e-05/0.7481, allocations: 4 kB / 1.48 GB, free: 1.027 MB / 1.17 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003424/0.7484, allocations: 116.8 kB / 1.48 GB, free: 0.9102 MB / 1.17 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/0.7485, allocations: 15.92 kB / 1.48 GB, free: 0.8945 MB / 1.17 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000978/0.7494, allocations: 0.746 MB / 1.48 GB, free: 128 kB / 1.17 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7494, allocations: 0 / 1.48 GB, free: 128 kB / 1.17 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003273/0.7527, allocations: 0.8741 MB / 1.481 GB, free: 15.23 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.7529, allocations: 55.83 kB / 1.481 GB, free: 15.17 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.104e-05/0.753, allocations: 8 kB / 1.481 GB, free: 15.16 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.7532, allocations: 11.98 kB / 1.481 GB, free: 15.15 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.7533, allocations: 11.98 kB / 1.481 GB, free: 15.14 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/0.7533, allocations: 7.984 kB / 1.481 GB, free: 15.13 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0003729/0.7537, allocations: 243 kB / 1.482 GB, free: 14.9 MB / 1.186 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.7537, allocations: 0 / 1.482 GB, free: 14.9 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0007461/0.7544, allocations: 119.9 kB / 1.482 GB, free: 14.78 MB / 1.186 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 (int.y,eva.m)
 * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,mAir_flow.nextEventScaled,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,eva.off)
 * 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 (not torn): 1
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 0 systems
 * Non-linear Jacobian (size): 1 system
   {7}
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0005/0.7549, allocations: 183.6 kB / 1.482 GB, free: 14.59 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.001854/0.7568, allocations: 0.5299 MB / 1.482 GB, free: 14.03 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7568, allocations: 0 / 1.482 GB, free: 14.03 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.0007528/0.7576, allocations: 228 kB / 1.483 GB, free: 13.79 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.7581, allocations: 68.94 kB / 1.483 GB, free: 13.72 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.7596, allocations: 0.62 MB / 1.483 GB, free: 13.09 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.76, allocations: 0.756 MB / 1.484 GB, free: 12.3 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0001352/0.7601, allocations: 34.22 kB / 1.484 GB, free: 12.27 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.991e-05/0.7602, allocations: 23.44 kB / 1.484 GB, free: 12.25 MB / 1.186 GB
Notification: Performance of SimCode: time 4.21e-07/0.7602, allocations: 0 / 1.484 GB, free: 12.25 MB / 1.186 GB
Notification: Performance of Templates: time 0.01502/0.7752, allocations: 7.411 MB / 1.491 GB, free: 4.91 MB / 1.186 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 10.637794680893421]