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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009845/0.0009845, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006551/0.006551, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.37/1.37, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 437.8 MB / 0.7121 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003721, allocations: 12 kB / 0.873 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6887/0.6891, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001405/0.6905, allocations: 0.9769 MB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.6921, allocations: 0.9049 MB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.695e-05/0.6921, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/0.6922, allocations: 4 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.6923, allocations: 27.95 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006733/0.693, allocations: 195.6 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.145e-05/0.6931, allocations: 27.97 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.6931, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.041e-05/0.6932, allocations: 23.91 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.6933, allocations: 51.95 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.6933, allocations: 0 / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004555/0.6938, allocations: 279.5 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.008e-05/0.6939, allocations: 23.92 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.044e-05/0.6939, allocations: 41.52 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003536/0.6943, allocations: 241.8 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.6943, allocations: 4 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6943, allocations: 0 / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.6943, allocations: 4 kB / 1.026 GB, free: 12.98 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.0004175/0.6947, allocations: 375.4 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.6948, allocations: 11.97 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.412e-05/0.6948, allocations: 34.75 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.6949, allocations: 4.844 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.695, allocations: 180.2 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.695, allocations: 384 / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.6951, allocations: 4.375 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.6952, allocations: 61.8 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.6952, allocations: 4 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.6952, allocations: 4 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.959e-05/0.6953, allocations: 12 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.853e-05/0.6953, allocations: 31.92 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.6956, allocations: 173.6 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.011e-05/0.6957, allocations: 50.58 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.307e-05/0.6957, allocations: 36.88 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.6958, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.6958, allocations: 42.5 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.6958, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0002609/0.6961, allocations: 125.8 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.6961, allocations: 51.41 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.6962, allocations: 133.8 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.6963, allocations: 25.7 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.6963, allocations: 88.14 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.6964, allocations: 35.45 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.6964, allocations: 13.75 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.6966, allocations: 322.8 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.6966, allocations: 27.98 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.261e-05/0.6966, allocations: 31.94 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.546e-05/0.6967, allocations: 73.14 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6967, allocations: 0 / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001324/0.6969, allocations: 105.5 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.6969, allocations: 4 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.6969, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.6969, allocations: 12.05 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-06/0.697, allocations: 0 / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.697, allocations: 0 / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.697, allocations: 3.938 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.697, allocations: 4 kB / 1.028 GB, free: 10.71 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 0.0001031/0.6971, allocations: 118.4 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.6971, allocations: 11.84 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.834e-05/0.6972, allocations: 4.375 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/0.6972, allocations: 15.98 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.6972, allocations: 4 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.6972, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.6974, allocations: 169.7 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.6974, allocations: 3.984 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-06/0.6974, allocations: 3.938 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.6974, allocations: 4 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.6974, allocations: 0 / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6975, allocations: 0 / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6975, allocations: 0 / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.6976, allocations: 129 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.6977, allocations: 92.89 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.6977, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.578e-05/0.6977, allocations: 4 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.6977, allocations: 15.91 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.6977, allocations: 0 / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.935e-05/0.6978, allocations: 99.27 kB / 1.029 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6978, allocations: 0 / 1.029 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004568/0.6983, allocations: 75.92 kB / 1.029 GB, free: 9.879 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.0008043/0.6991, allocations: 0.7373 MB / 1.029 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.6992, allocations: 63.91 kB / 1.029 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6992, allocations: 0 / 1.029 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.85e-05/0.6993, allocations: 35.98 kB / 1.029 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.6995, allocations: 15.2 kB / 1.029 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005254/0.7, allocations: 271.7 kB / 1.03 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.7002, allocations: 0.6926 MB / 1.03 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.173e-05/0.7003, allocations: 9.125 kB / 1.03 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.7003, allocations: 27.36 kB / 1.03 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of SimCode: time 5.11e-07/0.7003, allocations: 0 / 1.03 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.7134, allocations: 2.621 MB / 1.033 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/0.7136, allocations: 282.2 kB / 1.033 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2.4, allocations: 0 / 1.033 GB, free: 5.184 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