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.001608/0.001608, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001905/0.001905, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.413/1.413, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.131/3.131, allocations: 0.49 GB / 0.7916 GB, free: 33.38 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.002936/0.002936, allocations: 67.67 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3671, allocations: 176.1 MB / 1.321 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002506/0.3696, allocations: 1.282 MB / 1.322 GB, free: 2.012 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.3712, allocations: 0.9198 MB / 1.323 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.3712, allocations: 0 / 1.323 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.239e-05/0.3713, allocations: 0 / 1.323 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.3714, allocations: 27.95 kB / 1.323 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007942/0.3722, allocations: 251.4 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.04e-05/0.3722, allocations: 23.98 kB / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/0.3723, allocations: 0 / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.154e-05/0.3723, allocations: 27.89 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.3725, allocations: 55.92 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.3725, allocations: 0 / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000474/0.373, allocations: 295.5 kB / 1.324 GB, free: 428 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.633e-05/0.373, allocations: 19.97 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.373, allocations: 15.81 kB / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.3734, allocations: 247.6 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3734, allocations: 0 / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3734, allocations: 0 / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3734, allocations: 0 / 1.324 GB, free: 144 kB / 1.014 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.0004576/0.3738, allocations: 390.9 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3739, allocations: 15.98 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.731e-05/0.3739, allocations: 38.75 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.3739, allocations: 8.891 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.3741, allocations: 180.2 kB / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.3741, allocations: 4.375 kB / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.3741, allocations: 384 / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.3743, allocations: 57.75 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.3743, allocations: 3.938 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-06/0.3743, allocations: 0 / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.3743, allocations: 15.98 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.796e-05/0.3743, allocations: 31.98 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.3745, allocations: 173.6 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.397e-05/0.3746, allocations: 46.59 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.878e-05/0.3746, allocations: 32.88 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-06/0.3747, allocations: 4 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.3747, allocations: 34.5 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.3747, allocations: 4 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0002145/0.3749, allocations: 129.6 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.3749, allocations: 51.41 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.375, allocations: 125.8 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.3751, allocations: 29.7 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/0.3751, allocations: 92.11 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.3752, allocations: 31.98 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.3752, allocations: 17.7 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.3754, allocations: 322.9 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.503e-05/0.3754, allocations: 31.92 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.18e-05/0.3755, allocations: 31.98 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.983e-05/0.3755, allocations: 72.77 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3755, allocations: 0 / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001197/0.3757, allocations: 101.6 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3757, allocations: 4 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3757, allocations: 0 / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3757, allocations: 4 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.3757, allocations: 64 / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.3757, allocations: 4 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.466e-05/0.3757, allocations: 0 / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.3757, allocations: 4 kB / 1.326 GB, free: 13.86 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.31e-05/0.3758, allocations: 121.8 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.3758, allocations: 11.89 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.769e-05/0.3758, allocations: 8.359 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/0.3759, allocations: 15.94 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3759, allocations: 0 / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3759, allocations: 0 / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.376, allocations: 177.6 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.376, allocations: 0 / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-06/0.376, allocations: 3.938 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.376, allocations: 0 / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.376, allocations: 4 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.376, allocations: 0 / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.376, allocations: 4.094 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.3762, allocations: 132.9 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.3762, allocations: 101 kB / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.3762, allocations: 0 / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.066e-05/0.3763, allocations: 0 / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.3763, allocations: 4 kB / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.3763, allocations: 0 / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.917e-05/0.3763, allocations: 103.2 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3763, allocations: 0 / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003176/0.3767, allocations: 71.86 kB / 1.327 GB, free: 13.01 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.0006606/0.3773, allocations: 0.7333 MB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.3774, allocations: 55.98 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3774, allocations: 0 / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.524e-05/0.3775, allocations: 31.98 kB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.3776, allocations: 2.688 kB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005323/0.3781, allocations: 275.4 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.3785, allocations: 0.6924 MB / 1.328 GB, free: 11.13 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.379e-05/0.3785, allocations: 4.75 kB / 1.328 GB, free: 11.13 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.3786, allocations: 27.42 kB / 1.328 GB, free: 11.1 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.3786, allocations: 0 / 1.328 GB, free: 11.1 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.4051, allocations: 2.852 MB / 1.331 GB, free: 8.465 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.29, allocations: 7.5 kB / 1.331 GB, free: 8.457 MB / 1.029 GB " [Timeout remaining time 292] (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: 14.795450079021975]