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.001046/0.001046, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001239/0.001239, allocations: 165.3 kB / 23.01 MB, free: 1.555 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.008/1.008, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.067/2.067, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 2.214e-06/2.214e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.316e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003352/0.003385, allocations: 2.459 MB / 0.8806 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1339/0.1373, allocations: 144.9 MB / 1.022 GB, free: 2.457 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.1374, allocations: 4 kB / 1.022 GB, free: 2.453 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.1378, allocations: 91.39 kB / 1.022 GB, free: 2.363 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0004931/0.1383, allocations: 258.2 kB / 1.022 GB, free: 2.109 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.1395, allocations: 0.6384 MB / 1.023 GB, free: 1.469 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0003895/0.1399, allocations: 450.7 kB / 1.023 GB, free: 1.027 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 9.814e-05/0.14, allocations: 28.92 kB / 1.023 GB, free: 1 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.1403, allocations: 255.4 kB / 1.024 GB, free: 0.75 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.1405, allocations: 175.6 kB / 1.024 GB, free: 0.5781 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 4.477e-05/0.1406, allocations: 28 kB / 1.024 GB, free: 0.5508 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006947/0.1413, allocations: 0.5886 MB / 1.025 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 8.821e-05/0.1414, allocations: 79.72 kB / 1.025 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.1415, allocations: 123.7 kB / 1.025 GB, free: 15.76 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006506/0.1421, allocations: 0.6308 MB / 1.025 GB, free: 15.13 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1421, allocations: 3.938 kB / 1.025 GB, free: 15.12 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1421, allocations: 0 / 1.025 GB, free: 15.12 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.1421, allocations: 0 / 1.025 GB, free: 15.12 MB / 0.9948 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.001048/0.1432, allocations: 0.8037 MB / 1.026 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1432, allocations: 8.031 kB / 1.026 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008973/0.1441, allocations: 184.6 kB / 1.026 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.1445, allocations: 273.3 kB / 1.027 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/0.1445, allocations: 46.27 kB / 1.027 GB, free: 13.74 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/0.1446, allocations: 24.12 kB / 1.027 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.1448, allocations: 203.3 kB / 1.027 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1448, allocations: 0 / 1.027 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.1449, allocations: 0 / 1.027 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1449, allocations: 4 kB / 1.027 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.145, allocations: 101.8 kB / 1.027 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.1463, allocations: 0.9774 MB / 1.028 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004534/0.1468, allocations: 156.6 kB / 1.028 GB, free: 12.19 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.11e-05/0.1469, allocations: 77.36 kB / 1.028 GB, free: 12.1 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.1469, allocations: 4 kB / 1.028 GB, free: 12.1 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.1471, allocations: 172.4 kB / 1.028 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=19): time 1.432e-06/0.1471, allocations: 0 / 1.028 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.001873/0.149, allocations: 0.6874 MB / 1.029 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.149, allocations: 85.11 kB / 1.029 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.1492, allocations: 358.2 kB / 1.029 GB, free: 10.72 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.1493, allocations: 29.7 kB / 1.029 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1494, allocations: 203.7 kB / 1.03 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.1494, allocations: 59.53 kB / 1.03 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.1495, allocations: 91.59 kB / 1.03 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.1497, allocations: 0.5157 MB / 1.03 GB, free: 9.789 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.1498, allocations: 94.27 kB / 1.03 GB, free: 9.691 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.1501, allocations: 276 kB / 1.031 GB, free: 9.371 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.1503, allocations: 259.3 kB / 1.031 GB, free: 9.086 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1503, allocations: 0 / 1.031 GB, free: 9.086 MB / 0.9948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001582/0.1519, allocations: 0.7082 MB / 1.032 GB, free: 8.352 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/0.1519, allocations: 45.75 kB / 1.032 GB, free: 8.301 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.152, allocations: 96 / 1.032 GB, free: 8.301 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005954/0.1525, allocations: 203.2 kB / 1.032 GB, free: 8.094 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.1527, allocations: 39.92 kB / 1.032 GB, free: 8.055 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.1545, allocations: 2.885 MB / 1.035 GB, free: 5.012 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.1547, allocations: 43.72 kB / 1.035 GB, free: 4.969 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.1547, allocations: 19.97 kB / 1.035 GB, free: 4.949 MB / 0.9948 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.0001571/0.1548, allocations: 217.2 kB / 1.035 GB, free: 4.723 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.1549, allocations: 35.75 kB / 1.035 GB, free: 4.688 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.1549, allocations: 26.27 kB / 1.035 GB, free: 4.664 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1549, allocations: 0 / 1.035 GB, free: 4.664 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1549, allocations: 11.92 kB / 1.035 GB, free: 4.652 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1549, allocations: 4 kB / 1.035 GB, free: 4.648 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.1564, allocations: 0.8903 MB / 1.036 GB, free: 3.699 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1564, allocations: 4 kB / 1.036 GB, free: 3.695 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.1564, allocations: 11.98 kB / 1.036 GB, free: 3.684 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/0.1565, allocations: 71.62 kB / 1.036 GB, free: 3.609 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.1566, allocations: 11.98 kB / 1.036 GB, free: 3.598 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000719/0.1573, allocations: 0.9902 MB / 1.037 GB, free: 2.582 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1573, allocations: 0 / 1.037 GB, free: 2.582 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.1587, allocations: 0.7982 MB / 1.038 GB, free: 1.742 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.9e-05/0.1587, allocations: 51.77 kB / 1.038 GB, free: 1.691 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.1588, allocations: 7.984 kB / 1.038 GB, free: 1.684 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.1589, allocations: 15.94 kB / 1.038 GB, free: 1.668 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.1589, allocations: 11.92 kB / 1.038 GB, free: 1.656 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.1589, allocations: 11.98 kB / 1.038 GB, free: 1.645 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001375/0.1591, allocations: 235 kB / 1.038 GB, free: 1.414 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.1591, allocations: 0 / 1.038 GB, free: 1.414 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003256/0.1594, allocations: 123.8 kB / 1.038 GB, free: 1.293 MB / 0.9948 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.0002673/0.1597, allocations: 191.1 kB / 1.038 GB, free: 1.094 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000743/0.1604, allocations: 0.5472 MB / 1.039 GB, free: 0.4961 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1604, allocations: 4 kB / 1.039 GB, free: 0.4922 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002876/0.1607, allocations: 232.1 kB / 1.039 GB, free: 244 kB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.161, allocations: 74.78 kB / 1.039 GB, free: 172 kB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.1621, allocations: 0.5652 MB / 1.04 GB, free: 15.57 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.765e-05/0.1621, allocations: 92.53 kB / 1.04 GB, free: 15.46 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 7.452e-05/0.1622, allocations: 33.89 kB / 1.04 GB, free: 15.43 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.1623, allocations: 16.5 kB / 1.04 GB, free: 15.42 MB / 1.01 GB Notification: Performance of SimCode: time 9.61e-07/0.1623, allocations: 0 / 1.04 GB, free: 15.42 MB / 1.01 GB Notification: Performance of Templates: time 0.009393/0.1716, allocations: 7.842 MB / 1.047 GB, free: 7.66 MB / 1.01 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 -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: 6.378885745070875]