Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.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.00094/0.00094, 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.0009064/0.0009064, allocations: 169 kB / 23.82 MB, free: 0.75 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.9599/0.9599, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.873/1.873, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] 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.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.332e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001781/0.001804, allocations: 1.4 MB / 0.8129 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1354/0.1372, allocations: 143.7 MB / 0.9532 GB, free: 144 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/0.1373, allocations: 0 / 0.9532 GB, free: 144 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 6.346e-05/0.1373, allocations: 7.922 kB / 0.9532 GB, free: 136 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.1375, allocations: 47.86 kB / 0.9533 GB, free: 88 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.1387, allocations: 370.2 kB / 0.9536 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.1388, allocations: 63.77 kB / 0.9537 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.1388, allocations: 8 kB / 0.9537 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 5.076e-05/0.1389, allocations: 31.95 kB / 0.9537 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.139, allocations: 63.86 kB / 0.9538 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.139, allocations: 4 kB / 0.9538 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00053/0.1395, allocations: 367 kB / 0.9542 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.1396, allocations: 35.91 kB / 0.9542 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.1396, allocations: 16 kB / 0.9542 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003865/0.14, allocations: 295.2 kB / 0.9545 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.14, allocations: 0 / 0.9545 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.653e-06/0.14, allocations: 0 / 0.9545 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.14, allocations: 0 / 0.9545 GB, free: 14.86 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000406/0.1404, allocations: 428 kB / 0.9549 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1404, allocations: 12.03 kB / 0.9549 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.1405, allocations: 16.88 kB / 0.9549 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.676e-05/0.1406, allocations: 112.5 kB / 0.955 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1406, allocations: 8.312 kB / 0.955 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.1406, allocations: 4.375 kB / 0.955 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.1407, allocations: 65.59 kB / 0.9551 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1408, allocations: 0 / 0.9551 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1408, allocations: 0 / 0.9551 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/0.1408, allocations: 19.98 kB / 0.9551 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.155e-05/0.1409, allocations: 27.92 kB / 0.9552 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.1413, allocations: 315.6 kB / 0.9555 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.1414, allocations: 75.03 kB / 0.9555 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.1414, allocations: 35.72 kB / 0.9556 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000363/0.1418, allocations: 79.91 kB / 0.9556 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1418, allocations: 45.42 kB / 0.9557 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.1418, allocations: 0 / 0.9557 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0001966/0.142, allocations: 93.52 kB / 0.9558 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.142, allocations: 59.39 kB / 0.9558 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.551e-05/0.1421, allocations: 161.9 kB / 0.956 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.1421, allocations: 29.7 kB / 0.956 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.1422, allocations: 151 kB / 0.9562 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.1422, allocations: 39.7 kB / 0.9562 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.1422, allocations: 39.36 kB / 0.9562 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.1424, allocations: 0.4961 MB / 0.9567 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.648e-05/0.1424, allocations: 16 kB / 0.9567 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.02e-05/0.1425, allocations: 80.7 kB / 0.9568 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.576e-05/0.1425, allocations: 94.06 kB / 0.9569 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1426, allocations: 8 kB / 0.9569 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001283/0.1427, allocations: 109.4 kB / 0.957 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1427, allocations: 10.66 kB / 0.957 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1427, allocations: 0 / 0.957 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1427, allocations: 4 kB / 0.957 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.1428, allocations: 31.92 kB / 0.9571 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1428, allocations: 4 kB / 0.9571 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.835e-05/0.1428, allocations: 12.14 kB / 0.9571 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1428, allocations: 8.141 kB / 0.9571 GB, free: 11.96 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.037e-05/0.1429, allocations: 176.5 kB / 0.9572 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.1429, allocations: 8 kB / 0.9573 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.1431, allocations: 106.4 kB / 0.9574 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1431, allocations: 4 kB / 0.9574 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.1431, allocations: 0 / 0.9574 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1431, allocations: 3.984 kB / 0.9574 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.1432, allocations: 136.5 kB / 0.9575 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1432, allocations: 0 / 0.9575 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.1432, allocations: 16 kB / 0.9575 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1432, allocations: 0 / 0.9575 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1432, allocations: 8 kB / 0.9575 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1432, allocations: 0 / 0.9575 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1432, allocations: 3.938 kB / 0.9575 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.1434, allocations: 235.8 kB / 0.9577 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.468e-05/0.1434, allocations: 19.88 kB / 0.9578 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.1434, allocations: 4 kB / 0.9578 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.73e-05/0.1434, allocations: 0 / 0.9578 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.1434, allocations: 7.984 kB / 0.9578 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1434, allocations: 8 kB / 0.9578 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.58e-05/0.1435, allocations: 131.2 kB / 0.9579 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1435, allocations: 0 / 0.9579 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002401/0.1437, allocations: 75.75 kB / 0.958 GB, free: 10.96 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002685/0.144, allocations: 194.9 kB / 0.9582 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.1441, allocations: 67.59 kB / 0.9582 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1441, allocations: 0 / 0.9582 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.944e-05/0.1441, allocations: 39.61 kB / 0.9583 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.1443, allocations: 20.52 kB / 0.9583 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004852/0.1448, allocations: 166.8 kB / 0.9584 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.399e-05/0.1449, allocations: 63.34 kB / 0.9585 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 7.674e-05/0.1449, allocations: 48.61 kB / 0.9586 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.145, allocations: 16.5 kB / 0.9586 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of SimCode: time 9.52e-07/0.145, allocations: 0 / 0.9586 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of Templates: time 0.003935/0.1489, allocations: 1.97 MB / 0.9605 GB, free: 8.387 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.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.50059456191957]