Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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.001182/0.001182, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001601/0.002783, allocations: 449.8 kB / 10.44 MB, free: 252 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.001108/0.001108, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001444/0.002552, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9202/0.9202, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07974/0.9999, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.836/1.836, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4235/2.26, allocations: 123.3 MB / 0.7283 GB, free: 5.727 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.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kappa.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kappa.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0.7656 kB / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.355e-05, allocations: 4.844 kB / 0.7297 GB, free: 4.379 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001714/0.001738, allocations: 1.367 MB / 0.731 GB, free: 3.027 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009366/0.002674, allocations: 0.8897 MB / 0.7319 GB, free: 2.145 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.879e-05/0.002693, allocations: 5.094 kB / 0.7319 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.002712, allocations: 1.422 kB / 0.7319 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.889e-05/0.002801, allocations: 37.34 kB / 0.7319 GB, free: 2.105 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.003265, allocations: 217.1 kB / 0.7321 GB, free: 1.895 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.074e-05/0.003325, allocations: 29.83 kB / 0.7322 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.003363, allocations: 0.9688 kB / 0.7322 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.395e-05/0.003426, allocations: 25.61 kB / 0.7322 GB, free: 1.844 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.003544, allocations: 49.66 kB / 0.7322 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.003556, allocations: 1.562 kB / 0.7322 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.003937, allocations: 318 kB / 0.7325 GB, free: 1.492 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.003982, allocations: 23.16 kB / 0.7326 GB, free: 1.473 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.003998, allocations: 10.94 kB / 0.7326 GB, free: 1.465 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.004242, allocations: 231.5 kB / 0.7328 GB, free: 1.242 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.004253, allocations: 2.062 kB / 0.7328 GB, free: 1.242 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.62e-07/0.004254, allocations: 0 / 0.7328 GB, free: 1.242 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.004264, allocations: 0 / 0.7328 GB, free: 1.242 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003036/0.004568, allocations: 308.5 kB / 0.7331 GB, free: 0.918 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.004597, allocations: 11.97 kB / 0.7331 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.004622, allocations: 6.531 kB / 0.7331 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.785e-05/0.0047, allocations: 117.7 kB / 0.7332 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-06/0.004709, allocations: 384 / 0.7332 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.00472, allocations: 384 / 0.7332 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.523e-05/0.004795, allocations: 45.83 kB / 0.7333 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-06/0.0048, allocations: 192 / 0.7333 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-06/0.004805, allocations: 384 / 0.7333 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.057e-05/0.004836, allocations: 12.81 kB / 0.7333 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.885e-06/0.004844, allocations: 4 kB / 0.7333 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.004948, allocations: 76.38 kB / 0.7334 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.529e-05/0.004983, allocations: 28.17 kB / 0.7334 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.849e-06/0.004993, allocations: 8.891 kB / 0.7334 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-06/0.004996, allocations: 0 / 0.7334 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.005015, allocations: 34.69 kB / 0.7334 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 7.32e-07/0.005016, allocations: 1.25 kB / 0.7334 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 9.016e-05/0.005106, allocations: 57.69 kB / 0.7335 GB, free: 464 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.005132, allocations: 55.41 kB / 0.7335 GB, free: 396 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.004e-05/0.005192, allocations: 123.6 kB / 0.7336 GB, free: 260 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.0052, allocations: 25.7 kB / 0.7337 GB, free: 228 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.00523, allocations: 88.12 kB / 0.7338 GB, free: 136 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.005263, allocations: 36.7 kB / 0.7338 GB, free: 100 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.005283, allocations: 17.7 kB / 0.7338 GB, free: 76 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.211e-05/0.005365, allocations: 318.8 kB / 0.7341 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.205e-05/0.005377, allocations: 7.516 kB / 0.7341 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-06/0.005386, allocations: 10.06 kB / 0.7341 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.113e-05/0.005417, allocations: 34.52 kB / 0.7342 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005418, allocations: 0 / 0.7342 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 5.024e-05/0.005469, allocations: 57.62 kB / 0.7342 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.005481, allocations: 5.719 kB / 0.7342 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.005486, allocations: 4.781 kB / 0.7342 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.005497, allocations: 4 kB / 0.7342 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.005498, allocations: 0.5312 kB / 0.7342 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.0055, allocations: 0 / 0.7342 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.259e-05/0.005513, allocations: 8.641 kB / 0.7342 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.005523, allocations: 4 kB / 0.7342 GB, free: 15.61 MB / 0.7136 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 4.542e-05/0.005568, allocations: 109.4 kB / 0.7343 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-06/0.005572, allocations: 0.625 kB / 0.7343 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.67e-05/0.005589, allocations: 16.42 kB / 0.7344 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.005602, allocations: 10.19 kB / 0.7344 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.005604, allocations: 0 / 0.7344 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.005606, allocations: 0 / 0.7344 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.643e-05/0.005682, allocations: 85.81 kB / 0.7345 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005683, allocations: 0 / 0.7345 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.005684, allocations: 0 / 0.7345 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-06/0.005693, allocations: 17.34 kB / 0.7345 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.005694, allocations: 0 / 0.7345 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-06/0.005697, allocations: 0 / 0.7345 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.005698, allocations: 3.938 kB / 0.7345 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.005699, allocations: 0.5625 kB / 0.7345 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.315e-05/0.005762, allocations: 89.36 kB / 0.7346 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-06/0.005769, allocations: 3.984 kB / 0.7346 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.872e-06/0.005775, allocations: 0 / 0.7346 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-06/0.005783, allocations: 0 / 0.7346 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.005787, allocations: 4 kB / 0.7346 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.75e-05/0.005804, allocations: 17.28 kB / 0.7346 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005804, allocations: 0 / 0.7346 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001799/0.005984, allocations: 71.86 kB / 0.7347 GB, free: 15.14 MB / 0.7136 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.000221/0.006205, allocations: 178.8 kB / 0.7348 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.9e-05/0.006264, allocations: 20.84 kB / 0.7348 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.006268, allocations: 4 kB / 0.7348 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.982e-05/0.006288, allocations: 23.69 kB / 0.7349 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.664e-05/0.006355, allocations: 13.27 kB / 0.7349 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.006704, allocations: 176.1 kB / 0.7351 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.07e-05/0.006734, allocations: 63.34 kB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.673e-05/0.006761, allocations: 5.438 kB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.00679, allocations: 47.91 kB / 0.7352 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of SimCode: time 5.11e-07/0.006791, allocations: 0.5625 kB / 0.7352 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of Templates: time 0.003068/0.009859, allocations: 1.681 MB / 0.7368 GB, free: 13.02 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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.587177895009518]