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.001873/0.001873, allocations: 100.8 kB / 19.74 MB, free: 2.066 MB / 14.72 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.002582/0.002582, allocations: 213.7 kB / 23.04 MB, free: 4.844 MB / 14.72 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.258/3.258, allocations: 0.49 GB / 0.7959 GB, free: 35.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.4.|kappa.5.|kappa.6.|kappa.7.",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.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 70.94 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4612, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.0028/0.464, allocations: 1.294 MB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.4658, allocations: 0.861 MB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.671e-05/0.4658, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.855e-05/0.4658, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.466, allocations: 27.95 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008854/0.4668, allocations: 260.3 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.541e-05/0.4669, allocations: 31.91 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.467, allocations: 0 / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.697e-05/0.467, allocations: 19.97 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.4672, allocations: 55.92 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.4672, allocations: 4 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005051/0.4677, allocations: 291.5 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.355e-05/0.4677, allocations: 19.92 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.4678, allocations: 23.84 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.4681, allocations: 235.4 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4682, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4682, allocations: 3.938 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.4682, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 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.0004807/0.4686, allocations: 317.7 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4687, allocations: 8.031 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.4687, allocations: 4.938 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.4689, allocations: 126.3 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.4689, allocations: 384 / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-06/0.4689, allocations: 4.375 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.469, allocations: 62 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.469, allocations: 0 / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.469, allocations: 3.984 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/0.4691, allocations: 8 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.046e-05/0.4691, allocations: 31.98 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.4693, allocations: 125.2 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.399e-05/0.4694, allocations: 46.56 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.4695, allocations: 32.88 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.4695, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.4695, allocations: 34.5 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 8.52e-07/0.4695, allocations: 4 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0002427/0.4697, allocations: 141.7 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.4698, allocations: 51.41 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.4699, allocations: 121.8 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.4699, allocations: 25.7 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.47, allocations: 96.12 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.47, allocations: 27.7 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.4701, allocations: 25.69 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4702, allocations: 318.8 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.261e-05/0.4703, allocations: 23.98 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/0.4703, allocations: 36.23 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.038e-05/0.4704, allocations: 76.86 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4704, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001182/0.4705, allocations: 101.6 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.4705, allocations: 4 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4705, allocations: 3.938 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.4705, allocations: 0 / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.4705, allocations: 0 / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4705, allocations: 4 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.611e-05/0.4705, allocations: 0 / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.4706, allocations: 0 / 1.332 GB, free: 11.83 MB / 1.029 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 9.951e-05/0.4707, allocations: 126.4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.4707, allocations: 7.953 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.4707, allocations: 16.3 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.4707, allocations: 12 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.4707, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4707, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.4709, allocations: 129.2 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4709, allocations: 0 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.4709, allocations: 0 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.4709, allocations: 0 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.4709, allocations: 4 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.4709, allocations: 7.875 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4709, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.471, allocations: 133 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.471, allocations: 11.89 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.471, allocations: 3.984 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.198e-05/0.4711, allocations: 3.938 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.4711, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.4711, allocations: 4 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.142e-05/0.4711, allocations: 99.27 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4711, allocations: 0 / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000296/0.4714, allocations: 79.89 kB / 1.333 GB, free: 11.14 MB / 1.029 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.0003088/0.4718, allocations: 163.1 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.4719, allocations: 63.91 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.4719, allocations: 4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.559e-05/0.4719, allocations: 27.98 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.4721, allocations: 4.688 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.4725, allocations: 227.7 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.596e-05/0.4726, allocations: 87.34 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.4726, allocations: 11.44 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.4726, allocations: 0 / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of Templates: time 0.003794/0.4764, allocations: 1.536 MB / 1.335 GB, free: 8.973 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.806211182149127]