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.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.001188/0.001188, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001387/0.001387, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8593/0.8593, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.714/1.714, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 3.984 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.624e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001564/0.00158, allocations: 1.278 MB / 1.001 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009947/0.002574, allocations: 0.8576 MB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.218e-05/0.002597, allocations: 4 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.002627, allocations: 3.984 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.002735, allocations: 27.95 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006162/0.003352, allocations: 259.2 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.845e-05/0.00341, allocations: 27.95 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.296e-05/0.003443, allocations: 0 / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.879e-05/0.003482, allocations: 19.98 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.003598, allocations: 63.86 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.003607, allocations: 0 / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003289/0.003936, allocations: 287.5 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.003976, allocations: 15.94 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.003994, allocations: 11.94 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.004253, allocations: 287.2 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004255, allocations: 4 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.583e-06/0.004257, allocations: 3.984 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.00426, allocations: 4 kB / 1.003 GB, free: 10.3 MB / 0.9636 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.0002756/0.004536, allocations: 305.8 kB / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.004568, allocations: 8.031 kB / 1.003 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.707e-05/0.004595, allocations: 38.75 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.87e-05/0.004614, allocations: 4.891 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.791e-05/0.004682, allocations: 109.8 kB / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.004691, allocations: 4.375 kB / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-06/0.004697, allocations: 384 / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.52e-05/0.004792, allocations: 62.19 kB / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.004799, allocations: 192 / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.004808, allocations: 8.125 kB / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.004832, allocations: 11.98 kB / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.616e-05/0.004858, allocations: 27.98 kB / 1.003 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.004996, allocations: 152.6 kB / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.564e-05/0.005042, allocations: 46.56 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.324e-05/0.005065, allocations: 37 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.66e-06/0.005071, allocations: 0 / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.005088, allocations: 30.56 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 6.81e-07/0.005089, allocations: 4 kB / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.000149/0.005238, allocations: 137.8 kB / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.005262, allocations: 51.41 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.057e-05/0.005333, allocations: 133.8 kB / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.005342, allocations: 33.62 kB / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.828e-05/0.00537, allocations: 88.14 kB / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.005401, allocations: 35.69 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.005427, allocations: 21.72 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.165e-05/0.005499, allocations: 322.8 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.202e-05/0.005521, allocations: 20 kB / 1.004 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.66e-05/0.005537, allocations: 27.98 kB / 1.004 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.043e-05/0.005588, allocations: 76.89 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005589, allocations: 0 / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 6.997e-05/0.005659, allocations: 101.6 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.00567, allocations: 4 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.005675, allocations: 0 / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.005685, allocations: 3.938 kB / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.005686, allocations: 0 / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.00569, allocations: 0 / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.098e-05/0.005701, allocations: 4 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.005711, allocations: 3.984 kB / 1.005 GB, free: 8.234 MB / 0.9636 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 5.3e-05/0.005764, allocations: 121.9 kB / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-06/0.00577, allocations: 11.94 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.069e-05/0.005781, allocations: 8.438 kB / 1.005 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.005792, allocations: 19.88 kB / 1.005 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.005797, allocations: 3.984 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.005799, allocations: 0 / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.291e-05/0.005882, allocations: 148.8 kB / 1.005 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.005883, allocations: 3.938 kB / 1.005 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-07/0.005883, allocations: 0 / 1.005 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.005884, allocations: 0 / 1.005 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-06/0.005889, allocations: 0 / 1.005 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.005891, allocations: 7.938 kB / 1.005 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.005893, allocations: 7.984 kB / 1.005 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.366e-05/0.005966, allocations: 121 kB / 1.005 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-06/0.005974, allocations: 7.953 kB / 1.005 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.894e-06/0.005982, allocations: 0 / 1.005 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-06/0.005988, allocations: 3.938 kB / 1.005 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.006, allocations: 4 kB / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.006003, allocations: 0 / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.273e-05/0.006045, allocations: 107.2 kB / 1.005 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006045, allocations: 0 / 1.005 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002229/0.006268, allocations: 75.86 kB / 1.005 GB, free: 7.523 MB / 0.9636 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.0003805/0.006649, allocations: 0.7372 MB / 1.006 GB, free: 6.754 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.22e-05/0.006731, allocations: 67.97 kB / 1.006 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.006732, allocations: 0 / 1.006 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.809e-05/0.00675, allocations: 28 kB / 1.006 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001025/0.006853, allocations: 3.938 kB / 1.006 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.007187, allocations: 255 kB / 1.006 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.625e-05/0.007233, allocations: 79.48 kB / 1.006 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.529e-05/0.007258, allocations: 10.88 kB / 1.006 GB, free: 6.258 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.007288, allocations: 20.48 kB / 1.006 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.007289, allocations: 3.938 kB / 1.006 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.02237, allocations: 3.427 MB / 1.01 GB, free: 3.027 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.624/6.646, allocations: 8.5 kB / 1.01 GB, free: 3.023 MB / 0.9636 GB " [Timeout remaining time 293] (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 800 --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) [Timeout 840.0] 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/jenkins/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) [Timeout 300] "Error: Could not read variable kappa[6] in file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv. Warning: Get data of variable kappa[6] from file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv failed! Error: Could not read variable kappa[7] in file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv. Warning: Get data of variable kappa[7] from file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.677790071815252]