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.001529/0.001529, 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.001203/0.001203, 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.9714/0.9714, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.8 MB / 0.6236 GB, free: 8.531 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 3.116e-06/3.116e-06, allocations: 4 kB / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.357e-05, allocations: 3.312 kB / 0.8116 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.002751/0.002774, allocations: 2.428 MB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1213/0.1241, allocations: 144.8 MB / 0.9554 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.1243, allocations: 4 kB / 0.9554 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003846/0.1246, allocations: 91.33 kB / 0.9555 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0005835/0.1252, allocations: 254.4 kB / 0.9557 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.1264, allocations: 0.6423 MB / 0.9564 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004446/0.1269, allocations: 450.4 kB / 0.9568 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.127, allocations: 36.81 kB / 0.9568 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.1272, allocations: 247.5 kB / 0.9571 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.1275, allocations: 171.6 kB / 0.9572 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.821e-05/0.1275, allocations: 28 kB / 0.9572 GB, free: 12 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007887/0.1283, allocations: 0.5847 MB / 0.9578 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.746e-05/0.1284, allocations: 79.72 kB / 0.9579 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.1285, allocations: 123.7 kB / 0.958 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000779/0.1293, allocations: 0.6308 MB / 0.9586 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1293, allocations: 0 / 0.9586 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1293, allocations: 0 / 0.9586 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.1293, allocations: 0 / 0.9586 GB, free: 10.59 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.001084/0.1304, allocations: 0.7924 MB / 0.9594 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1304, allocations: 8.031 kB / 0.9594 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009101/0.1313, allocations: 196.5 kB / 0.9596 GB, free: 9.547 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.1317, allocations: 269.4 kB / 0.9599 GB, free: 9.258 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.559e-05/0.1318, allocations: 46.2 kB / 0.9599 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/0.1318, allocations: 28.12 kB / 0.9599 GB, free: 9.18 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.1321, allocations: 194.3 kB / 0.9601 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1321, allocations: 0 / 0.9601 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.1321, allocations: 11.94 kB / 0.9601 GB, free: 8.953 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.1321, allocations: 4 kB / 0.9601 GB, free: 8.949 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.1322, allocations: 93.83 kB / 0.9602 GB, free: 8.852 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.1336, allocations: 0.9699 MB / 0.9612 GB, free: 7.836 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.134, allocations: 144.7 kB / 0.9613 GB, free: 7.676 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.272e-05/0.1341, allocations: 81.36 kB / 0.9614 GB, free: 7.586 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.1341, allocations: 7.938 kB / 0.9614 GB, free: 7.578 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.1343, allocations: 182.8 kB / 0.9616 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.1343, allocations: 0 / 0.9616 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.002075/0.1364, allocations: 0.6809 MB / 0.9622 GB, free: 6.664 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.1364, allocations: 81.11 kB / 0.9623 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.1366, allocations: 362.2 kB / 0.9626 GB, free: 6.191 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.1367, allocations: 33.7 kB / 0.9627 GB, free: 6.152 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.1368, allocations: 207.6 kB / 0.9629 GB, free: 5.945 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.1368, allocations: 59.53 kB / 0.9629 GB, free: 5.887 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.1369, allocations: 87.59 kB / 0.963 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.137, allocations: 0.5079 MB / 0.9635 GB, free: 5.27 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.1372, allocations: 110.2 kB / 0.9636 GB, free: 5.156 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.1374, allocations: 272.6 kB / 0.9639 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.1376, allocations: 255.7 kB / 0.9641 GB, free: 4.559 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1376, allocations: 0 / 0.9641 GB, free: 4.559 MB / 0.9167 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001621/0.1392, allocations: 0.7196 MB / 0.9648 GB, free: 3.812 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.1393, allocations: 41.69 kB / 0.9649 GB, free: 3.766 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.1393, allocations: 4.062 kB / 0.9649 GB, free: 3.762 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005882/0.1399, allocations: 199.2 kB / 0.9651 GB, free: 3.559 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.14, allocations: 43.92 kB / 0.9651 GB, free: 3.516 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.1417, allocations: 2.882 MB / 0.9679 GB, free: 480 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.1418, allocations: 43.8 kB / 0.968 GB, free: 436 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.1419, allocations: 19.98 kB / 0.968 GB, free: 416 kB / 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.0001446/0.142, allocations: 220.9 kB / 0.9682 GB, free: 180 kB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.1421, allocations: 39.75 kB / 0.9682 GB, free: 140 kB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.1421, allocations: 18.27 kB / 0.9682 GB, free: 124 kB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1421, allocations: 4 kB / 0.9682 GB, free: 120 kB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.1421, allocations: 4 kB / 0.9683 GB, free: 116 kB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1421, allocations: 3.984 kB / 0.9683 GB, free: 112 kB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.1437, allocations: 0.8981 MB / 0.9691 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1437, allocations: 0 / 0.9691 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.353e-05/0.1438, allocations: 11.98 kB / 0.9691 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001233/0.1439, allocations: 79.7 kB / 0.9692 GB, free: 15.06 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.1439, allocations: 11.98 kB / 0.9692 GB, free: 15.05 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004434/0.1443, allocations: 0.9753 MB / 0.9702 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1443, allocations: 0 / 0.9702 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.1457, allocations: 0.8031 MB / 0.971 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.1458, allocations: 51.77 kB / 0.971 GB, free: 13.15 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.1458, allocations: 8 kB / 0.971 GB, free: 13.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.1459, allocations: 11.98 kB / 0.971 GB, free: 13.13 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.146, allocations: 11.92 kB / 0.971 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.146, allocations: 11.98 kB / 0.9711 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000136/0.1461, allocations: 235 kB / 0.9713 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.1461, allocations: 0 / 0.9713 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003202/0.1465, allocations: 119.8 kB / 0.9714 GB, free: 12.76 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.0002588/0.1467, allocations: 205.6 kB / 0.9716 GB, free: 12.55 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007552/0.1475, allocations: 0.5426 MB / 0.9721 GB, free: 11.95 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.1475, allocations: 0 / 0.9721 GB, free: 11.95 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002972/0.1478, allocations: 228.2 kB / 0.9723 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.1481, allocations: 72.8 kB / 0.9724 GB, free: 11.63 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.1491, allocations: 0.5679 MB / 0.973 GB, free: 11.04 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.872e-05/0.1491, allocations: 88.55 kB / 0.973 GB, free: 10.93 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 7.701e-05/0.1492, allocations: 21.95 kB / 0.9731 GB, free: 10.91 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.1493, allocations: 24.48 kB / 0.9731 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of SimCode: time 6.81e-07/0.1493, allocations: 4 kB / 0.9731 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of Templates: time 0.01152/0.1608, allocations: 7.789 MB / 0.9807 GB, free: 3.199 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.633497855160385]