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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007482/0.007482, allocations: 102.8 kB / 15.74 MB, free: 5.551 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.001731/0.001731, allocations: 195.6 kB / 16.67 MB, free: 5.48 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.497/2.497, allocations: 469.4 MB / 0.7422 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 59.91 kB / 1.064 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7189/0.7202, allocations: 159.1 MB / 1.22 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002346/0.7226, allocations: 1.249 MB / 1.221 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.724, allocations: 0.8882 MB / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.772e-05/0.7241, allocations: 0 / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.7242, allocations: 0 / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.7243, allocations: 27.95 kB / 1.222 GB, free: 68 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008182/0.7251, allocations: 243.4 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.489e-05/0.7252, allocations: 31.95 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.7252, allocations: 8 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.482e-05/0.7253, allocations: 19.92 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.7254, allocations: 47.94 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.385e-06/0.7254, allocations: 0 / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000449/0.7259, allocations: 287.5 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.7259, allocations: 15.92 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.726, allocations: 19.81 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.7263, allocations: 239 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7263, allocations: 0 / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7263, allocations: 0 / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.7264, allocations: 0 / 1.223 GB, free: 15.18 MB / 0.9512 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.0004029/0.7268, allocations: 398.9 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.7268, allocations: 12.61 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.7269, allocations: 30.75 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.63e-05/0.7269, allocations: 8.891 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.727, allocations: 172.3 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.727, allocations: 384 / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.683e-06/0.7271, allocations: 384 / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.7272, allocations: 65.75 kB / 1.223 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.7272, allocations: 0 / 1.223 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.7272, allocations: 0 / 1.223 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/0.7272, allocations: 19.97 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.57e-05/0.7273, allocations: 31.98 kB / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.7275, allocations: 174.6 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.348e-05/0.7276, allocations: 42.58 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.7276, allocations: 45 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.7276, allocations: 0 / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.7277, allocations: 34.5 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.7277, allocations: 4 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0001954/0.7279, allocations: 137.5 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.7279, allocations: 51.41 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.728, allocations: 134 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.728, allocations: 25.7 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.7281, allocations: 88.14 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.7281, allocations: 39.62 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.7282, allocations: 13.72 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.7283, allocations: 326.9 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.036e-05/0.7283, allocations: 27.98 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.666e-05/0.7283, allocations: 24 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.546e-05/0.7284, allocations: 68.83 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7284, allocations: 0 / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000107/0.7285, allocations: 101.5 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.7286, allocations: 8 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.7286, allocations: 0 / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.7286, allocations: 3.984 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.195e-06/0.7286, allocations: 8.062 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.7286, allocations: 0 / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.189e-05/0.7286, allocations: 7.891 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.7287, allocations: 4 kB / 1.225 GB, free: 12.88 MB / 0.9512 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.213e-05/0.7287, allocations: 122.4 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.7288, allocations: 11.89 kB / 1.225 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.568e-05/0.7288, allocations: 8.375 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/0.7288, allocations: 11.98 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.7288, allocations: 3.938 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.7288, allocations: 4 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.729, allocations: 169.7 kB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.729, allocations: 3.984 kB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-06/0.729, allocations: 3.938 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.729, allocations: 96 / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.729, allocations: 3.938 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.729, allocations: 0 / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.729, allocations: 0 / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.7292, allocations: 137 kB / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.7292, allocations: 85 kB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.7292, allocations: 4 kB / 1.225 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.119e-05/0.7293, allocations: 0 / 1.225 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.7293, allocations: 3.984 kB / 1.225 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.7293, allocations: 7.938 kB / 1.225 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.531e-05/0.7293, allocations: 103.6 kB / 1.225 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7294, allocations: 0 / 1.225 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004436/0.7298, allocations: 71.8 kB / 1.226 GB, free: 12.04 MB / 0.9512 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.0006182/0.7304, allocations: 0.7372 MB / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.7305, allocations: 67.97 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.7306, allocations: 0 / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.245e-05/0.7306, allocations: 35.98 kB / 1.226 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.7308, allocations: 4 kB / 1.226 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005069/0.7313, allocations: 259.5 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.7316, allocations: 0.7002 MB / 1.227 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.603e-05/0.7316, allocations: 7.125 kB / 1.227 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.7316, allocations: 19.44 kB / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of SimCode: time 2e-07/0.7316, allocations: 0 / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.7509, allocations: 2.847 MB / 1.23 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.477/8.228, allocations: 6.172 kB / 1.23 GB, free: 7.484 MB / 0.9512 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 50 --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