Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.001046/0.001046, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001535/0.002581, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.001062/0.001062, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001418/0.00248, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 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.9036/0.9036, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08073/0.9843, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.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.78/1.78, allocations: 378.4 MB / 0.6079 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4566/2.237, allocations: 123.3 MB / 0.7283 GB, free: 5.684 MB / 0.698 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.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nu_error|rCel_error",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nu_error|rCel_error",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.7297 GB, free: 4.34 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.219e-05, allocations: 7.281 kB / 0.7297 GB, free: 4.332 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001951/0.001973, allocations: 1.405 MB / 0.7311 GB, free: 2.945 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0005356/0.002509, allocations: 476.9 kB / 0.7315 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.002538, allocations: 0 / 0.7315 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.002568, allocations: 5.328 kB / 0.7315 GB, free: 2.48 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.987e-05/0.002618, allocations: 10.72 kB / 0.7315 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.002767, allocations: 32.89 kB / 0.7316 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.002909, allocations: 25.11 kB / 0.7316 GB, free: 2.422 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.366e-05/0.002943, allocations: 5.438 kB / 0.7316 GB, free: 2.418 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.083e-05/0.003004, allocations: 17.52 kB / 0.7316 GB, free: 2.402 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.59e-05/0.00307, allocations: 10.25 kB / 0.7316 GB, free: 2.395 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.003084, allocations: 4.906 kB / 0.7316 GB, free: 2.391 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.003214, allocations: 45.58 kB / 0.7317 GB, free: 2.348 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.003261, allocations: 14.08 kB / 0.7317 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.003282, allocations: 6.562 kB / 0.7317 GB, free: 2.332 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.003395, allocations: 62.59 kB / 0.7317 GB, free: 2.273 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.003406, allocations: 1.406 kB / 0.7317 GB, free: 2.273 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003407, allocations: 0 / 0.7317 GB, free: 2.273 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.003417, allocations: 0 / 0.7317 GB, free: 2.273 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002996/0.003717, allocations: 261.1 kB / 0.732 GB, free: 1.996 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.003745, allocations: 8.562 kB / 0.732 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.003769, allocations: 6.281 kB / 0.732 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.003876, allocations: 121.7 kB / 0.7321 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-06/0.003883, allocations: 384 / 0.7321 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.003892, allocations: 384 / 0.7321 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.94e-05/0.003961, allocations: 43.94 kB / 0.7322 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.919e-06/0.003966, allocations: 192 / 0.7322 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-06/0.003972, allocations: 0.875 kB / 0.7322 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.003977, allocations: 3.938 kB / 0.7322 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.09e-05/0.003988, allocations: 19.17 kB / 0.7322 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.636e-05/0.004064, allocations: 75.52 kB / 0.7323 GB, free: 1.668 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.011e-05/0.004104, allocations: 37.16 kB / 0.7323 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.415e-05/0.004128, allocations: 24.14 kB / 0.7323 GB, free: 1.582 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-06/0.004135, allocations: 5.312 kB / 0.7323 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.004154, allocations: 34.56 kB / 0.7324 GB, free: 1.535 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.004155, allocations: 0 / 0.7324 GB, free: 1.535 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 9.89e-05/0.004254, allocations: 43.19 kB / 0.7324 GB, free: 1.488 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.004289, allocations: 77.11 kB / 0.7325 GB, free: 1.395 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.847e-05/0.004367, allocations: 134.6 kB / 0.7326 GB, free: 1.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.004378, allocations: 27.05 kB / 0.7326 GB, free: 1.219 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.905e-05/0.004407, allocations: 88.08 kB / 0.7327 GB, free: 1.129 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.004423, allocations: 3.953 kB / 0.7327 GB, free: 1.125 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.004454, allocations: 34.34 kB / 0.7327 GB, free: 1.086 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.858e-05/0.004533, allocations: 322.8 kB / 0.7331 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.345e-05/0.004557, allocations: 11.95 kB / 0.7331 GB, free: 0.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.02e-05/0.004567, allocations: 7.938 kB / 0.7331 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.37e-05/0.0046, allocations: 24.81 kB / 0.7331 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.004603, allocations: 0.9688 kB / 0.7331 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 6.171e-05/0.004664, allocations: 55.94 kB / 0.7332 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.004678, allocations: 9.25 kB / 0.7332 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.004695, allocations: 0 / 0.7332 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.004706, allocations: 0 / 0.7332 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.684e-05/0.004753, allocations: 11.98 kB / 0.7332 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.004756, allocations: 0.8438 kB / 0.7332 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/0.004783, allocations: 15.83 kB / 0.7332 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.004791, allocations: 4.516 kB / 0.7332 GB, free: 0.6172 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0002088/0.005, allocations: 121.5 kB / 0.7333 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.00501, allocations: 4 kB / 0.7333 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.937e-05/0.005029, allocations: 4.406 kB / 0.7333 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.005031, allocations: 0 / 0.7333 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.005033, allocations: 0 / 0.7333 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.005036, allocations: 1.219 kB / 0.7333 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.79e-05/0.005094, allocations: 73.83 kB / 0.7334 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.005095, allocations: 0 / 0.7334 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.235e-05/0.005107, allocations: 9.594 kB / 0.7334 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.005118, allocations: 11.95 kB / 0.7334 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.00512, allocations: 0 / 0.7334 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-06/0.005124, allocations: 0 / 0.7334 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.005124, allocations: 0 / 0.7334 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.005126, allocations: 0.6562 kB / 0.7334 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.456e-05/0.00519, allocations: 87.08 kB / 0.7335 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.695e-06/0.005198, allocations: 0 / 0.7335 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-06/0.005206, allocations: 0.75 kB / 0.7335 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.005217, allocations: 7.984 kB / 0.7335 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.005219, allocations: 2 kB / 0.7335 GB, free: 260 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.738e-05/0.005236, allocations: 16.86 kB / 0.7335 GB, free: 240 kB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.005236, allocations: 0 / 0.7335 GB, free: 240 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001217/0.005358, allocations: 23.98 kB / 0.7335 GB, free: 216 kB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001314/0.005489, allocations: 101.7 kB / 0.7336 GB, free: 108 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.029e-05/0.005579, allocations: 58.58 kB / 0.7337 GB, free: 40 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.005586, allocations: 4 kB / 0.7337 GB, free: 36 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.381e-05/0.0056, allocations: 21.98 kB / 0.7337 GB, free: 12 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.913e-05/0.005669, allocations: 7.984 kB / 0.7337 GB, free: 4 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.006012, allocations: 149.1 kB / 0.7339 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.658e-05/0.006038, allocations: 59.34 kB / 0.7339 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.811e-05/0.006056, allocations: 0 / 0.7339 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.006091, allocations: 51.38 kB / 0.734 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/0.006091, allocations: 0 / 0.734 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.002103/0.008194, allocations: 0.5445 MB / 0.7345 GB, free: 15.23 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.536988919600844]