Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001589/0.001589, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001968/0.001968, allocations: 211.2 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.426/1.426, allocations: 230.6 MB / 256 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.032/3.032, allocations: 0.4892 GB / 0.7943 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 69.25 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3287, allocations: 176.1 MB / 1.325 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002482/0.3312, allocations: 1.292 MB / 1.326 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.3328, allocations: 0.8687 MB / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.3328, allocations: 4 kB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/0.3328, allocations: 0 / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.3329, allocations: 31.94 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008132/0.3338, allocations: 253.9 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.512e-05/0.3338, allocations: 27.95 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.946e-05/0.3339, allocations: 4 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.548e-05/0.3339, allocations: 23.98 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.334, allocations: 51.92 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.334, allocations: 0 / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004878/0.3345, allocations: 299.5 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.372e-05/0.3346, allocations: 15.92 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.3346, allocations: 15.86 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.335, allocations: 247.6 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.335, allocations: 0 / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.362e-06/0.335, allocations: 4 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.335, allocations: 0 / 1.328 GB, free: 15.21 MB / 1.029 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.0003908/0.3354, allocations: 313.8 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3354, allocations: 12.03 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.15e-05/0.3354, allocations: 30.75 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.389e-05/0.3355, allocations: 4.891 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.3356, allocations: 122.4 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.3356, allocations: 384 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-06/0.3356, allocations: 384 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.3357, allocations: 73.69 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.3357, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.3357, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.958e-05/0.3358, allocations: 8 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.934e-05/0.3358, allocations: 31.92 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002007/0.336, allocations: 152.7 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.887e-05/0.3361, allocations: 46.59 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/0.3361, allocations: 28.89 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-06/0.3361, allocations: 0 / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3361, allocations: 38.5 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 2.936e-06/0.3361, allocations: 4 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0002213/0.3364, allocations: 133.6 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.3364, allocations: 51.41 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3365, allocations: 125.8 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.3365, allocations: 29.7 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.3366, allocations: 88.14 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/0.3366, allocations: 35.69 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.3367, allocations: 13.72 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3368, allocations: 322.8 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/0.3368, allocations: 27.98 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.555e-05/0.3369, allocations: 27.98 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.958e-05/0.337, allocations: 77.2 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.337, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001132/0.3371, allocations: 105.5 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.3371, allocations: 4 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3371, allocations: 4 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3371, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.3371, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3371, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.461e-05/0.3371, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.3371, allocations: 4 kB / 1.33 GB, free: 13.14 MB / 1.029 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 9.097e-05/0.3372, allocations: 126.3 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.3372, allocations: 11.89 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.681e-05/0.3373, allocations: 12.38 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.3373, allocations: 11.98 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3373, allocations: 0 / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3373, allocations: 3.984 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.3374, allocations: 148.6 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3374, allocations: 4 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-06/0.3374, allocations: 3.938 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.3374, allocations: 0 / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.3374, allocations: 4 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.3374, allocations: 4 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3374, allocations: 0 / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.3376, allocations: 129 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.363e-05/0.3376, allocations: 11.88 kB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.3376, allocations: 0 / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.279e-05/0.3376, allocations: 3.984 kB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.008e-05/0.3376, allocations: 0 / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.3376, allocations: 4 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.748e-05/0.3377, allocations: 103.3 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3377, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002814/0.338, allocations: 71.86 kB / 1.331 GB, free: 12.42 MB / 1.029 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.0006445/0.3386, allocations: 0.7332 MB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.3387, allocations: 59.97 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3387, allocations: 4 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.203e-05/0.3388, allocations: 27.98 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.3389, allocations: 0 / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000513/0.3394, allocations: 259.5 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.103e-05/0.3395, allocations: 87.45 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.251e-05/0.3395, allocations: 11.94 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.3396, allocations: 15.44 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3396, allocations: 0 / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.3694, allocations: 3.265 MB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.58, allocations: 12.84 kB / 1.335 GB, free: 8.047 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv. Warning: Get data of variable kappa[6] from file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv failed! Error: Could not read variable kappa[7] in file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv. Warning: Get data of variable kappa[7] from file Buildings_12_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: 17.97017613099888]