Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001222/0.001222, 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.0014/0.0014, allocations: 195.3 kB / 16.54 MB, free: 6.672 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.407/2.407, allocations: 390.3 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 60.05 kB / 0.8127 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6777/0.6792, allocations: 140.4 MB / 0.9498 GB, free: 9.344 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002374/0.6816, allocations: 1.239 MB / 0.951 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.683, allocations: 0.8782 MB / 0.9518 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.683, allocations: 0 / 0.9518 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.6831, allocations: 7.875 kB / 0.9518 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.6832, allocations: 33.36 kB / 0.9519 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007741/0.684, allocations: 248.5 kB / 0.9521 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.58e-05/0.6841, allocations: 28.34 kB / 0.9521 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.278e-05/0.6842, allocations: 2.469 kB / 0.9521 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.466e-05/0.6842, allocations: 19.34 kB / 0.9522 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.6844, allocations: 47.06 kB / 0.9522 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.6844, allocations: 5.375 kB / 0.9522 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004295/0.6848, allocations: 271.1 kB / 0.9525 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.198e-05/0.6849, allocations: 21.7 kB / 0.9525 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.6849, allocations: 12.97 kB / 0.9525 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.6853, allocations: 249.5 kB / 0.9527 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.6853, allocations: 0 / 0.9527 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6853, allocations: 0 / 0.9527 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.321e-06/0.6853, allocations: 0 / 0.9527 GB, free: 7.172 MB / 0.7169 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.0003956/0.6857, allocations: 384.9 kB / 0.9531 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.6858, allocations: 13.12 kB / 0.9531 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.285e-05/0.6858, allocations: 39.98 kB / 0.9532 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.6858, allocations: 12.09 kB / 0.9532 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.686, allocations: 179.4 kB / 0.9533 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.686, allocations: 1.438 kB / 0.9533 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.686, allocations: 384 / 0.9533 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.6861, allocations: 60.47 kB / 0.9534 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.6861, allocations: 0 / 0.9534 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.6862, allocations: 0 / 0.9534 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-05/0.6862, allocations: 14.7 kB / 0.9534 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.497e-05/0.6862, allocations: 28.5 kB / 0.9534 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.6864, allocations: 173 kB / 0.9536 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.111e-05/0.6865, allocations: 49.94 kB / 0.9536 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.897e-05/0.6866, allocations: 38.75 kB / 0.9537 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.6866, allocations: 1.344 kB / 0.9537 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.6866, allocations: 38.44 kB / 0.9537 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.6866, allocations: 0.9375 kB / 0.9537 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002462/0.6869, allocations: 130.4 kB / 0.9538 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.6869, allocations: 60.34 kB / 0.9539 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.687, allocations: 125.9 kB / 0.954 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.687, allocations: 25.7 kB / 0.9541 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.6871, allocations: 95.28 kB / 0.9541 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.6871, allocations: 27.67 kB / 0.9542 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.6872, allocations: 21.92 kB / 0.9542 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.26e-05/0.6872, allocations: 317.6 kB / 0.9545 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.97e-05/0.6873, allocations: 29.27 kB / 0.9545 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.342e-05/0.6873, allocations: 28.95 kB / 0.9545 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.474e-05/0.6874, allocations: 69.48 kB / 0.9546 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6874, allocations: 0 / 0.9546 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001413/0.6876, allocations: 106.9 kB / 0.9547 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.6876, allocations: 8.688 kB / 0.9547 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.6876, allocations: 0 / 0.9547 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.6876, allocations: 5.312 kB / 0.9547 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.6876, allocations: 0 / 0.9547 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.6876, allocations: 3.984 kB / 0.9547 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.916e-05/0.6877, allocations: 13.12 kB / 0.9547 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.6877, allocations: 2.219 kB / 0.9547 GB, free: 5.297 MB / 0.7169 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.279e-05/0.6878, allocations: 119.6 kB / 0.9549 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.6878, allocations: 6.688 kB / 0.9549 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.502e-05/0.6878, allocations: 8.156 kB / 0.9549 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/0.6878, allocations: 13.42 kB / 0.9549 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6878, allocations: 0 / 0.9549 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6878, allocations: 5 kB / 0.9549 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.688, allocations: 181.8 kB / 0.9551 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.688, allocations: 4 kB / 0.9551 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.373e-06/0.688, allocations: 3.938 kB / 0.9551 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.688, allocations: 1.188 kB / 0.9551 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.688, allocations: 1.281 kB / 0.9551 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.688, allocations: 0 / 0.9551 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.688, allocations: 0 / 0.9551 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.6882, allocations: 123.7 kB / 0.9552 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.6882, allocations: 87.27 kB / 0.9553 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.6882, allocations: 7.969 kB / 0.9553 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.163e-05/0.6882, allocations: 1.062 kB / 0.9553 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.6883, allocations: 1.188 kB / 0.9553 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.6883, allocations: 2.469 kB / 0.9553 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.494e-05/0.6883, allocations: 99.52 kB / 0.9554 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6883, allocations: 0 / 0.9554 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003452/0.6887, allocations: 78.55 kB / 0.9555 GB, free: 4.648 MB / 0.7169 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.000491/0.6892, allocations: 0.7395 MB / 0.9562 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.6893, allocations: 64.3 kB / 0.9562 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6893, allocations: 0 / 0.9562 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.322e-05/0.6894, allocations: 35.48 kB / 0.9563 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.6895, allocations: 2.141 kB / 0.9563 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000495/0.69, allocations: 263.2 kB / 0.9565 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.6902, allocations: 0.7018 MB / 0.9572 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.737e-05/0.6902, allocations: 6.75 kB / 0.9572 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.6902, allocations: 22.86 kB / 0.9572 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.6902, allocations: 0 / 0.9572 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.7113, allocations: 2.807 MB / 0.96 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.589/8.3, allocations: 11.2 kB / 0.96 GB, free: 1.605 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches