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.008891/0.008891, allocations: 101.2 kB / 15.73 MB, free: 6.445 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.001734/0.001734, allocations: 196.3 kB / 16.68 MB, free: 6.355 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.288/1.288, 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 9.1.3-maint.9.1.x/package.mo): time 2.277/2.277, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 71.55 kB / 0.9504 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2648, allocations: 140.4 MB / 1.088 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002586/0.2674, allocations: 1.246 MB / 1.089 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.269, allocations: 0.8869 MB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.269, allocations: 0 / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.2691, allocations: 3.984 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.2692, allocations: 23.97 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009024/0.2702, allocations: 241.5 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.995e-05/0.2703, allocations: 35.89 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.2703, allocations: 0 / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.012e-05/0.2703, allocations: 19.97 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.2705, allocations: 51.89 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.2705, allocations: 0 / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004667/0.271, allocations: 283.5 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.894e-05/0.2711, allocations: 23.98 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.2711, allocations: 15.81 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.2715, allocations: 238.3 kB / 1.091 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2715, allocations: 0 / 1.091 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2715, allocations: 0 / 1.091 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.2715, allocations: 0 / 1.091 GB, free: 15.01 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.0004354/0.2719, allocations: 392 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.272, allocations: 8.031 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.507e-05/0.272, allocations: 34.73 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.2721, allocations: 12.84 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.2722, allocations: 176.3 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-06/0.2722, allocations: 384 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.2722, allocations: 384 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.2724, allocations: 57.81 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2724, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.2724, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.388e-05/0.2724, allocations: 15.92 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.826e-05/0.2725, allocations: 31.98 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.2727, allocations: 169.6 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.897e-05/0.2728, allocations: 58.56 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.681e-05/0.2729, allocations: 40.88 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.2729, allocations: 3.984 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.2729, allocations: 34.69 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 5.991e-06/0.2729, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0002708/0.2732, allocations: 137.4 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.2733, allocations: 59.41 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.2734, allocations: 133.8 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.2734, allocations: 25.7 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.2735, allocations: 92.08 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.396e-05/0.2736, allocations: 31.45 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.2736, allocations: 21.72 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2738, allocations: 318.8 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.779e-05/0.2738, allocations: 24 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.174e-05/0.2739, allocations: 27.98 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.274, allocations: 72.86 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.274, allocations: 0 / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001367/0.2741, allocations: 109.4 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.2742, allocations: 8 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.2742, allocations: 0 / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.2742, allocations: 0 / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.213e-06/0.2742, allocations: 384 / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2742, allocations: 0 / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.2742, allocations: 0 / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.2743, allocations: 11.97 kB / 1.093 GB, free: 12.71 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 0.0001048/0.2744, allocations: 121.8 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.2744, allocations: 15.83 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.696e-05/0.2744, allocations: 8.375 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/0.2745, allocations: 12 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2745, allocations: 3.984 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2745, allocations: 0 / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.2746, allocations: 173.6 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.2746, allocations: 0 / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.858e-06/0.2747, allocations: 7.938 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2747, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.2747, allocations: 7.984 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2747, allocations: 3.938 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2747, allocations: 0 / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.2748, allocations: 125 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.2749, allocations: 84.95 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.2749, allocations: 0 / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.116e-05/0.2749, allocations: 0 / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.275, allocations: 4.031 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.275, allocations: 4 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.029e-05/0.275, allocations: 111.2 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.275, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003839/0.2754, allocations: 64 kB / 1.093 GB, free: 11.89 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.0007627/0.2762, allocations: 0.7372 MB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001322/0.2763, allocations: 67.91 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2764, allocations: 4 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.308e-05/0.2764, allocations: 35.94 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.2766, allocations: 8.734 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006196/0.2772, allocations: 251.9 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.2775, allocations: 0.6924 MB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.905e-05/0.2776, allocations: 8.125 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/0.2777, allocations: 23.42 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of SimCode: time 2.475e-06/0.2777, allocations: 0 / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.2968, allocations: 2.846 MB / 1.098 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/7.868, allocations: 13.12 kB / 1.098 GB, free: 7.32 MB / 0.8575 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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