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.00158/0.00158, 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.001439/0.001439, allocations: 211.8 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 3.213/3.213, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002027/0.002027, allocations: 72.34 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3104, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.00249/0.3129, allocations: 1.286 MB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.3144, allocations: 0.8582 MB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.3144, allocations: 0 / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/0.3144, allocations: 0 / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.3145, allocations: 27.95 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007879/0.3153, allocations: 266.6 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.251e-05/0.3154, allocations: 23.97 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.319e-05/0.3154, allocations: 0 / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.18e-05/0.3155, allocations: 27.91 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.3156, allocations: 55.92 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.3156, allocations: 0 / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004865/0.3161, allocations: 299.5 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.3162, allocations: 15.92 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.3162, allocations: 15.88 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.3165, allocations: 239.6 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3165, allocations: 4 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3165, allocations: 3.938 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3165, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.061 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.0003799/0.3169, allocations: 309.8 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3169, allocations: 8.031 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.158e-05/0.317, allocations: 42.73 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.317, allocations: 8.891 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.3171, allocations: 118.4 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.3171, allocations: 384 / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.3171, allocations: 4.375 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.3172, allocations: 61.81 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3173, allocations: 3.938 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.3173, allocations: 0 / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-05/0.3173, allocations: 19.97 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.798e-05/0.3173, allocations: 27.92 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.3175, allocations: 144.7 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.746e-05/0.3176, allocations: 46.56 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.3176, allocations: 32.88 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.3176, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.3177, allocations: 38.62 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 8.71e-07/0.3177, allocations: 0 / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0002035/0.3179, allocations: 129.6 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.3179, allocations: 55.39 kB / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.318, allocations: 130.1 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.318, allocations: 25.7 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.3181, allocations: 92.12 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.3181, allocations: 35.64 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.3182, allocations: 25.69 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3183, allocations: 314.8 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.349e-05/0.3183, allocations: 27.98 kB / 1.368 GB, free: 9.129 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.079e-05/0.3183, allocations: 27.98 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.951e-05/0.3184, allocations: 76.89 kB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3184, allocations: 0 / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000114/0.3185, allocations: 105.5 kB / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.3186, allocations: 4 kB / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3186, allocations: 0 / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3186, allocations: 0 / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.3186, allocations: 0 / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3186, allocations: 0 / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.3186, allocations: 7.953 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.3186, allocations: 0 / 1.368 GB, free: 8.902 MB / 1.061 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 8.548e-05/0.3187, allocations: 121.9 kB / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.3187, allocations: 11.89 kB / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.777e-05/0.3187, allocations: 12.36 kB / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/0.3187, allocations: 12 kB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3187, allocations: 0 / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3187, allocations: 0 / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.3189, allocations: 144.7 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3189, allocations: 0 / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-06/0.3189, allocations: 3.938 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.3189, allocations: 96 / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.3189, allocations: 11.88 kB / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3189, allocations: 8 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.3189, allocations: 0 / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.319, allocations: 129 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.291e-05/0.319, allocations: 11.83 kB / 1.369 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.3191, allocations: 0 / 1.369 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.568e-05/0.3191, allocations: 4 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.156e-06/0.3191, allocations: 0 / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.3191, allocations: 3.938 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.113e-05/0.3192, allocations: 107.6 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3192, allocations: 0 / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002859/0.3194, allocations: 71.86 kB / 1.369 GB, free: 8.184 MB / 1.061 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.0006167/0.3201, allocations: 0.7294 MB / 1.37 GB, free: 7.426 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.3202, allocations: 63.92 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3202, allocations: 0 / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.218e-05/0.3202, allocations: 27.97 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.3203, allocations: 8 kB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004901/0.3208, allocations: 257.2 kB / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.554e-05/0.3209, allocations: 83.31 kB / 1.37 GB, free: 6.934 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.187e-05/0.3209, allocations: 12.09 kB / 1.37 GB, free: 6.922 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.321, allocations: 27.34 kB / 1.37 GB, free: 6.895 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.321, allocations: 0 / 1.37 GB, free: 6.895 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.3508, allocations: 3.254 MB / 1.373 GB, free: 3.812 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.38, allocations: 1.875 kB / 1.373 GB, free: 3.812 MB / 1.061 GB " [Timeout remaining time 289] (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/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) [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: 17.956786055117846]