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.001515/0.001515, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001812/0.001812, allocations: 167.4 kB / 24.86 MB, free: 9.23 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.025/1.025, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.939/1.939, allocations: 377.9 MB / 0.6247 GB, free: 8.43 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.252e-06/1.252e-06, allocations: 0 / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.164e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.002746/0.002767, allocations: 2.402 MB / 0.8152 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.118/0.1207, allocations: 142.1 MB / 0.954 GB, free: 436 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.1209, allocations: 0 / 0.954 GB, free: 436 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.1212, allocations: 91.33 kB / 0.954 GB, free: 344 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0005746/0.1218, allocations: 258.3 kB / 0.9543 GB, free: 84 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.1231, allocations: 0.6384 MB / 0.9549 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004423/0.1235, allocations: 446.4 kB / 0.9553 GB, free: 15 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 9.744e-05/0.1236, allocations: 36.81 kB / 0.9554 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.1239, allocations: 259.5 kB / 0.9556 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.1241, allocations: 167.6 kB / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.054e-05/0.1242, allocations: 28 kB / 0.9558 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000913/0.1251, allocations: 0.5808 MB / 0.9564 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.312e-05/0.1252, allocations: 83.7 kB / 0.9565 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.1253, allocations: 115.7 kB / 0.9566 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007961/0.1261, allocations: 0.6347 MB / 0.9572 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1261, allocations: 3.938 kB / 0.9572 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.32e-07/0.1261, allocations: 4 kB / 0.9572 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.1261, allocations: 0 / 0.9572 GB, free: 13.1 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.001168/0.1272, allocations: 0.7963 MB / 0.958 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.1273, allocations: 8.031 kB / 0.958 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000913/0.1282, allocations: 192.5 kB / 0.9582 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.1285, allocations: 257.3 kB / 0.9584 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.666e-05/0.1286, allocations: 62.19 kB / 0.9585 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.1286, allocations: 24.11 kB / 0.9585 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.1288, allocations: 182.3 kB / 0.9587 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1288, allocations: 0 / 0.9587 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1289, allocations: 8 kB / 0.9587 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1289, allocations: 4 kB / 0.9587 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.827e-05/0.129, allocations: 85.81 kB / 0.9588 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.1302, allocations: 0.9158 MB / 0.9596 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.1306, allocations: 140.6 kB / 0.9598 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.434e-05/0.1306, allocations: 73.36 kB / 0.9599 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.1306, allocations: 0 / 0.9599 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.1308, allocations: 176.4 kB / 0.96 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=19): time 1.302e-06/0.1308, allocations: 0 / 0.96 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.001978/0.1328, allocations: 0.6678 MB / 0.9607 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.1328, allocations: 81.11 kB / 0.9607 GB, free: 9.203 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.1331, allocations: 350 kB / 0.9611 GB, free: 8.844 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.1331, allocations: 33.7 kB / 0.9611 GB, free: 8.805 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.1333, allocations: 207.6 kB / 0.9613 GB, free: 8.598 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.1333, allocations: 63.47 kB / 0.9614 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.1334, allocations: 95.55 kB / 0.9615 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1336, allocations: 0.5157 MB / 0.962 GB, free: 7.902 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.1338, allocations: 82.27 kB / 0.962 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.134, allocations: 260 kB / 0.9623 GB, free: 7.512 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.1342, allocations: 235.9 kB / 0.9625 GB, free: 7.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1342, allocations: 0 / 0.9625 GB, free: 7.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00167/0.1359, allocations: 0.6808 MB / 0.9632 GB, free: 6.543 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.367e-05/0.1359, allocations: 41.69 kB / 0.9632 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1359, allocations: 0 / 0.9632 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005929/0.1365, allocations: 207.2 kB / 0.9634 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1367, allocations: 35.92 kB / 0.9635 GB, free: 6.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.1385, allocations: 2.856 MB / 0.9662 GB, free: 3.238 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.1387, allocations: 39.77 kB / 0.9663 GB, free: 3.199 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.1388, allocations: 20.02 kB / 0.9663 GB, free: 3.18 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.0001604/0.1389, allocations: 212.6 kB / 0.9665 GB, free: 2.957 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.139, allocations: 35.81 kB / 0.9665 GB, free: 2.922 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.139, allocations: 30.25 kB / 0.9666 GB, free: 2.895 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.139, allocations: 3.938 kB / 0.9666 GB, free: 2.891 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.139, allocations: 0 / 0.9666 GB, free: 2.891 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.139, allocations: 0 / 0.9666 GB, free: 2.891 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.1405, allocations: 0.8401 MB / 0.9674 GB, free: 2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1405, allocations: 4 kB / 0.9674 GB, free: 1.996 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.1405, allocations: 4 kB / 0.9674 GB, free: 1.992 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001168/0.1407, allocations: 75.7 kB / 0.9675 GB, free: 1.914 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.1407, allocations: 15.92 kB / 0.9675 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004383/0.1411, allocations: 0.9815 MB / 0.9684 GB, free: 0.8906 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1411, allocations: 0 / 0.9684 GB, free: 0.8906 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.1425, allocations: 0.7742 MB / 0.9692 GB, free: 76 kB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.553e-05/0.1426, allocations: 51.77 kB / 0.9693 GB, free: 24 kB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.1426, allocations: 8 kB / 0.9693 GB, free: 16 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.1427, allocations: 15.97 kB / 0.9693 GB, free: 0 / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.1428, allocations: 15.97 kB / 0.9693 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.1428, allocations: 4 kB / 0.9693 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001178/0.1429, allocations: 226.9 kB / 0.9695 GB, free: 15.76 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1429, allocations: 0 / 0.9695 GB, free: 15.76 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003541/0.1432, allocations: 123.7 kB / 0.9696 GB, free: 15.64 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.0002648/0.1435, allocations: 195 kB / 0.9698 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006975/0.1442, allocations: 0.5193 MB / 0.9703 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1442, allocations: 0 / 0.9703 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002894/0.1445, allocations: 216.7 kB / 0.9705 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.1448, allocations: 74.56 kB / 0.9706 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009895/0.1458, allocations: 0.5705 MB / 0.9712 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.094e-05/0.1458, allocations: 84.55 kB / 0.9712 GB, free: 13.86 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 8.781e-05/0.1459, allocations: 25.95 kB / 0.9713 GB, free: 13.83 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/0.1463, allocations: 146.1 kB / 0.9714 GB, free: 13.69 MB / 0.9323 GB Notification: Performance of SimCode: time 6.41e-07/0.1463, allocations: 3.938 kB / 0.9714 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of Templates: time 0.01053/0.1568, allocations: 8.626 MB / 0.9798 GB, free: 5.164 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.482856827788055]