Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009575/0.0009575, allocations: 80.39 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009322/0.0009322, allocations: 166.6 kB / 24.87 MB, free: 9.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9637/0.9637, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.7/1.7, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.043e-05, allocations: 2.312 kB / 0.7884 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003756/0.003776, allocations: 2.402 MB / 0.7907 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1342/0.1379, allocations: 142.1 MB / 0.9295 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.1381, allocations: 3.938 kB / 0.9295 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.1384, allocations: 95.39 kB / 0.9296 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0004314/0.1388, allocations: 246.4 kB / 0.9298 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009538/0.1398, allocations: 0.6384 MB / 0.9304 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0008274/0.1406, allocations: 458.3 kB / 0.9309 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 7.817e-05/0.1407, allocations: 28.91 kB / 0.9309 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.1409, allocations: 251.5 kB / 0.9311 GB, free: 9.465 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.1411, allocations: 175.6 kB / 0.9313 GB, free: 9.293 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.1411, allocations: 32 kB / 0.9313 GB, free: 9.262 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006859/0.1418, allocations: 0.5807 MB / 0.9319 GB, free: 8.68 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 7.5e-05/0.1419, allocations: 83.72 kB / 0.932 GB, free: 8.598 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 9.24e-05/0.142, allocations: 123.7 kB / 0.9321 GB, free: 8.477 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005968/0.1426, allocations: 0.627 MB / 0.9327 GB, free: 7.848 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1426, allocations: 3.984 kB / 0.9327 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.754e-06/0.1426, allocations: 0 / 0.9327 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.1426, allocations: 0 / 0.9327 GB, free: 7.844 MB / 0.8855 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.0009115/0.1435, allocations: 0.8001 MB / 0.9335 GB, free: 6.996 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.1435, allocations: 8.031 kB / 0.9335 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008591/0.1444, allocations: 188.5 kB / 0.9337 GB, free: 6.805 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.1447, allocations: 269.3 kB / 0.934 GB, free: 6.516 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/0.1447, allocations: 46.27 kB / 0.934 GB, free: 6.465 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.1448, allocations: 20.12 kB / 0.934 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.145, allocations: 186.3 kB / 0.9342 GB, free: 6.238 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.145, allocations: 4 kB / 0.9342 GB, free: 6.234 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.145, allocations: 7.938 kB / 0.9342 GB, free: 6.227 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.145, allocations: 4 kB / 0.9342 GB, free: 6.223 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.519e-05/0.1451, allocations: 86.59 kB / 0.9343 GB, free: 6.133 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.1462, allocations: 0.9196 MB / 0.9352 GB, free: 5.176 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/0.1466, allocations: 144.6 kB / 0.9353 GB, free: 5.016 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.576e-05/0.1466, allocations: 73.36 kB / 0.9354 GB, free: 4.934 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.1467, allocations: 0 / 0.9354 GB, free: 4.934 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.1468, allocations: 168.4 kB / 0.9356 GB, free: 4.742 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.082e-06/0.1468, allocations: 0 / 0.9356 GB, free: 4.742 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.001778/0.1486, allocations: 0.6738 MB / 0.9362 GB, free: 4.039 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.1486, allocations: 85.11 kB / 0.9363 GB, free: 3.938 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.1488, allocations: 354 kB / 0.9366 GB, free: 3.57 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.1488, allocations: 33.7 kB / 0.9367 GB, free: 3.531 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.769e-05/0.1489, allocations: 203.6 kB / 0.9369 GB, free: 3.324 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.149, allocations: 59.53 kB / 0.9369 GB, free: 3.266 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1491, allocations: 91.55 kB / 0.937 GB, free: 3.164 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1492, allocations: 0.5118 MB / 0.9375 GB, free: 2.641 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.1493, allocations: 90.25 kB / 0.9376 GB, free: 2.547 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.1497, allocations: 259.9 kB / 0.9378 GB, free: 2.242 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.1499, allocations: 227.1 kB / 0.9381 GB, free: 1.988 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1499, allocations: 0 / 0.9381 GB, free: 1.988 MB / 0.8855 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00152/0.1514, allocations: 0.6844 MB / 0.9387 GB, free: 1.277 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.1515, allocations: 41.75 kB / 0.9388 GB, free: 1.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1515, allocations: 0 / 0.9388 GB, free: 1.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005274/0.152, allocations: 203.1 kB / 0.939 GB, free: 1.023 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.1521, allocations: 35.97 kB / 0.939 GB, free: 0.9883 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.1537, allocations: 2.86 MB / 0.9418 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.1538, allocations: 35.78 kB / 0.9418 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.1539, allocations: 19.97 kB / 0.9418 GB, free: 13.93 MB / 0.9011 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.0001356/0.154, allocations: 206.2 kB / 0.942 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.154, allocations: 39.81 kB / 0.9421 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.1541, allocations: 26.25 kB / 0.9421 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1541, allocations: 7.938 kB / 0.9421 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/0.1541, allocations: 0 / 0.9421 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1541, allocations: 0 / 0.9421 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.1555, allocations: 0.8455 MB / 0.9429 GB, free: 12.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1555, allocations: 4 kB / 0.9429 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.111e-05/0.1555, allocations: 8 kB / 0.9429 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/0.1556, allocations: 71.7 kB / 0.943 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.1556, allocations: 11.92 kB / 0.943 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004246/0.1561, allocations: 0.9829 MB / 0.944 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1561, allocations: 3.938 kB / 0.944 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.1573, allocations: 0.7718 MB / 0.9447 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/0.1577, allocations: 51.7 kB / 0.9448 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.1577, allocations: 11.98 kB / 0.9448 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.1578, allocations: 12 kB / 0.9448 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.1578, allocations: 7.984 kB / 0.9448 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.1579, allocations: 7.984 kB / 0.9448 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001078/0.158, allocations: 226.9 kB / 0.945 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.158, allocations: 0 / 0.945 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003062/0.1583, allocations: 119.8 kB / 0.9452 GB, free: 10.39 MB / 0.9011 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.0002317/0.1585, allocations: 201.3 kB / 0.9453 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006491/0.1592, allocations: 0.5191 MB / 0.9459 GB, free: 9.613 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.1592, allocations: 0 / 0.9459 GB, free: 9.613 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002783/0.1594, allocations: 220.4 kB / 0.9461 GB, free: 9.371 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.1597, allocations: 74.25 kB / 0.9461 GB, free: 9.297 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009033/0.1606, allocations: 0.5726 MB / 0.9467 GB, free: 8.695 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.76e-05/0.1607, allocations: 88.55 kB / 0.9468 GB, free: 8.59 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 7.494e-05/0.1608, allocations: 29.95 kB / 0.9468 GB, free: 8.559 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.1609, allocations: 142.1 kB / 0.9469 GB, free: 8.418 MB / 0.9011 GB Notification: Performance of SimCode: time 6.01e-07/0.1609, allocations: 0 / 0.9469 GB, free: 8.418 MB / 0.9011 GB Notification: Performance of Templates: time 0.009528/0.1705, allocations: 8.625 MB / 0.9554 GB, free: 15.9 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.306388559285551]