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.001145/0.001145, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001245/0.001245, allocations: 161 kB / 24.16 MB, free: 336 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 1.051/1.051, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.909/1.909, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.643e-06/1.643e-06, allocations: 0 / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.995e-05, allocations: 3.719 kB / 0.7601 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.006525/0.006545, allocations: 2.462 MB / 0.7625 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1375/0.144, allocations: 144.2 MB / 0.9034 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.1442, allocations: 4 kB / 0.9034 GB, free: 3.484 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004662/0.1446, allocations: 87.39 kB / 0.9035 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005062/0.1451, allocations: 242.4 kB / 0.9037 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.1463, allocations: 0.6305 MB / 0.9043 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004492/0.1467, allocations: 442.4 kB / 0.9047 GB, free: 2.094 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1468, allocations: 38.88 kB / 0.9048 GB, free: 2.055 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.1471, allocations: 247.4 kB / 0.905 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.1473, allocations: 171.6 kB / 0.9052 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.1474, allocations: 28 kB / 0.9052 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008333/0.1482, allocations: 0.612 MB / 0.9058 GB, free: 1.004 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.504e-05/0.1483, allocations: 83.7 kB / 0.9059 GB, free: 0.9219 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.964e-05/0.1484, allocations: 115.7 kB / 0.906 GB, free: 0.8086 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007608/0.1491, allocations: 0.6231 MB / 0.9066 GB, free: 188 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1492, allocations: 0 / 0.9066 GB, free: 188 kB / 0.8542 GB Notification: Performance of FrontEnd: time 1.552e-06/0.1492, allocations: 0 / 0.9066 GB, free: 188 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1492, allocations: 0 / 0.9066 GB, free: 188 kB / 0.8542 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.0009988/0.1502, allocations: 0.6523 MB / 0.9072 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.1502, allocations: 12.03 kB / 0.9072 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008617/0.1511, allocations: 196.6 kB / 0.9074 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.1514, allocations: 226.5 kB / 0.9076 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/0.1514, allocations: 50.2 kB / 0.9077 GB, free: 15 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.1514, allocations: 20.12 kB / 0.9077 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.1517, allocations: 188.6 kB / 0.9079 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1517, allocations: 0 / 0.9079 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1517, allocations: 8 kB / 0.9079 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.1517, allocations: 4 kB / 0.9079 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.445e-05/0.1518, allocations: 90.06 kB / 0.908 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.1529, allocations: 0.6402 MB / 0.9086 GB, free: 14 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.1532, allocations: 172.1 kB / 0.9088 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.912e-05/0.1533, allocations: 64.73 kB / 0.9088 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.1533, allocations: 4 kB / 0.9088 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.1535, allocations: 169.5 kB / 0.909 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.233e-06/0.1535, allocations: 0 / 0.909 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.001096/0.1546, allocations: 445.4 kB / 0.9094 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.1546, allocations: 85.09 kB / 0.9095 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.1548, allocations: 278.8 kB / 0.9098 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.1548, allocations: 33.7 kB / 0.9098 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.1549, allocations: 133.4 kB / 0.9099 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.1549, allocations: 59.47 kB / 0.91 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.155, allocations: 85.89 kB / 0.9101 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002484/0.1552, allocations: 342.8 kB / 0.9104 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.1554, allocations: 77.11 kB / 0.9105 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.1555, allocations: 237.9 kB / 0.9107 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.1557, allocations: 208.5 kB / 0.9109 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1557, allocations: 0 / 0.9109 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008904/0.1566, allocations: 454.8 kB / 0.9113 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/0.1566, allocations: 41.69 kB / 0.9114 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1566, allocations: 0 / 0.9114 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005255/0.1571, allocations: 193.7 kB / 0.9116 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1573, allocations: 47.91 kB / 0.9116 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.1586, allocations: 1.96 MB / 0.9135 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.1588, allocations: 39.77 kB / 0.9136 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.1588, allocations: 11.98 kB / 0.9136 GB, free: 8.559 MB / 0.8698 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.nextEventScaled,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,$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.0001436/0.1589, allocations: 178.3 kB / 0.9137 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.159, allocations: 24.17 kB / 0.9138 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.159, allocations: 22.25 kB / 0.9138 GB, free: 8.316 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.159, allocations: 7.984 kB / 0.9138 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.159, allocations: 7.875 kB / 0.9138 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.159, allocations: 0 / 0.9138 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000786/0.1598, allocations: 0.5687 MB / 0.9144 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1598, allocations: 0 / 0.9144 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/0.1598, allocations: 16 kB / 0.9144 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/0.16, allocations: 64.8 kB / 0.9144 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.16, allocations: 7.984 kB / 0.9144 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003422/0.1603, allocations: 0.6679 MB / 0.9151 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1603, allocations: 0 / 0.9151 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007173/0.161, allocations: 0.5259 MB / 0.9156 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.67e-05/0.1611, allocations: 47.77 kB / 0.9156 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.1611, allocations: 4 kB / 0.9157 GB, free: 6.297 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1612, allocations: 11.98 kB / 0.9157 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.1613, allocations: 12.02 kB / 0.9157 GB, free: 6.273 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.1613, allocations: 11.98 kB / 0.9157 GB, free: 6.262 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.131e-05/0.1614, allocations: 96.64 kB / 0.9158 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.1614, allocations: 0 / 0.9158 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002988/0.1617, allocations: 123.8 kB / 0.9159 GB, free: 6.043 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (eva.m,int.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,eva.off,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,mAir_flow.nextEventScaled) * 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.0002461/0.1619, allocations: 178.5 kB / 0.9161 GB, free: 5.863 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006316/0.1626, allocations: 470.5 kB / 0.9165 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.1626, allocations: 4 kB / 0.9165 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.1628, allocations: 206.5 kB / 0.9167 GB, free: 5.133 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.1631, allocations: 68.84 kB / 0.9168 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.1642, allocations: 0.5798 MB / 0.9173 GB, free: 4.453 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.917e-05/0.1642, allocations: 88.53 kB / 0.9174 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.475e-05/0.1643, allocations: 21.95 kB / 0.9175 GB, free: 4.324 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.1645, allocations: 121.3 kB / 0.9176 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of SimCode: time 1.182e-06/0.1645, allocations: 0 / 0.9176 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of Templates: time 0.009952/0.1744, allocations: 8.43 MB / 0.9258 GB, free: 11.91 MB / 0.8855 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 -s gbode -gbm=radauIIA3 -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.301417574286461]