Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001059/0.001059, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009725/0.0009725, allocations: 173 kB / 24.28 MB, free: 276 kB / 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.9344/0.9344, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.907/1.907, allocations: 377.8 MB / 0.6239 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8116 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.878e-05, allocations: 3.25 kB / 0.8116 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.002652/0.002671, allocations: 2.424 MB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.129/0.1317, allocations: 146.6 MB / 0.9571 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.1319, allocations: 3.938 kB / 0.9571 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.1322, allocations: 91.39 kB / 0.9572 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0005224/0.1327, allocations: 250.4 kB / 0.9574 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009995/0.1337, allocations: 0.6655 MB / 0.9581 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003564/0.1341, allocations: 438.5 kB / 0.9585 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 9.955e-05/0.1342, allocations: 40.8 kB / 0.9585 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.1344, allocations: 259.4 kB / 0.9588 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.1347, allocations: 167.6 kB / 0.9589 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.565e-05/0.1347, allocations: 32 kB / 0.959 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006766/0.1354, allocations: 0.6002 MB / 0.9596 GB, free: 9.977 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.329e-05/0.1355, allocations: 87.7 kB / 0.9596 GB, free: 9.891 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.1356, allocations: 115.7 kB / 0.9598 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006538/0.1362, allocations: 0.627 MB / 0.9604 GB, free: 9.148 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1362, allocations: 4 kB / 0.9604 GB, free: 9.145 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1362, allocations: 0 / 0.9604 GB, free: 9.145 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.1362, allocations: 0 / 0.9604 GB, free: 9.145 MB / 0.9167 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.000983/0.1372, allocations: 0.804 MB / 0.9612 GB, free: 8.293 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1373, allocations: 8.031 kB / 0.9612 GB, free: 8.285 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009134/0.1382, allocations: 192.5 kB / 0.9613 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.1386, allocations: 265.3 kB / 0.9616 GB, free: 7.809 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.1386, allocations: 49.64 kB / 0.9616 GB, free: 7.754 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.1387, allocations: 20 kB / 0.9617 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.139, allocations: 206.2 kB / 0.9619 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.139, allocations: 0 / 0.9619 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.139, allocations: 11.94 kB / 0.9619 GB, free: 7.496 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.139, allocations: 4 kB / 0.9619 GB, free: 7.492 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.1391, allocations: 97.48 kB / 0.962 GB, free: 7.395 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.1404, allocations: 0.9777 MB / 0.9629 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.1408, allocations: 148.6 kB / 0.9631 GB, free: 6.207 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.144e-05/0.1409, allocations: 73.38 kB / 0.9631 GB, free: 6.125 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1409, allocations: 7.938 kB / 0.9631 GB, free: 6.117 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/0.1411, allocations: 182.6 kB / 0.9633 GB, free: 5.914 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=19): time 1.522e-06/0.1411, allocations: 4 kB / 0.9633 GB, free: 5.91 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.001994/0.1431, allocations: 0.6732 MB / 0.964 GB, free: 5.207 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.1431, allocations: 85.09 kB / 0.9641 GB, free: 5.105 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.1434, allocations: 358.2 kB / 0.9644 GB, free: 4.738 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.1434, allocations: 33.7 kB / 0.9644 GB, free: 4.699 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.1436, allocations: 203.7 kB / 0.9646 GB, free: 4.496 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.578e-05/0.1436, allocations: 59.47 kB / 0.9647 GB, free: 4.438 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.1437, allocations: 91.59 kB / 0.9648 GB, free: 4.336 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1438, allocations: 0.5118 MB / 0.9653 GB, free: 3.812 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.144, allocations: 102.2 kB / 0.9654 GB, free: 3.707 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.1442, allocations: 276.5 kB / 0.9656 GB, free: 3.387 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.1445, allocations: 247.6 kB / 0.9659 GB, free: 3.113 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1445, allocations: 0 / 0.9659 GB, free: 3.113 MB / 0.9167 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001662/0.1461, allocations: 0.7197 MB / 0.9666 GB, free: 2.367 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.1462, allocations: 37.69 kB / 0.9666 GB, free: 2.324 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1462, allocations: 0 / 0.9666 GB, free: 2.324 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005974/0.1468, allocations: 211.2 kB / 0.9668 GB, free: 2.109 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1469, allocations: 39.98 kB / 0.9669 GB, free: 2.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.1488, allocations: 2.891 MB / 0.9697 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.1489, allocations: 39.77 kB / 0.9697 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.149, allocations: 23.92 kB / 0.9697 GB, free: 14.96 MB / 0.9323 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.0001567/0.1491, allocations: 216 kB / 0.9699 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/0.1492, allocations: 40 kB / 0.97 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.324e-05/0.1492, allocations: 22.25 kB / 0.97 GB, free: 14.67 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.1492, allocations: 7.984 kB / 0.97 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.1492, allocations: 0 / 0.97 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1492, allocations: 3.984 kB / 0.97 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.1507, allocations: 0.9 MB / 0.9709 GB, free: 13.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1507, allocations: 0 / 0.9709 GB, free: 13.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.1508, allocations: 4 kB / 0.9709 GB, free: 13.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001249/0.1509, allocations: 83.61 kB / 0.971 GB, free: 13.61 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.1509, allocations: 4 kB / 0.971 GB, free: 13.61 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004659/0.1514, allocations: 0.987 MB / 0.9719 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1514, allocations: 3.938 kB / 0.9719 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.1528, allocations: 0.7906 MB / 0.9727 GB, free: 11.76 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.1529, allocations: 59.7 kB / 0.9728 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.1529, allocations: 4 kB / 0.9728 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.1531, allocations: 15.92 kB / 0.9728 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.1531, allocations: 16.02 kB / 0.9728 GB, free: 11.66 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.1531, allocations: 11.98 kB / 0.9728 GB, free: 11.65 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001423/0.1533, allocations: 235 kB / 0.973 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1533, allocations: 0 / 0.973 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00036/0.1536, allocations: 115.8 kB / 0.9732 GB, free: 11.31 MB / 0.9323 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.0003061/0.1539, allocations: 201.6 kB / 0.9733 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007769/0.1547, allocations: 0.5505 MB / 0.9739 GB, free: 10.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1547, allocations: 0 / 0.9739 GB, free: 10.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.155, allocations: 217.6 kB / 0.9741 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.1553, allocations: 68.55 kB / 0.9742 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.1564, allocations: 0.5781 MB / 0.9747 GB, free: 9.59 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.478e-05/0.1565, allocations: 92.53 kB / 0.9748 GB, free: 9.48 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 7.897e-05/0.1565, allocations: 21.95 kB / 0.9748 GB, free: 9.457 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.1566, allocations: 24.48 kB / 0.9749 GB, free: 9.434 MB / 0.9323 GB Notification: Performance of SimCode: time 9.91e-07/0.1566, allocations: 0 / 0.9749 GB, free: 9.434 MB / 0.9323 GB Notification: Performance of Templates: time 0.009403/0.166, allocations: 7.797 MB / 0.9825 GB, free: 1.75 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.357119997963309]