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.0009615/0.0009615, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009985/0.0009985, allocations: 161.4 kB / 24.17 MB, free: 328 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.9911/0.9911, allocations: 177.2 MB / 204.6 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.883/1.883, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.854e-06/1.854e-06, allocations: 0 / 0.76 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.512e-05, allocations: 2.312 kB / 0.76 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.002775/0.0028, allocations: 2.416 MB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1446/0.1474, allocations: 144.2 MB / 0.9033 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.1475, allocations: 7.938 kB / 0.9033 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.1479, allocations: 99.31 kB / 0.9034 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005803/0.1484, allocations: 242.4 kB / 0.9036 GB, free: 3.234 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.1497, allocations: 0.6462 MB / 0.9042 GB, free: 2.586 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004465/0.1501, allocations: 442.4 kB / 0.9047 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1502, allocations: 38.88 kB / 0.9047 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.1505, allocations: 255.5 kB / 0.9049 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.1508, allocations: 163.6 kB / 0.9051 GB, free: 1.703 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.606e-05/0.1509, allocations: 28 kB / 0.9051 GB, free: 1.676 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009953/0.1518, allocations: 0.5846 MB / 0.9057 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.152, allocations: 87.72 kB / 0.9058 GB, free: 1.004 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.1521, allocations: 107.7 kB / 0.9059 GB, free: 0.8984 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009467/0.153, allocations: 0.6347 MB / 0.9065 GB, free: 268 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.153, allocations: 0 / 0.9065 GB, free: 268 kB / 0.8542 GB Notification: Performance of FrontEnd: time 2.194e-06/0.153, allocations: 4 kB / 0.9065 GB, free: 264 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.153, allocations: 0 / 0.9065 GB, free: 264 kB / 0.8542 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.001457/0.1545, allocations: 0.6407 MB / 0.9071 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.1545, allocations: 12.03 kB / 0.9071 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008732/0.1554, allocations: 192.7 kB / 0.9073 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.1558, allocations: 234.5 kB / 0.9075 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.128e-05/0.1558, allocations: 46.2 kB / 0.9076 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.1558, allocations: 28.12 kB / 0.9076 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.1561, allocations: 191.6 kB / 0.9078 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1561, allocations: 0 / 0.9078 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.1561, allocations: 8 kB / 0.9078 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1561, allocations: 7.984 kB / 0.9078 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.025e-05/0.1562, allocations: 76.72 kB / 0.9079 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.1573, allocations: 0.648 MB / 0.9085 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/0.1577, allocations: 168.1 kB / 0.9087 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.197e-05/0.1578, allocations: 62.55 kB / 0.9087 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.1578, allocations: 4 kB / 0.9087 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.158, allocations: 175.1 kB / 0.9089 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.158, allocations: 0 / 0.9089 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.001122/0.1591, allocations: 433.3 kB / 0.9093 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.1591, allocations: 89.09 kB / 0.9094 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.1593, allocations: 278.8 kB / 0.9097 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.1594, allocations: 33.7 kB / 0.9097 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.1594, allocations: 129.4 kB / 0.9098 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.1595, allocations: 67.41 kB / 0.9099 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.1596, allocations: 85.88 kB / 0.91 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.1597, allocations: 338.8 kB / 0.9103 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.1598, allocations: 81.11 kB / 0.9104 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.16, allocations: 233.9 kB / 0.9106 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.1602, allocations: 216.5 kB / 0.9108 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.1602, allocations: 0 / 0.9108 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009226/0.1611, allocations: 446.8 kB / 0.9112 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.841e-05/0.1611, allocations: 41.69 kB / 0.9113 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1611, allocations: 0 / 0.9113 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005414/0.1617, allocations: 201.7 kB / 0.9115 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1618, allocations: 35.91 kB / 0.9115 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.1633, allocations: 1.961 MB / 0.9134 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.1635, allocations: 39.77 kB / 0.9134 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.1635, allocations: 20.02 kB / 0.9135 GB, free: 8.637 MB / 0.8698 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.0001574/0.1637, allocations: 167.3 kB / 0.9136 GB, free: 8.457 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.1637, allocations: 24.16 kB / 0.9137 GB, free: 8.434 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003682/0.1641, allocations: 22.25 kB / 0.9137 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1641, allocations: 11.92 kB / 0.9137 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1641, allocations: 3.938 kB / 0.9137 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1641, allocations: 0 / 0.9137 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008254/0.1649, allocations: 0.5687 MB / 0.9142 GB, free: 7.781 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1649, allocations: 0 / 0.9142 GB, free: 7.781 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.165, allocations: 11.94 kB / 0.9143 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001158/0.1651, allocations: 64.8 kB / 0.9143 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.1651, allocations: 11.98 kB / 0.9143 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003623/0.1655, allocations: 0.6563 MB / 0.915 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1655, allocations: 0 / 0.915 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000727/0.1662, allocations: 0.5443 MB / 0.9155 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.419e-05/0.1663, allocations: 43.78 kB / 0.9155 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.1663, allocations: 8 kB / 0.9155 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1664, allocations: 12.03 kB / 0.9156 GB, free: 6.371 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.1665, allocations: 11.97 kB / 0.9156 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.1665, allocations: 4 kB / 0.9156 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.39e-05/0.1666, allocations: 104.6 kB / 0.9157 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1666, allocations: 0 / 0.9157 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004909/0.1671, allocations: 123.8 kB / 0.9158 GB, free: 6.129 MB / 0.8698 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.0003133/0.1674, allocations: 178.3 kB / 0.916 GB, free: 5.949 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007492/0.1681, allocations: 458.9 kB / 0.9164 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.1681, allocations: 4 kB / 0.9164 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003274/0.1685, allocations: 210.5 kB / 0.9166 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.1688, allocations: 76.77 kB / 0.9167 GB, free: 5.148 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.17, allocations: 0.5828 MB / 0.9172 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.233e-05/0.17, allocations: 84.55 kB / 0.9173 GB, free: 4.434 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.902e-05/0.1701, allocations: 21.95 kB / 0.9173 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.1703, allocations: 121.3 kB / 0.9175 GB, free: 4.289 MB / 0.8698 GB Notification: Performance of SimCode: time 9.32e-07/0.1703, allocations: 4 kB / 0.9175 GB, free: 4.285 MB / 0.8698 GB Notification: Performance of Templates: time 0.0125/0.1828, allocations: 8.42 MB / 0.9257 GB, free: 12 MB / 0.8855 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.358465917874128]