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.001127/0.001127, allocations: 82.64 kB / 20.68 MB, free: 3.82 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.001237/0.001237, allocations: 185 kB / 24.09 MB, free: 424 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.9872/0.9872, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.841/1.841, allocations: 377.9 MB / 0.624 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.503e-06/1.503e-06, allocations: 0 / 0.8121 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.156e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.00383/0.003861, allocations: 2.404 MB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1191/0.1229, allocations: 142.1 MB / 0.9532 GB, free: 408 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.1231, allocations: 4 kB / 0.9532 GB, free: 404 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.1234, allocations: 91.39 kB / 0.9533 GB, free: 312 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0005719/0.124, allocations: 250.3 kB / 0.9535 GB, free: 60 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.1252, allocations: 0.6463 MB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004321/0.1256, allocations: 442.4 kB / 0.9546 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 9.889e-05/0.1257, allocations: 36.81 kB / 0.9546 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/0.126, allocations: 255.4 kB / 0.9549 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.1262, allocations: 163.7 kB / 0.955 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.228e-05/0.1263, allocations: 28 kB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008179/0.1271, allocations: 0.5886 MB / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.193e-05/0.1272, allocations: 83.72 kB / 0.9557 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.483e-05/0.1273, allocations: 119.7 kB / 0.9558 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007271/0.128, allocations: 0.623 MB / 0.9564 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.128, allocations: 4 kB / 0.9564 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.002e-06/0.128, allocations: 0 / 0.9564 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.128, allocations: 0 / 0.9564 GB, free: 13.08 MB / 0.9167 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.0009758/0.129, allocations: 0.804 MB / 0.9572 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.129, allocations: 12.03 kB / 0.9572 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008594/0.1299, allocations: 192.5 kB / 0.9574 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.1302, allocations: 265.3 kB / 0.9576 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/0.1302, allocations: 50.25 kB / 0.9577 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.1303, allocations: 24.12 kB / 0.9577 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.1305, allocations: 186.3 kB / 0.9579 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1305, allocations: 0 / 0.9579 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.1305, allocations: 8 kB / 0.9579 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1305, allocations: 0 / 0.9579 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.572e-05/0.1306, allocations: 89.83 kB / 0.958 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.1318, allocations: 0.9234 MB / 0.9589 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.1322, allocations: 147.9 kB / 0.959 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.113e-05/0.1323, allocations: 65.38 kB / 0.9591 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.1323, allocations: 7.984 kB / 0.9591 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.1324, allocations: 174.6 kB / 0.9593 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=19): time 2.204e-06/0.1324, allocations: 0 / 0.9593 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.001783/0.1342, allocations: 0.6614 MB / 0.9599 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.1343, allocations: 89.09 kB / 0.96 GB, free: 9.164 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.1345, allocations: 350.1 kB / 0.9603 GB, free: 8.805 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.1345, allocations: 37.69 kB / 0.9604 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.809e-05/0.1346, allocations: 207.6 kB / 0.9606 GB, free: 8.555 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.1346, allocations: 55.53 kB / 0.9606 GB, free: 8.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.1347, allocations: 91.55 kB / 0.9607 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1349, allocations: 0.5196 MB / 0.9612 GB, free: 7.867 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.135, allocations: 82.25 kB / 0.9613 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.1351, allocations: 260 kB / 0.9615 GB, free: 7.477 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.1353, allocations: 227.9 kB / 0.9618 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1353, allocations: 0 / 0.9618 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001529/0.1369, allocations: 0.7003 MB / 0.9624 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.1369, allocations: 37.69 kB / 0.9625 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1369, allocations: 4 kB / 0.9625 GB, free: 6.449 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/0.1374, allocations: 195.3 kB / 0.9627 GB, free: 6.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1375, allocations: 39.91 kB / 0.9627 GB, free: 6.211 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.1392, allocations: 2.872 MB / 0.9655 GB, free: 3.188 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.1394, allocations: 31.78 kB / 0.9655 GB, free: 3.156 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.1394, allocations: 19.97 kB / 0.9656 GB, free: 3.137 MB / 0.9167 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.0001536/0.1396, allocations: 214.2 kB / 0.9658 GB, free: 2.91 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.1396, allocations: 35.81 kB / 0.9658 GB, free: 2.875 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.1397, allocations: 30.25 kB / 0.9658 GB, free: 2.848 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1397, allocations: 7.938 kB / 0.9658 GB, free: 2.84 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.1397, allocations: 0 / 0.9658 GB, free: 2.84 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1397, allocations: 0 / 0.9658 GB, free: 2.84 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.1411, allocations: 0.8454 MB / 0.9667 GB, free: 1.945 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1411, allocations: 0 / 0.9667 GB, free: 1.945 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.1411, allocations: 8 kB / 0.9667 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/0.1412, allocations: 75.55 kB / 0.9667 GB, free: 1.859 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.1412, allocations: 15.92 kB / 0.9668 GB, free: 1.844 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004339/0.1417, allocations: 0.9753 MB / 0.9677 GB, free: 0.8398 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.1417, allocations: 7.984 kB / 0.9677 GB, free: 0.832 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.143, allocations: 0.7709 MB / 0.9685 GB, free: 20 kB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.81e-05/0.1431, allocations: 55.84 kB / 0.9685 GB, free: 15.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.1431, allocations: 11.98 kB / 0.9685 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.1432, allocations: 4 kB / 0.9685 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.1432, allocations: 15.92 kB / 0.9686 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.1433, allocations: 7.984 kB / 0.9686 GB, free: 15.92 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001167/0.1434, allocations: 226.8 kB / 0.9688 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.1434, allocations: 0 / 0.9688 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003517/0.1437, allocations: 127.8 kB / 0.9689 GB, free: 15.58 MB / 0.9323 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.0002599/0.144, allocations: 191 kB / 0.9691 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006685/0.1447, allocations: 0.5191 MB / 0.9696 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1447, allocations: 0 / 0.9696 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002756/0.1449, allocations: 224.4 kB / 0.9698 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.1452, allocations: 56.55 kB / 0.9699 GB, free: 14.51 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009675/0.1462, allocations: 0.5802 MB / 0.9704 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.778e-05/0.1462, allocations: 88.55 kB / 0.9705 GB, free: 13.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 9.077e-05/0.1463, allocations: 29.94 kB / 0.9705 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.1465, allocations: 150.1 kB / 0.9707 GB, free: 13.62 MB / 0.9323 GB Notification: Performance of SimCode: time 8.32e-07/0.1465, allocations: 0 / 0.9707 GB, free: 13.62 MB / 0.9323 GB Notification: Performance of Templates: time 0.01005/0.1566, allocations: 8.461 MB / 0.9789 GB, free: 5.297 MB / 0.9323 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.263996037654579]