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.001087/0.001087, 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.001697/0.001697, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9672/0.9672, allocations: 177.2 MB / 203.4 MB, free: 5.637 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.026/2.026, allocations: 429.5 MB / 0.6733 GB, free: 4.02 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 1.713e-06/1.713e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.562e-05, allocations: 3.375 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.002733/0.002758, allocations: 2.451 MB / 0.8806 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1221/0.1249, allocations: 144.9 MB / 1.022 GB, free: 2.461 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.125, allocations: 4 kB / 1.022 GB, free: 2.457 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.1254, allocations: 95.33 kB / 1.022 GB, free: 2.363 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0006102/0.126, allocations: 254.3 kB / 1.022 GB, free: 2.113 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.1272, allocations: 0.6423 MB / 1.023 GB, free: 1.469 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.1276, allocations: 450.7 kB / 1.023 GB, free: 1.027 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 9.498e-05/0.1277, allocations: 28.92 kB / 1.023 GB, free: 1 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.128, allocations: 251.5 kB / 1.024 GB, free: 0.7539 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.1282, allocations: 175.5 kB / 1.024 GB, free: 0.582 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/0.1283, allocations: 28 kB / 1.024 GB, free: 0.5547 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008317/0.1291, allocations: 0.5847 MB / 1.024 GB, free: 15.97 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 8.584e-05/0.1292, allocations: 83.7 kB / 1.025 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.1293, allocations: 119.7 kB / 1.025 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007893/0.1301, allocations: 0.6386 MB / 1.025 GB, free: 15.13 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1301, allocations: 0 / 1.025 GB, free: 15.13 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1301, allocations: 3.938 kB / 1.025 GB, free: 15.12 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.1301, 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.00104/0.1311, allocations: 0.796 MB / 1.026 GB, free: 14.28 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1312, allocations: 8.031 kB / 1.026 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009021/0.1321, allocations: 188.5 kB / 1.026 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.1324, allocations: 269.4 kB / 1.027 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/0.1325, allocations: 42.27 kB / 1.027 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.1325, allocations: 36.05 kB / 1.027 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.1328, allocations: 203.3 kB / 1.027 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1328, allocations: 0 / 1.027 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.1328, allocations: 0 / 1.027 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1328, allocations: 4 kB / 1.027 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.1329, allocations: 103.4 kB / 1.027 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.1342, allocations: 0.9775 MB / 1.028 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.1346, allocations: 152.7 kB / 1.028 GB, free: 12.19 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.1349, allocations: 69.38 kB / 1.028 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.135, allocations: 7.984 kB / 1.028 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.1352, allocations: 181.2 kB / 1.028 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.1352, allocations: 0 / 1.028 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.00187/0.137, allocations: 0.6829 MB / 1.029 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.1371, allocations: 89.09 kB / 1.029 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.1373, allocations: 358.2 kB / 1.029 GB, free: 10.72 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.1373, allocations: 29.7 kB / 1.029 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.1374, allocations: 207.7 kB / 1.03 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.1375, allocations: 55.55 kB / 1.03 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.1376, allocations: 91.59 kB / 1.03 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1377, allocations: 0.5118 MB / 1.03 GB, free: 9.793 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.1378, allocations: 98.25 kB / 1.03 GB, free: 9.691 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.138, allocations: 276 kB / 1.031 GB, free: 9.371 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.1383, allocations: 259.3 kB / 1.031 GB, free: 9.086 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1383, allocations: 0 / 1.031 GB, free: 9.086 MB / 0.9948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001583/0.1399, allocations: 0.7082 MB / 1.032 GB, free: 8.352 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.1399, allocations: 45.75 kB / 1.032 GB, free: 8.301 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1399, allocations: 3.938 kB / 1.032 GB, free: 8.297 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005786/0.1405, allocations: 207.2 kB / 1.032 GB, free: 8.086 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1406, allocations: 39.92 kB / 1.032 GB, free: 8.047 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.1423, allocations: 2.881 MB / 1.035 GB, free: 5.008 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.1425, allocations: 39.72 kB / 1.035 GB, free: 4.969 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.1426, allocations: 19.98 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.0001523/0.1427, allocations: 218.2 kB / 1.035 GB, free: 4.719 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.1428, allocations: 39.73 kB / 1.035 GB, free: 4.68 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.1428, allocations: 26.27 kB / 1.035 GB, free: 4.656 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1428, allocations: 0 / 1.035 GB, free: 4.656 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1428, allocations: 4 kB / 1.035 GB, free: 4.652 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1428, allocations: 7.984 kB / 1.035 GB, free: 4.645 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.1445, allocations: 0.8936 MB / 1.036 GB, free: 3.695 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1445, allocations: 4 kB / 1.036 GB, free: 3.691 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.793e-05/0.1446, allocations: 11.98 kB / 1.036 GB, free: 3.68 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001243/0.1447, allocations: 75.61 kB / 1.036 GB, free: 3.602 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.1447, allocations: 11.98 kB / 1.036 GB, free: 3.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004497/0.1452, allocations: 0.9791 MB / 1.037 GB, free: 2.582 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1452, allocations: 0 / 1.037 GB, free: 2.582 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.1466, allocations: 0.8022 MB / 1.038 GB, free: 1.738 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.009e-05/0.1467, allocations: 51.77 kB / 1.038 GB, free: 1.688 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.1467, allocations: 4 kB / 1.038 GB, free: 1.684 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.1468, allocations: 15.98 kB / 1.038 GB, free: 1.668 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.1469, allocations: 11.92 kB / 1.038 GB, free: 1.656 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.1469, allocations: 11.98 kB / 1.038 GB, free: 1.645 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000145/0.147, allocations: 235 kB / 1.038 GB, free: 1.414 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.147, allocations: 0 / 1.038 GB, free: 1.414 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003741/0.1474, 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.000278/0.1477, allocations: 205.5 kB / 1.038 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0007794/0.1485, allocations: 0.5472 MB / 1.039 GB, free: 496 kB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1485, allocations: 4 kB / 1.039 GB, free: 492 kB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.1488, allocations: 228.2 kB / 1.039 GB, free: 236 kB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.1491, allocations: 74.91 kB / 1.039 GB, free: 164 kB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.1502, allocations: 0.5614 MB / 1.04 GB, free: 15.57 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.12e-05/0.1502, allocations: 88.55 kB / 1.04 GB, free: 15.46 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 8.755e-05/0.1503, allocations: 37.88 kB / 1.04 GB, free: 15.43 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/0.1503, allocations: 16.5 kB / 1.04 GB, free: 15.41 MB / 1.01 GB Notification: Performance of SimCode: time 7.72e-07/0.1503, allocations: 0 / 1.04 GB, free: 15.41 MB / 1.01 GB Notification: Performance of Templates: time 0.01048/0.1608, allocations: 8.551 MB / 1.048 GB, free: 6.953 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: 5.90554421627894]