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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.005058/0.005058, allocations: 103.6 kB / 15.74 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 202.2 kB / 16.68 MB, free: 5.965 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.801/2.801, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 64.27 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2915, allocations: 162.2 MB / 1.242 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002387/0.2939, allocations: 1.258 MB / 1.243 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.2954, allocations: 0.8765 MB / 1.244 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.2954, allocations: 0 / 1.244 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.2955, allocations: 4 kB / 1.244 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.2956, allocations: 31.94 kB / 1.244 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008288/0.2965, allocations: 251.3 kB / 1.244 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.924e-05/0.2965, allocations: 23.97 kB / 1.244 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.2966, allocations: 4 kB / 1.244 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.434e-05/0.2966, allocations: 15.98 kB / 1.244 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.2968, allocations: 51.92 kB / 1.244 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.2968, allocations: 0 / 1.244 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004825/0.2973, allocations: 283.6 kB / 1.244 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.311e-05/0.2973, allocations: 15.92 kB / 1.244 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.2974, allocations: 19.81 kB / 1.244 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000354/0.2977, allocations: 239.3 kB / 1.244 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2978, allocations: 7.922 kB / 1.244 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2978, allocations: 0 / 1.244 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2978, allocations: 8 kB / 1.244 GB, free: 7.086 MB / 0.9981 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.0004127/0.2982, allocations: 390.9 kB / 1.245 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2982, allocations: 8.031 kB / 1.245 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.2983, allocations: 34.75 kB / 1.245 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.351e-05/0.2983, allocations: 4.891 kB / 1.245 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.2984, allocations: 172.3 kB / 1.245 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-06/0.2985, allocations: 384 / 1.245 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.2985, allocations: 4.359 kB / 1.245 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.2986, allocations: 77.72 kB / 1.245 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.2986, allocations: 0 / 1.245 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.2986, allocations: 0 / 1.245 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.2987, allocations: 12 kB / 1.245 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.904e-05/0.2987, allocations: 27.98 kB / 1.245 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.2989, allocations: 169.7 kB / 1.245 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.732e-05/0.299, allocations: 54.58 kB / 1.245 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.393e-05/0.299, allocations: 37.06 kB / 1.245 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.931e-06/0.299, allocations: 7.938 kB / 1.245 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.2991, allocations: 34.5 kB / 1.245 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.2991, allocations: 4 kB / 1.245 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0002069/0.2993, allocations: 129.5 kB / 1.246 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.2993, allocations: 51.41 kB / 1.246 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.2995, allocations: 133.8 kB / 1.246 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.2995, allocations: 25.7 kB / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.2995, allocations: 88.14 kB / 1.246 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.2996, allocations: 39.72 kB / 1.246 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.2996, allocations: 13.72 kB / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.2997, allocations: 322.8 kB / 1.246 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.378e-05/0.2998, allocations: 27.98 kB / 1.246 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.036e-05/0.2998, allocations: 28.22 kB / 1.246 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.602e-05/0.2999, allocations: 72.81 kB / 1.246 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2999, allocations: 0 / 1.246 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001132/0.3, allocations: 105.5 kB / 1.246 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3001, allocations: 9.609 kB / 1.246 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3001, allocations: 4 kB / 1.246 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3001, allocations: 0 / 1.246 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.3001, allocations: 0 / 1.246 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.3001, allocations: 0 / 1.246 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.3001, allocations: 7.938 kB / 1.247 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.3001, allocations: 0 / 1.247 GB, free: 4.801 MB / 0.9981 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.669e-05/0.3002, allocations: 122.4 kB / 1.247 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.3002, allocations: 7.891 kB / 1.247 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.959e-05/0.3003, allocations: 12.38 kB / 1.247 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.3003, allocations: 15.98 kB / 1.247 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3003, allocations: 0 / 1.247 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3003, allocations: 7.938 kB / 1.247 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.3005, allocations: 173.6 kB / 1.247 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3005, allocations: 0 / 1.247 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-06/0.3005, allocations: 3.938 kB / 1.247 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.3005, allocations: 0 / 1.247 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.3005, allocations: 3.984 kB / 1.247 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3005, allocations: 0 / 1.247 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3005, allocations: 0 / 1.247 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.3006, allocations: 137 kB / 1.247 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.3007, allocations: 89 kB / 1.247 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.3007, allocations: 3.984 kB / 1.247 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.093e-05/0.3007, allocations: 3.938 kB / 1.247 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.3008, allocations: 0 / 1.247 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.3008, allocations: 4 kB / 1.247 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.115e-05/0.3008, allocations: 99.27 kB / 1.247 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3008, allocations: 0 / 1.247 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002869/0.3011, allocations: 79.83 kB / 1.247 GB, free: 3.949 MB / 0.9981 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.0005992/0.3017, allocations: 0.7293 MB / 1.248 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.3019, allocations: 67.97 kB / 1.248 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3019, allocations: 0 / 1.248 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.908e-05/0.3019, allocations: 40.08 kB / 1.248 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.3021, allocations: 0 / 1.248 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004664/0.3025, allocations: 259.4 kB / 1.248 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.3028, allocations: 0.6963 MB / 1.249 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.662e-05/0.3029, allocations: 12.05 kB / 1.249 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.3029, allocations: 15.44 kB / 1.249 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/0.3029, allocations: 0 / 1.249 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5314/0.8343, allocations: 2.833 MB / 1.252 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.821, allocations: 13.62 kB / 1.252 GB, free: 14.62 MB / 0.9981 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 400 --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