Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00141/0.00141, allocations: 108 kB / 15.61 MB, free: 152 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.001455/0.001455, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.359/1.359, 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 11.0.1-master/package.mo): time 2.662/2.662, allocations: 469.4 MB / 0.742 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 69.34 kB / 0.9083 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3356, allocations: 159.1 MB / 1.064 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002641/0.3383, allocations: 1.257 MB / 1.065 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.3398, allocations: 0.8821 MB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.3398, allocations: 3.938 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.3399, allocations: 0 / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.34, allocations: 27.97 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008839/0.3409, allocations: 251.4 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.28e-05/0.341, allocations: 31.97 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.341, allocations: 0 / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.136e-05/0.3411, allocations: 19.97 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.3412, allocations: 51.89 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.3412, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.3417, allocations: 279.5 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.829e-05/0.3417, allocations: 15.98 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.3418, allocations: 19.81 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.3421, allocations: 239.7 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3421, allocations: 4 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3421, allocations: 0 / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3421, allocations: 0 / 1.067 GB, free: 11.38 MB / 0.8262 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.0004026/0.3426, allocations: 383.2 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3426, allocations: 12.03 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.3426, allocations: 42.73 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.3427, allocations: 4.844 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.3428, allocations: 172.3 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.3428, allocations: 384 / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-06/0.3428, allocations: 4.375 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.3429, allocations: 61.75 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.3429, allocations: 0 / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.914e-06/0.343, allocations: 0 / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.715e-05/0.343, allocations: 15.98 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.593e-05/0.343, allocations: 27.98 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.3433, allocations: 173.6 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.887e-05/0.3433, allocations: 50.56 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.829e-05/0.3434, allocations: 37.06 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.3434, allocations: 3.938 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.3434, allocations: 38.5 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 3.396e-06/0.3434, allocations: 4 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0002169/0.3436, allocations: 141.4 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.3437, allocations: 51.41 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.841e-05/0.3438, allocations: 125.8 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.3438, allocations: 25.7 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.3439, allocations: 92.12 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.3439, allocations: 35.45 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.3439, allocations: 13.72 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.592e-05/0.344, allocations: 326.9 kB / 1.068 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.157e-05/0.3441, allocations: 24 kB / 1.068 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.603e-05/0.3441, allocations: 23.98 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.776e-05/0.3442, allocations: 72.83 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3442, allocations: 0 / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001121/0.3443, allocations: 109.4 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3443, allocations: 5.719 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3443, allocations: 4 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3444, allocations: 0 / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.3444, allocations: 0 / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3444, allocations: 4.062 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/0.3444, allocations: 7.984 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.3444, allocations: 0 / 1.069 GB, free: 9.098 MB / 0.8262 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.79e-05/0.3445, allocations: 122.2 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.3445, allocations: 7.844 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.656e-05/0.3445, allocations: 16.36 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.3446, allocations: 12 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3446, allocations: 3.938 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3446, allocations: 7.922 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.3447, allocations: 173.6 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.3447, allocations: 0 / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.544e-06/0.3447, allocations: 3.938 kB / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3448, allocations: 0 / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.3448, allocations: 0 / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3448, allocations: 0 / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.3448, allocations: 7.984 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.3449, allocations: 124.9 kB / 1.069 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.3449, allocations: 92.98 kB / 1.069 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.345, allocations: 0 / 1.069 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.104e-05/0.345, allocations: 0 / 1.069 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/0.345, allocations: 0 / 1.069 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.345, allocations: 4 kB / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.807e-05/0.3451, allocations: 107.2 kB / 1.069 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3451, allocations: 0 / 1.069 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003117/0.3454, allocations: 68 kB / 1.069 GB, free: 8.266 MB / 0.8262 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.0005811/0.346, allocations: 0.7299 MB / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.3461, allocations: 67.97 kB / 1.07 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3461, allocations: 0 / 1.07 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.349e-05/0.3461, allocations: 32 kB / 1.07 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.3463, allocations: 4.75 kB / 1.07 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.3468, allocations: 271.7 kB / 1.07 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.3471, allocations: 0.6963 MB / 1.071 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.616e-05/0.3471, allocations: 5.5 kB / 1.071 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.3472, allocations: 23.42 kB / 1.071 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3472, allocations: 0 / 1.071 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.3666, allocations: 2.817 MB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.361/7.728, allocations: 8.125 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches