Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002545/0.002545, allocations: 192.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.589/2.589, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 59.91 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5786/0.5799, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002341/0.5823, allocations: 1.254 MB / 1.019 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.5837, allocations: 0.885 MB / 1.02 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.5838, allocations: 4 kB / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.5838, allocations: 3.938 kB / 1.02 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.5839, allocations: 31.94 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000792/0.5847, allocations: 240.5 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.923e-05/0.5848, allocations: 31.97 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.549e-05/0.5849, allocations: 3.984 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.879e-05/0.5849, allocations: 20.03 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.5851, allocations: 47.89 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.5851, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004754/0.5856, allocations: 279.6 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.5856, allocations: 19.92 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.5856, allocations: 19.81 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.586, allocations: 241.7 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.586, allocations: 8 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.586, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.586, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 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.0004496/0.5865, allocations: 379.2 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.5865, allocations: 8.031 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.273e-05/0.5865, allocations: 38.75 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.5866, allocations: 4.844 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.5867, allocations: 180.2 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.5867, allocations: 384 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.946e-06/0.5867, allocations: 8.375 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.5869, allocations: 61.75 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.5869, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.503e-06/0.5869, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/0.5869, allocations: 12 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.531e-05/0.587, allocations: 23.98 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.5872, allocations: 173.7 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.966e-05/0.5872, allocations: 50.56 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.5873, allocations: 37.08 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-06/0.5873, allocations: 3.938 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.5873, allocations: 42.48 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.5873, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0001989/0.5875, allocations: 137.4 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.5876, allocations: 51.41 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.5877, allocations: 129.8 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.5877, allocations: 25.7 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.5877, allocations: 96.17 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.5878, allocations: 27.55 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.5878, allocations: 17.72 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5879, allocations: 322.8 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.317e-05/0.588, allocations: 27.98 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.578e-05/0.588, allocations: 23.98 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.019e-05/0.5881, allocations: 72.83 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5881, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001162/0.5882, allocations: 109.5 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.5882, allocations: 4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5882, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.5883, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.5883, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.5883, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.085e-05/0.5883, allocations: 11.84 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.5883, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 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 7.602e-05/0.5884, allocations: 121.8 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.5884, allocations: 12.25 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.459e-05/0.5884, allocations: 8.375 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.5885, allocations: 15.98 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5885, allocations: 0 / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.5885, allocations: 7.875 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.5886, allocations: 177.7 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5886, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-06/0.5886, allocations: 3.938 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.5886, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.5887, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5887, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5887, allocations: 8 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.5888, allocations: 121 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.5888, allocations: 92.94 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.5889, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.277e-05/0.5889, allocations: 3.984 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.5889, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.5889, allocations: 7.938 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.83e-05/0.589, allocations: 103.7 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.589, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003106/0.5893, allocations: 79.92 kB / 1.023 GB, free: 12.28 MB / 0.7794 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.000588/0.5899, allocations: 0.7294 MB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.59, allocations: 63.98 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.59, allocations: 4.094 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.692e-05/0.5901, allocations: 35.98 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.5902, allocations: 1.5 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.5907, allocations: 251.8 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.591, allocations: 0.708 MB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.595e-05/0.591, allocations: 6 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.5911, allocations: 19.44 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.5911, allocations: 0 / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.6119, allocations: 2.81 MB / 1.028 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.381/7.993, allocations: 8.906 kB / 1.028 GB, free: 7.75 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches