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.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.001468/0.001468, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.005349/0.005349, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.042/1.042, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.477/2.477, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.503e-06/1.503e-06, allocations: 3.938 kB / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.461e-05, allocations: 4.562 kB / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003034/0.003059, allocations: 2.469 MB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1458/0.1488, allocations: 144.3 MB / 0.982 GB, free: 10.84 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.1491, allocations: 3.938 kB / 0.982 GB, free: 10.84 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.1494, allocations: 87.39 kB / 0.982 GB, free: 10.75 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005617/0.15, allocations: 246.4 kB / 0.9823 GB, free: 10.51 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.1512, allocations: 0.6227 MB / 0.9829 GB, free: 9.883 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004552/0.1516, allocations: 446.3 kB / 0.9833 GB, free: 9.445 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.594e-05/0.1517, allocations: 38.88 kB / 0.9833 GB, free: 9.41 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.152, allocations: 247.5 kB / 0.9836 GB, free: 9.168 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.1522, allocations: 167.6 kB / 0.9837 GB, free: 9.004 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.462e-05/0.1523, allocations: 28 kB / 0.9838 GB, free: 8.977 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008919/0.1532, allocations: 0.6236 MB / 0.9844 GB, free: 8.352 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.471e-05/0.1532, allocations: 83.72 kB / 0.9845 GB, free: 8.27 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.1533, allocations: 115.7 kB / 0.9846 GB, free: 8.156 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007698/0.1541, allocations: 0.627 MB / 0.9852 GB, free: 7.527 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1541, allocations: 0 / 0.9852 GB, free: 7.527 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1541, allocations: 0 / 0.9852 GB, free: 7.527 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1541, allocations: 0 / 0.9852 GB, free: 7.527 MB / 0.948 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.001105/0.1552, allocations: 0.6481 MB / 0.9858 GB, free: 6.848 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.1553, allocations: 8.625 kB / 0.9858 GB, free: 6.84 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009174/0.1562, allocations: 196.7 kB / 0.986 GB, free: 6.648 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.1565, allocations: 234.5 kB / 0.9862 GB, free: 6.387 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/0.1566, allocations: 46.27 kB / 0.9863 GB, free: 6.336 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.1566, allocations: 24.12 kB / 0.9863 GB, free: 6.312 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.1568, allocations: 192.5 kB / 0.9865 GB, free: 6.102 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1568, allocations: 3.984 kB / 0.9865 GB, free: 6.098 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.1568, allocations: 8 kB / 0.9865 GB, free: 6.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.1568, allocations: 4 kB / 0.9865 GB, free: 6.086 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.459e-05/0.1569, allocations: 80.67 kB / 0.9866 GB, free: 6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.158, allocations: 0.6287 MB / 0.9872 GB, free: 5.348 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.1584, allocations: 180 kB / 0.9874 GB, free: 5.156 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.905e-05/0.1584, allocations: 62.55 kB / 0.9874 GB, free: 5.086 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.1585, allocations: 4 kB / 0.9874 GB, free: 5.082 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.1586, allocations: 179.5 kB / 0.9876 GB, free: 4.883 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 2.033e-06/0.1586, allocations: 0 / 0.9876 GB, free: 4.883 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001113/0.1597, allocations: 451.1 kB / 0.988 GB, free: 4.414 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.1598, allocations: 81.11 kB / 0.9881 GB, free: 4.316 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.1599, allocations: 270.9 kB / 0.9884 GB, free: 4.043 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.16, allocations: 33.7 kB / 0.9884 GB, free: 4.004 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.1601, allocations: 145.3 kB / 0.9885 GB, free: 3.855 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.1601, allocations: 63.47 kB / 0.9886 GB, free: 3.793 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.1602, allocations: 77.91 kB / 0.9887 GB, free: 3.707 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.648e-05/0.1603, allocations: 342.8 kB / 0.989 GB, free: 3.363 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.1604, allocations: 81.11 kB / 0.9891 GB, free: 3.277 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.1605, allocations: 238.5 kB / 0.9893 GB, free: 3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.1608, allocations: 212.2 kB / 0.9895 GB, free: 2.766 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1608, allocations: 0 / 0.9895 GB, free: 2.766 MB / 0.948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009084/0.1617, allocations: 446.5 kB / 0.9899 GB, free: 2.305 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/0.1617, allocations: 37.69 kB / 0.99 GB, free: 2.262 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1617, allocations: 0 / 0.99 GB, free: 2.262 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005341/0.1622, allocations: 193.7 kB / 0.9901 GB, free: 2.066 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.1624, allocations: 43.91 kB / 0.9902 GB, free: 2.023 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.1638, allocations: 1.973 MB / 0.9921 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.164, allocations: 31.78 kB / 0.9921 GB, free: 15.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.164, allocations: 15.97 kB / 0.9922 GB, free: 15.89 MB / 0.9636 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.nextEventScaled,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,$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.0003199/0.1643, allocations: 177.5 kB / 0.9923 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/0.1644, allocations: 23.98 kB / 0.9924 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.1644, allocations: 26.44 kB / 0.9924 GB, free: 15.65 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.1644, allocations: 0 / 0.9924 GB, free: 15.65 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.1644, allocations: 11.92 kB / 0.9924 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1644, allocations: 0 / 0.9924 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008359/0.1652, allocations: 0.5703 MB / 0.9929 GB, free: 15.03 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1652, allocations: 0 / 0.9929 GB, free: 15.03 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.403e-05/0.1653, allocations: 7.984 kB / 0.993 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/0.1654, allocations: 72.95 kB / 0.993 GB, free: 14.95 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.1654, allocations: 4 kB / 0.993 GB, free: 14.95 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003477/0.1658, allocations: 0.6639 MB / 0.9937 GB, free: 14.26 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1658, allocations: 3.938 kB / 0.9937 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007478/0.1665, allocations: 0.5231 MB / 0.9942 GB, free: 13.69 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.739e-05/0.1666, allocations: 39.78 kB / 0.9942 GB, free: 13.65 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.1666, allocations: 8 kB / 0.9942 GB, free: 13.64 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.1667, allocations: 11.98 kB / 0.9942 GB, free: 13.63 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.1668, allocations: 7.984 kB / 0.9943 GB, free: 13.62 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.1668, allocations: 15.92 kB / 0.9943 GB, free: 13.61 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.946e-05/0.1669, allocations: 104.6 kB / 0.9944 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.1669, allocations: 4.031 kB / 0.9944 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003782/0.1673, allocations: 119.8 kB / 0.9945 GB, free: 13.39 MB / 0.9636 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 (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.000275/0.1675, allocations: 174 kB / 0.9947 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006812/0.1682, allocations: 472.5 kB / 0.9951 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/0.1682, allocations: 8.062 kB / 0.9951 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.1685, allocations: 206.5 kB / 0.9953 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.1688, allocations: 69.55 kB / 0.9954 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.1698, allocations: 0.5786 MB / 0.9959 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.109e-05/0.1699, allocations: 92.53 kB / 0.996 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.17, allocations: 21.95 kB / 0.9961 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.1701, allocations: 117.3 kB / 0.9962 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of SimCode: time 9.92e-07/0.1701, allocations: 0 / 0.9962 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of Templates: time 0.01052/0.1807, allocations: 8.481 MB / 1.004 GB, free: 3.191 MB / 0.9636 GB " [Timeout remaining time 300] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 240] 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","",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.745441683102399]