Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001553/0.001553, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001694/0.001694, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9151/0.9151, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.656/1.656, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.7871 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.554e-05, allocations: 5.953 kB / 0.7871 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.005942/0.005957, allocations: 2.439 MB / 0.7895 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1402/0.1462, allocations: 144.8 MB / 0.931 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.1463, allocations: 7.938 kB / 0.931 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.1467, allocations: 91.39 kB / 0.9311 GB, free: 8.465 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0005216/0.1472, allocations: 250.4 kB / 0.9313 GB, free: 8.219 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.1483, allocations: 0.6384 MB / 0.9319 GB, free: 7.578 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0003966/0.1487, allocations: 450.4 kB / 0.9324 GB, free: 7.137 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 9.461e-05/0.1488, allocations: 28.92 kB / 0.9324 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.149, allocations: 255.4 kB / 0.9326 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.1492, allocations: 167.7 kB / 0.9328 GB, free: 6.691 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.208e-05/0.1493, allocations: 28 kB / 0.9328 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007457/0.15, allocations: 0.5923 MB / 0.9334 GB, free: 6.07 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 7.909e-05/0.1501, allocations: 83.72 kB / 0.9335 GB, free: 5.988 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.1502, allocations: 115.7 kB / 0.9336 GB, free: 5.875 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0006751/0.1509, allocations: 0.627 MB / 0.9342 GB, free: 5.246 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1509, allocations: 4 kB / 0.9342 GB, free: 5.242 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1509, allocations: 0 / 0.9342 GB, free: 5.242 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.1509, allocations: 0 / 0.9342 GB, free: 5.242 MB / 0.8855 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.001007/0.1519, allocations: 0.8001 MB / 0.935 GB, free: 4.395 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1519, allocations: 12.03 kB / 0.935 GB, free: 4.383 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008703/0.1528, allocations: 188.5 kB / 0.9352 GB, free: 4.199 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.1531, allocations: 265.3 kB / 0.9354 GB, free: 3.914 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.031e-05/0.1532, allocations: 50.22 kB / 0.9355 GB, free: 3.859 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.259e-05/0.1532, allocations: 20.12 kB / 0.9355 GB, free: 3.84 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.1535, allocations: 206.2 kB / 0.9357 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1535, allocations: 0 / 0.9357 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.1535, allocations: 8 kB / 0.9357 GB, free: 3.605 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1535, allocations: 0 / 0.9357 GB, free: 3.605 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.1536, allocations: 93.89 kB / 0.9358 GB, free: 3.508 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.1551, allocations: 0.9776 MB / 0.9367 GB, free: 2.484 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/0.1555, allocations: 152.7 kB / 0.9369 GB, free: 2.316 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.102e-05/0.1556, allocations: 77.38 kB / 0.937 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.1556, allocations: 4 kB / 0.937 GB, free: 2.227 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.1558, allocations: 182.4 kB / 0.9371 GB, free: 2.023 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.803e-06/0.1558, allocations: 0 / 0.9371 GB, free: 2.023 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.001871/0.1576, allocations: 0.681 MB / 0.9378 GB, free: 1.312 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.1577, allocations: 85.09 kB / 0.9379 GB, free: 1.211 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.1579, allocations: 362.2 kB / 0.9382 GB, free: 0.8359 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.1579, allocations: 29.7 kB / 0.9383 GB, free: 0.8008 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.887e-05/0.158, allocations: 207.7 kB / 0.9385 GB, free: 0.5898 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.1581, allocations: 59.48 kB / 0.9385 GB, free: 0.5312 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.1582, allocations: 87.59 kB / 0.9386 GB, free: 444 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1583, allocations: 0.5118 MB / 0.9391 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.1584, allocations: 106.2 kB / 0.9392 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.1586, allocations: 272 kB / 0.9395 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.1589, allocations: 247.1 kB / 0.9397 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1589, allocations: 0 / 0.9397 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001579/0.1605, allocations: 0.7196 MB / 0.9404 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.1605, allocations: 37.69 kB / 0.9404 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1605, allocations: 4.062 kB / 0.9404 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005628/0.1611, allocations: 207.1 kB / 0.9406 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1612, allocations: 31.98 kB / 0.9407 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.1628, allocations: 2.9 MB / 0.9435 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.163, allocations: 39.86 kB / 0.9435 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.163, allocations: 19.98 kB / 0.9436 GB, free: 11.06 MB / 0.9011 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.0003884/0.1634, allocations: 212.2 kB / 0.9438 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.1634, allocations: 43.75 kB / 0.9438 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.1635, allocations: 22.25 kB / 0.9438 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1635, allocations: 4 kB / 0.9438 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.1635, allocations: 4 kB / 0.9438 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1635, allocations: 3.984 kB / 0.9438 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.1649, allocations: 0.8915 MB / 0.9447 GB, free: 9.809 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1649, allocations: 0 / 0.9447 GB, free: 9.809 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.1649, allocations: 15.94 kB / 0.9447 GB, free: 9.793 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000119/0.165, allocations: 83.58 kB / 0.9448 GB, free: 9.707 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.1651, allocations: 4 kB / 0.9448 GB, free: 9.703 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004223/0.1655, allocations: 0.9894 MB / 0.9458 GB, free: 8.688 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1655, allocations: 0 / 0.9458 GB, free: 8.688 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.1668, allocations: 0.791 MB / 0.9465 GB, free: 7.855 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-05/0.1669, allocations: 59.69 kB / 0.9466 GB, free: 7.797 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.1669, allocations: 8 kB / 0.9466 GB, free: 7.789 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.167, allocations: 15.98 kB / 0.9466 GB, free: 7.773 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.1671, allocations: 15.92 kB / 0.9466 GB, free: 7.758 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.1671, allocations: 7.984 kB / 0.9466 GB, free: 7.75 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001362/0.1672, allocations: 239 kB / 0.9469 GB, free: 7.52 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.1672, allocations: 0 / 0.9469 GB, free: 7.52 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002965/0.1675, allocations: 111.9 kB / 0.947 GB, free: 7.41 MB / 0.9011 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.0002459/0.1678, allocations: 195 kB / 0.9472 GB, free: 7.211 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007164/0.1685, allocations: 0.5504 MB / 0.9477 GB, free: 6.609 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1685, allocations: 4 kB / 0.9477 GB, free: 6.605 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002842/0.1688, allocations: 220.3 kB / 0.9479 GB, free: 6.363 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.169, allocations: 68.72 kB / 0.948 GB, free: 6.293 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009673/0.17, allocations: 0.5813 MB / 0.9485 GB, free: 5.688 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.022e-05/0.1701, allocations: 92.53 kB / 0.9486 GB, free: 5.578 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 7.964e-05/0.1701, allocations: 21.95 kB / 0.9487 GB, free: 5.555 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.1702, allocations: 24.48 kB / 0.9487 GB, free: 5.531 MB / 0.9011 GB Notification: Performance of SimCode: time 7.41e-07/0.1702, allocations: 4 kB / 0.9487 GB, free: 5.527 MB / 0.9011 GB Notification: Performance of Templates: time 0.009808/0.18, allocations: 8.489 MB / 0.957 GB, free: 13.15 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.0499013713561]