Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.008468/0.008468, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.00207/0.00207, allocations: 198.4 kB / 16.68 MB, free: 5.953 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.213/2.213, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 63.91 kB / 0.9504 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7196/0.7211, allocations: 140.4 MB / 1.088 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001995/0.7231, allocations: 1.251 MB / 1.089 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.7243, allocations: 0.8862 MB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.7243, allocations: 1.094 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.7244, allocations: 4.594 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.7245, allocations: 30.72 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007497/0.7253, allocations: 247 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.959e-05/0.7253, allocations: 26.86 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.7254, allocations: 1.531 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.535e-05/0.7254, allocations: 26 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.7256, allocations: 45.2 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.275e-06/0.7256, allocations: 4 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004502/0.726, allocations: 279.3 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.351e-05/0.7261, allocations: 22.48 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.7261, allocations: 16.84 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003442/0.7265, allocations: 238.2 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.7265, allocations: 0.5156 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7265, allocations: 1.062 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.7265, allocations: 0 / 1.09 GB, free: 3.539 MB / 0.8575 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.0003288/0.7268, allocations: 384.8 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.7269, allocations: 9.969 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.201e-05/0.7269, allocations: 36.52 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.7269, allocations: 7.922 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.05e-05/0.727, allocations: 177.3 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.727, allocations: 5.141 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.727, allocations: 5.672 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.7272, allocations: 60.56 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.7272, allocations: 0 / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.7272, allocations: 0.8438 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.13e-05/0.7272, allocations: 11.56 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.179e-05/0.7273, allocations: 28.22 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.7274, allocations: 176.2 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.157e-05/0.7275, allocations: 48.28 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.7275, allocations: 39.11 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-06/0.7275, allocations: 0 / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.225e-05/0.7276, allocations: 40.3 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.7276, allocations: 3.938 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0002068/0.7278, allocations: 132.7 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.814e-05/0.7278, allocations: 52.92 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.486e-05/0.7279, allocations: 128.8 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.311e-06/0.7279, allocations: 26.5 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.203e-05/0.7279, allocations: 87.91 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.728, allocations: 33.91 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.728, allocations: 16.05 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.078e-05/0.728, allocations: 320.5 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.503e-05/0.7281, allocations: 31.41 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.845e-05/0.7281, allocations: 37.14 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.287e-05/0.7282, allocations: 70.33 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7282, allocations: 0 / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001022/0.7283, allocations: 102 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.7283, allocations: 5.406 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.7283, allocations: 0 / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.7284, allocations: 384 / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-06/0.7284, allocations: 1.891 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.7284, allocations: 0 / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.793e-05/0.7284, allocations: 13.12 kB / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.7284, allocations: 11 kB / 1.093 GB, free: 1.75 MB / 0.8575 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 5.534e-05/0.7285, allocations: 122.7 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.7285, allocations: 14.61 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.392e-05/0.7285, allocations: 8.031 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/0.7285, allocations: 12.56 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7285, allocations: 0.6562 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.7286, allocations: 0.7031 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.7287, allocations: 168.2 kB / 1.093 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7287, allocations: 5.484 kB / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-06/0.7287, allocations: 4.75 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.7287, allocations: 0 / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.7287, allocations: 1.422 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7287, allocations: 0.7812 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7287, allocations: 0 / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.7288, allocations: 128.1 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.7289, allocations: 88.73 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.7289, allocations: 4.781 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.117e-05/0.7289, allocations: 0.7031 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.7289, allocations: 1.656 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.7289, allocations: 2.281 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.452e-05/0.729, allocations: 101.2 kB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.729, allocations: 0 / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003519/0.7293, allocations: 72.81 kB / 1.093 GB, free: 1.141 MB / 0.8575 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.0004993/0.7298, allocations: 0.7417 MB / 1.094 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.73, allocations: 66 kB / 1.094 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.73, allocations: 3.938 kB / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.868e-05/0.73, allocations: 34.97 kB / 1.094 GB, free: 496 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.7302, allocations: 6.812 kB / 1.094 GB, free: 492 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004734/0.7306, allocations: 258.2 kB / 1.094 GB, free: 300 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.7309, allocations: 0.6939 MB / 1.095 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.762e-05/0.731, allocations: 4.703 kB / 1.095 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.731, allocations: 23.5 kB / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.731, allocations: 0 / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.7514, allocations: 2.842 MB / 1.098 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.334/8.085, allocations: 2.812 kB / 1.098 GB, free: 15.15 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches