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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006813/0.006813, allocations: 101.9 kB / 15.73 MB, free: 5.516 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.001415/0.001415, allocations: 203.4 kB / 16.68 MB, free: 5.445 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.121 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.354/2.354, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.52 kB / 0.9509 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2726, allocations: 140.4 MB / 1.088 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002371/0.275, allocations: 1.253 MB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.2766, allocations: 0.8791 MB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.2767, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.636e-05/0.2767, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.2769, allocations: 39.88 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009168/0.2778, allocations: 239.5 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.741e-05/0.2779, allocations: 27.97 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.502e-05/0.278, allocations: 4 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.305e-05/0.2781, allocations: 19.97 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.2782, allocations: 51.88 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.2782, allocations: 3.938 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005125/0.2788, allocations: 279.6 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.2788, allocations: 11.98 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.392e-05/0.2789, allocations: 19.81 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.2793, allocations: 247.3 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2793, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.166e-06/0.2793, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2793, allocations: 4 kB / 1.091 GB, free: 14.52 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.0004495/0.2798, allocations: 390.9 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2798, allocations: 8.031 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.2798, allocations: 8.891 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.28, allocations: 176.2 kB / 1.092 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.28, allocations: 4.312 kB / 1.092 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.28, allocations: 384 / 1.092 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.2802, allocations: 62 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.2802, allocations: 3.984 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.2802, allocations: 0 / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.528e-05/0.2802, allocations: 12 kB / 1.092 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.615e-05/0.2803, allocations: 23.98 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.2805, allocations: 177.6 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.432e-05/0.2806, allocations: 50.61 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.259e-05/0.2806, allocations: 44.88 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.19e-06/0.2806, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.2807, allocations: 34.5 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.2807, allocations: 4 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0002315/0.2809, allocations: 137.6 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.2809, allocations: 55.34 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.2811, allocations: 133.8 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.2811, allocations: 25.7 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.2811, allocations: 88.14 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.476e-05/0.2812, allocations: 35.62 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.2812, allocations: 17.72 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2814, allocations: 326.9 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.189e-05/0.2814, allocations: 27.98 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.365e-05/0.2814, allocations: 24 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.116e-05/0.2815, allocations: 81.06 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2815, allocations: 4 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001018/0.2816, allocations: 89.69 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.2817, allocations: 7.938 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.2817, allocations: 11.97 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2817, allocations: 0 / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.2817, allocations: 4.062 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2817, allocations: 3.938 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.748e-05/0.2817, allocations: 3.953 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.2818, allocations: 4 kB / 1.093 GB, free: 12.26 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 8.832e-05/0.2818, allocations: 117.8 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.2819, allocations: 11.89 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.241e-05/0.2819, allocations: 4.375 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/0.2819, allocations: 15.98 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2819, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2819, allocations: 4 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.2821, allocations: 173.7 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2821, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.2821, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2821, allocations: 7.938 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.2821, allocations: 3.984 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2821, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2821, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.2823, allocations: 129 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.672e-05/0.2823, allocations: 92.88 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.2823, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.049e-05/0.2823, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.2823, allocations: 15.91 kB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.2824, allocations: 0 / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.025e-05/0.2824, allocations: 99.27 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2824, allocations: 0 / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002959/0.2828, allocations: 75.86 kB / 1.094 GB, free: 11.43 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.0003061/0.2831, allocations: 171.1 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.2832, allocations: 71.91 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2832, allocations: 0 / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.196e-05/0.2832, allocations: 32 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.2834, allocations: 5.719 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.2837, allocations: 186.1 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.284, allocations: 0.6925 MB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.802e-05/0.284, allocations: 13.48 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.284, allocations: 11.44 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.2841, allocations: 0 / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of Templates: time 0.003713/0.2878, allocations: 1.478 MB / 1.096 GB, free: 8.754 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (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 & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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