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.006569/0.006569, allocations: 99.67 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 197.7 kB / 16.67 MB, free: 5.965 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.621/2.621, allocations: 437 MB / 0.7105 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 67.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2808, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002332/0.2832, allocations: 1.259 MB / 1.167 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.2847, allocations: 0.8816 MB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.2847, allocations: 0 / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.2848, allocations: 0 / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.2849, allocations: 27.95 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000813/0.2857, allocations: 251 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.413e-05/0.2858, allocations: 27.91 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.2859, allocations: 7.984 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.749e-05/0.2859, allocations: 19.97 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.2861, allocations: 43.95 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.956e-06/0.2861, allocations: 0 / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004734/0.2866, allocations: 287.6 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.234e-05/0.2866, allocations: 15.92 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.235e-05/0.2866, allocations: 19.86 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.287, allocations: 241.4 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.287, allocations: 4 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.082e-06/0.287, allocations: 0 / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.287, allocations: 0 / 1.169 GB, free: 4.191 MB / 0.92 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.0004282/0.2875, allocations: 394.9 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2875, allocations: 11.97 kB / 1.17 GB, free: 3.746 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.2876, allocations: 30.75 kB / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.2876, allocations: 8.891 kB / 1.17 GB, free: 3.699 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.2877, allocations: 184.2 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.2877, allocations: 384 / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.2878, allocations: 384 / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.2879, allocations: 65.75 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.2879, allocations: 0 / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.2879, allocations: 0 / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/0.288, allocations: 15.98 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.729e-05/0.288, allocations: 28 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.2882, allocations: 169.7 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.575e-05/0.2883, allocations: 58.59 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.2883, allocations: 40.88 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.874e-06/0.2884, allocations: 0 / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.2884, allocations: 34.5 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.2884, allocations: 4 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0002103/0.2886, allocations: 129.7 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.2887, allocations: 51.41 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.2888, allocations: 133.8 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.2888, allocations: 25.7 kB / 1.171 GB, free: 2.629 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.2888, allocations: 92.12 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.2889, allocations: 35.64 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.2889, allocations: 21.7 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2891, allocations: 318.9 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-05/0.2891, allocations: 27.98 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.067e-05/0.2892, allocations: 27.98 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.844e-05/0.2892, allocations: 77.08 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2892, allocations: 0 / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00012/0.2894, allocations: 109.5 kB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2894, allocations: 8 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.2894, allocations: 0 / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2894, allocations: 0 / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.765e-06/0.2894, allocations: 64 / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.2894, allocations: 7.938 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.518e-05/0.2895, allocations: 0 / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.2895, allocations: 4 kB / 1.171 GB, free: 1.887 MB / 0.92 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 8.768e-05/0.2896, allocations: 121.8 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.2896, allocations: 11.89 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.933e-05/0.2896, allocations: 12.36 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/0.2896, allocations: 8 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2896, allocations: 0 / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2896, allocations: 0 / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.2898, allocations: 181.6 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2898, allocations: 0 / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.345e-06/0.2898, allocations: 3.938 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.2898, allocations: 0 / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.2898, allocations: 0 / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2898, allocations: 0 / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2898, allocations: 0 / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.29, allocations: 133 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.2901, allocations: 96.91 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.2901, allocations: 4 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/0.2901, allocations: 0 / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.2901, allocations: 3.984 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.2901, allocations: 4 kB / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.42e-05/0.2902, allocations: 99.27 kB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2902, allocations: 0 / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003173/0.2905, allocations: 71.86 kB / 1.172 GB, free: 1.051 MB / 0.92 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.000669/0.2912, allocations: 0.7371 MB / 1.173 GB, free: 292 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.2913, allocations: 63.98 kB / 1.173 GB, free: 228 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2913, allocations: 0 / 1.173 GB, free: 228 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.888e-05/0.2914, allocations: 39.92 kB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.2915, allocations: 4.688 kB / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.2921, allocations: 263.6 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.2924, allocations: 0.6962 MB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.175e-05/0.2924, allocations: 4 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.2925, allocations: 25.48 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.2925, allocations: 0 / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.3162, allocations: 2.836 MB / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.898/8.214, allocations: 13.59 kB / 1.177 GB, free: 12.5 MB / 0.9356 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