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.001144/0.001144, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001282/0.001282, allocations: 169 kB / 23.82 MB, free: 0.7383 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.9537/0.9537, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.81/1.81, allocations: 377.8 MB / 0.6236 GB, free: 8.57 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.603e-06/1.603e-06, allocations: 0 / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.687e-05/3.847e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003512/0.00355, allocations: 2.433 MB / 0.814 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1254/0.129, allocations: 144.8 MB / 0.9554 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.1292, allocations: 7.938 kB / 0.9554 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003627/0.1295, allocations: 91.38 kB / 0.9555 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0005925/0.1301, allocations: 250.3 kB / 0.9557 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.1314, allocations: 0.6423 MB / 0.9564 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004822/0.1318, allocations: 450.4 kB / 0.9568 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1319, allocations: 40.75 kB / 0.9568 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.1322, allocations: 247.5 kB / 0.9571 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.1325, allocations: 171.6 kB / 0.9572 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.1325, allocations: 28 kB / 0.9573 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009133/0.1335, allocations: 0.5886 MB / 0.9578 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.075e-05/0.1335, allocations: 79.72 kB / 0.9579 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.1337, allocations: 115.7 kB / 0.958 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0008628/0.1345, allocations: 0.6308 MB / 0.9586 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1345, allocations: 4 kB / 0.9586 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1345, allocations: 0 / 0.9586 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.1345, allocations: 0 / 0.9586 GB, free: 10.62 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.001129/0.1357, allocations: 0.7963 MB / 0.9594 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1357, allocations: 12.03 kB / 0.9594 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000918/0.1366, allocations: 184.5 kB / 0.9596 GB, free: 9.586 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.137, allocations: 277.3 kB / 0.9599 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.605e-05/0.1371, allocations: 42.27 kB / 0.9599 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.1371, allocations: 24.12 kB / 0.9599 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.1374, allocations: 206.2 kB / 0.9601 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1374, allocations: 0 / 0.9601 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.1374, allocations: 4 kB / 0.9601 GB, free: 8.988 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.1374, allocations: 0 / 0.9601 GB, free: 8.988 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.1375, allocations: 97.83 kB / 0.9602 GB, free: 8.887 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.1389, allocations: 0.9699 MB / 0.9612 GB, free: 7.871 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.1393, allocations: 148.7 kB / 0.9613 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.301e-05/0.1394, allocations: 73.38 kB / 0.9614 GB, free: 7.625 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.1394, allocations: 7.984 kB / 0.9614 GB, free: 7.617 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.1396, allocations: 191 kB / 0.9616 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=19): time 2.775e-06/0.1396, allocations: 0 / 0.9616 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.002167/0.1418, allocations: 0.6771 MB / 0.9622 GB, free: 6.699 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.1418, allocations: 85.09 kB / 0.9623 GB, free: 6.598 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.142, allocations: 362.1 kB / 0.9627 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.1421, allocations: 33.7 kB / 0.9627 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1422, allocations: 207.6 kB / 0.9629 GB, free: 5.977 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.1422, allocations: 59.53 kB / 0.9629 GB, free: 5.918 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.1423, allocations: 91.59 kB / 0.963 GB, free: 5.816 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1424, allocations: 0.5118 MB / 0.9635 GB, free: 5.293 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.1426, allocations: 102.2 kB / 0.9636 GB, free: 5.188 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.1428, allocations: 272.6 kB / 0.9639 GB, free: 4.871 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.143, allocations: 255.6 kB / 0.9641 GB, free: 4.59 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.143, allocations: 0 / 0.9641 GB, free: 4.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001579/0.1446, allocations: 0.7118 MB / 0.9648 GB, free: 3.852 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.1447, allocations: 41.69 kB / 0.9649 GB, free: 3.805 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1447, allocations: 4.062 kB / 0.9649 GB, free: 3.801 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005745/0.1452, allocations: 199.2 kB / 0.9651 GB, free: 3.598 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.1454, allocations: 47.86 kB / 0.9651 GB, free: 3.551 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.1471, allocations: 2.882 MB / 0.9679 GB, free: 0.5039 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.1473, allocations: 43.8 kB / 0.968 GB, free: 472 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.1474, allocations: 19.98 kB / 0.968 GB, free: 452 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.0001674/0.1475, allocations: 212.6 kB / 0.9682 GB, free: 224 kB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.1476, allocations: 39.75 kB / 0.9682 GB, free: 184 kB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.1476, allocations: 22.25 kB / 0.9682 GB, free: 164 kB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1476, allocations: 4 kB / 0.9683 GB, free: 160 kB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.1476, allocations: 3.938 kB / 0.9683 GB, free: 156 kB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1476, allocations: 7.984 kB / 0.9683 GB, free: 148 kB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.1494, allocations: 0.8908 MB / 0.9691 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.1494, allocations: 4 kB / 0.9691 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.613e-05/0.1494, allocations: 11.94 kB / 0.9691 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001281/0.1496, allocations: 79.69 kB / 0.9692 GB, free: 15.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.1496, allocations: 8 kB / 0.9692 GB, free: 15.09 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004478/0.15, allocations: 0.9831 MB / 0.9702 GB, free: 14.08 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.15, allocations: 0 / 0.9702 GB, free: 14.08 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.1514, allocations: 0.7989 MB / 0.971 GB, free: 13.24 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 8.691e-05/0.1515, allocations: 51.8 kB / 0.971 GB, free: 13.19 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.1515, allocations: 8 kB / 0.971 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.1516, allocations: 15.98 kB / 0.971 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.1517, allocations: 11.92 kB / 0.9711 GB, free: 13.15 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.1517, allocations: 7.984 kB / 0.9711 GB, free: 13.14 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001434/0.1518, allocations: 239 kB / 0.9713 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1518, allocations: 0 / 0.9713 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000362/0.1522, allocations: 115.8 kB / 0.9714 GB, free: 12.8 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.0003039/0.1525, allocations: 202.9 kB / 0.9716 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007952/0.1533, allocations: 0.5465 MB / 0.9721 GB, free: 11.99 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1533, allocations: 4 kB / 0.9721 GB, free: 11.99 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002934/0.1536, allocations: 216.3 kB / 0.9723 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.1539, allocations: 76.66 kB / 0.9724 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.155, allocations: 0.5736 MB / 0.973 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.543e-05/0.1551, allocations: 92.53 kB / 0.9731 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 8.796e-05/0.1551, allocations: 21.95 kB / 0.9731 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.123e-05/0.1552, allocations: 28.48 kB / 0.9731 GB, free: 10.92 MB / 0.9323 GB Notification: Performance of SimCode: time 1.452e-06/0.1552, allocations: 4 kB / 0.9731 GB, free: 10.91 MB / 0.9323 GB Notification: Performance of Templates: time 0.0107/0.1659, allocations: 8.489 MB / 0.9814 GB, free: 2.531 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.252334827091545]