Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001478/0.001478, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001935/0.001935, allocations: 195.3 kB / 16.25 MB, free: 6.629 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.91 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6312/0.6332, allocations: 151.6 MB / 1.017 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002156/0.6354, allocations: 1.325 MB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.6367, allocations: 0.8891 MB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.116e-05/0.6367, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.6367, allocations: 4 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.296e-05/0.6368, allocations: 31.95 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005714/0.6374, allocations: 223.6 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.126e-05/0.6375, allocations: 23.97 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 1.627e-05/0.6375, allocations: 0 / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.871e-05/0.6375, allocations: 23.97 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.6376, allocations: 51.95 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.755e-06/0.6376, allocations: 3.938 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.638, allocations: 275.6 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.445e-05/0.638, allocations: 19.92 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.6381, allocations: 19.81 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.6384, allocations: 241.9 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.6384, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.72e-07/0.6384, allocations: 8 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.6384, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 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.0002951/0.6387, allocations: 379.2 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.597e-05/0.6387, allocations: 8.031 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.293e-05/0.6387, allocations: 38.73 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.425e-05/0.6388, allocations: 4.844 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.736e-05/0.6389, allocations: 180.2 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.6389, allocations: 8.312 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.6389, allocations: 4.375 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.471e-05/0.639, allocations: 61.75 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.567e-06/0.639, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-06/0.639, allocations: 0 / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.639, allocations: 15.98 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.99e-05/0.6391, allocations: 27.98 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.6392, allocations: 169.7 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.586e-05/0.6393, allocations: 54.59 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.437e-05/0.6393, allocations: 36.88 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.159e-06/0.6394, allocations: 4 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.6394, allocations: 38.5 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.6394, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0001578/0.6395, allocations: 129.6 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.6396, allocations: 51.41 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.064e-05/0.6397, allocations: 133.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.6397, allocations: 25.7 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.6397, allocations: 88.14 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.6398, allocations: 35.58 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.6398, allocations: 17.72 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.6399, allocations: 326.8 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.435e-05/0.6399, allocations: 20 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-05/0.64, allocations: 27.98 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.669e-05/0.64, allocations: 77.08 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.6401, allocations: 4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.994e-05/0.6402, allocations: 105.5 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.6402, allocations: 8.062 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.6402, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.462e-06/0.6402, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.11e-07/0.6402, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.6402, allocations: 11.91 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/0.6402, allocations: 11.84 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.6402, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 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 7.562e-05/0.6403, allocations: 122.4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.6403, allocations: 7.844 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.327e-05/0.6404, allocations: 12.38 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/0.6404, allocations: 15.98 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.6404, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.6404, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.6405, allocations: 169.7 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6405, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-06/0.6405, allocations: 3.938 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6406, allocations: 3.984 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.6406, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.6406, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6406, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.6407, allocations: 129 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.6408, allocations: 92.94 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-06/0.6408, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.115e-05/0.6408, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.6408, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.6408, allocations: 11.92 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.151e-05/0.6409, allocations: 99.27 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6409, allocations: 3.938 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002817/0.6412, allocations: 75.97 kB / 1.023 GB, free: 12.64 MB / 0.7794 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.0005313/0.6417, allocations: 0.7294 MB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.723e-05/0.6418, allocations: 67.97 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.6418, allocations: 0 / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.472e-05/0.6418, allocations: 44.02 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.642, allocations: 6.094 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.6424, allocations: 271.9 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.6426, allocations: 0.6924 MB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.332e-05/0.6427, allocations: 8.062 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.6427, allocations: 19.42 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6427, allocations: 4 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3845/1.027, allocations: 2.72 MB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/1.028, allocations: 286.8 kB / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.762, allocations: 2.062 kB / 1.027 GB, free: 7.844 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches