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.0009796/0.0009796, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.001047/0.001047, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9357/0.9357, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.759/1.759, allocations: 359 MB / 0.6052 GB, free: 11 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.663e-06/1.663e-06, allocations: 0 / 0.7871 GB, free: 11.32 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.936e-05, allocations: 2.875 kB / 0.7871 GB, free: 11.32 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004351/0.004381, allocations: 2.439 MB / 0.7895 GB, free: 8.891 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1463/0.1507, allocations: 144.9 MB / 0.931 GB, free: 7.57 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002337/0.1509, allocations: 0 / 0.931 GB, free: 7.57 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004626/0.1514, allocations: 87.39 kB / 0.931 GB, free: 7.484 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0007269/0.1521, allocations: 254.4 kB / 0.9313 GB, free: 7.234 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.1537, allocations: 0.6385 MB / 0.9319 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006651/0.1543, allocations: 446.3 kB / 0.9323 GB, free: 6.156 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.1545, allocations: 28.92 kB / 0.9324 GB, free: 6.129 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003323/0.1548, allocations: 255.5 kB / 0.9326 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.1551, allocations: 171.6 kB / 0.9328 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.268e-05/0.1552, allocations: 32 kB / 0.9328 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.1563, allocations: 0.5885 MB / 0.9334 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.1564, allocations: 83.7 kB / 0.9335 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.1566, allocations: 111.7 kB / 0.9336 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.1577, allocations: 0.6309 MB / 0.9342 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1577, allocations: 0 / 0.9342 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1577, allocations: 0 / 0.9342 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.1577, allocations: 4 kB / 0.9342 GB, free: 4.262 MB / 0.8386 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.001268/0.159, allocations: 0.7998 MB / 0.935 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.1591, allocations: 8.031 kB / 0.935 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009618/0.16, allocations: 184.6 kB / 0.9351 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/0.1604, allocations: 265.3 kB / 0.9354 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.758e-05/0.1605, allocations: 46.25 kB / 0.9354 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.1606, allocations: 36.08 kB / 0.9355 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.1609, allocations: 206.2 kB / 0.9357 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1609, allocations: 0 / 0.9357 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.1609, allocations: 0 / 0.9357 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.1609, allocations: 4 kB / 0.9357 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.161, allocations: 102.4 kB / 0.9358 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.1625, allocations: 0.9697 MB / 0.9367 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.1629, allocations: 148.7 kB / 0.9369 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.804e-05/0.163, allocations: 77.3 kB / 0.9369 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.163, allocations: 4 kB / 0.9369 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.1633, allocations: 188.3 kB / 0.9371 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.694e-06/0.1633, allocations: 0 / 0.9371 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.001947/0.1652, allocations: 0.683 MB / 0.9378 GB, free: 336 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.1653, allocations: 81.11 kB / 0.9379 GB, free: 236 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.1655, allocations: 354.2 kB / 0.9382 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.1656, allocations: 33.7 kB / 0.9382 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.1657, allocations: 207.7 kB / 0.9384 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.1657, allocations: 55.53 kB / 0.9385 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.1658, allocations: 99.53 kB / 0.9386 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.166, allocations: 0.5157 MB / 0.9391 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.1661, allocations: 94.27 kB / 0.9392 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.1664, allocations: 276 kB / 0.9394 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.1666, allocations: 251.1 kB / 0.9397 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1666, allocations: 4 kB / 0.9397 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001641/0.1683, allocations: 0.7235 MB / 0.9404 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/0.1683, allocations: 41.69 kB / 0.9404 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1683, allocations: 3.984 kB / 0.9404 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006167/0.1689, allocations: 203.2 kB / 0.9406 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.1691, allocations: 43.91 kB / 0.9407 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/0.1711, allocations: 2.887 MB / 0.9435 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.1713, allocations: 31.83 kB / 0.9435 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.1713, allocations: 19.98 kB / 0.9435 GB, free: 10.08 MB / 0.8542 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.0001798/0.1715, allocations: 224.6 kB / 0.9438 GB, free: 9.844 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.1715, allocations: 35.75 kB / 0.9438 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.1716, allocations: 26.25 kB / 0.9438 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.1716, allocations: 0 / 0.9438 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.1716, allocations: 0 / 0.9438 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1716, allocations: 4 kB / 0.9438 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.1731, allocations: 0.9022 MB / 0.9447 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1731, allocations: 0 / 0.9447 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.07e-05/0.1731, allocations: 11.94 kB / 0.9447 GB, free: 8.809 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001373/0.1733, allocations: 75.62 kB / 0.9448 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.1733, allocations: 15.97 kB / 0.9448 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005122/0.1738, allocations: 0.9713 MB / 0.9457 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1738, allocations: 0 / 0.9457 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.1752, allocations: 0.8026 MB / 0.9465 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.1753, allocations: 55.69 kB / 0.9466 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.1754, allocations: 11.94 kB / 0.9466 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.1755, allocations: 16.03 kB / 0.9466 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.1755, allocations: 15.91 kB / 0.9466 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.1756, allocations: 4 kB / 0.9466 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001535/0.1757, allocations: 235 kB / 0.9469 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1757, allocations: 0 / 0.9469 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004208/0.1761, allocations: 119.9 kB / 0.947 GB, free: 6.426 MB / 0.8542 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.0003354/0.1765, allocations: 202.9 kB / 0.9472 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008906/0.1774, allocations: 0.5388 MB / 0.9477 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1774, allocations: 0 / 0.9477 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.1777, allocations: 224 kB / 0.9479 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.178, allocations: 71.59 kB / 0.948 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.1793, allocations: 0.582 MB / 0.9485 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.402e-05/0.1794, allocations: 88.48 kB / 0.9486 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.1795, allocations: 29.94 kB / 0.9486 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.1796, allocations: 24.48 kB / 0.9487 GB, free: 4.539 MB / 0.8542 GB Notification: Performance of SimCode: time 1.052e-06/0.1796, allocations: 0 / 0.9487 GB, free: 4.539 MB / 0.8542 GB Notification: Performance of Templates: time 0.01119/0.1908, allocations: 7.779 MB / 0.9563 GB, free: 12.86 MB / 0.8698 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.631448349915445]