Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00122/0.001224, allocations: 105.3 kB / 16.35 MB, free: 6.289 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.001458/0.001458, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.394/2.394, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 68.05 kB / 0.8774 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.279, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002303/0.2814, allocations: 1.269 MB / 1.028 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.2827, allocations: 0.8889 MB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.2827, allocations: 0 / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/0.2828, allocations: 0 / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.2829, allocations: 27.95 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007072/0.2836, allocations: 250.4 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.303e-05/0.2837, allocations: 31.97 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.2837, allocations: 0 / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.2838, allocations: 27.95 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.2839, allocations: 47.89 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.2839, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003969/0.2843, allocations: 275.6 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.158e-05/0.2844, allocations: 15.98 kB / 1.03 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.547e-05/0.2844, allocations: 19.81 kB / 1.03 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.2847, allocations: 247.4 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2847, allocations: 4 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2848, allocations: 0 / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2848, allocations: 0 / 1.03 GB, free: 14.95 MB / 0.8106 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.0003544/0.2851, allocations: 379.3 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.2852, allocations: 8.031 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.2852, allocations: 8.844 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.2853, allocations: 176.2 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.2853, allocations: 4.375 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.2853, allocations: 4.359 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.2855, allocations: 65.98 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2855, allocations: 3.938 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.2855, allocations: 0 / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.2855, allocations: 8 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.938e-05/0.2856, allocations: 31.98 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.2858, allocations: 173.6 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.049e-05/0.2858, allocations: 50.58 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/0.2859, allocations: 40.88 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.862e-06/0.2859, allocations: 0 / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.2859, allocations: 38.62 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 2.324e-06/0.2859, allocations: 0 / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0001825/0.2861, allocations: 133.5 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.2861, allocations: 51.41 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.923e-05/0.2862, allocations: 133.8 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.2863, allocations: 29.73 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.2863, allocations: 88.14 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/0.2864, allocations: 31.45 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.2864, allocations: 21.72 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2865, allocations: 314.8 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.389e-05/0.2865, allocations: 35.98 kB / 1.032 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.397e-05/0.2866, allocations: 24 kB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.173e-05/0.2866, allocations: 77.12 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2866, allocations: 4.031 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001024/0.2868, allocations: 93.62 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2868, allocations: 15.92 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2868, allocations: 0 / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.2868, allocations: 0 / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.2868, allocations: 0 / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.2868, allocations: 0 / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.857e-05/0.2868, allocations: 7.891 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.2869, allocations: 4 kB / 1.032 GB, free: 12.71 MB / 0.8106 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.445e-05/0.2869, allocations: 129.8 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.287, allocations: 11.84 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.265e-05/0.287, allocations: 8.375 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.287, allocations: 11.98 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.287, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.287, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.2871, allocations: 169.7 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2871, allocations: 4 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.2872, allocations: 0 / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2872, allocations: 3.938 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.2872, allocations: 3.938 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2872, allocations: 4 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2872, allocations: 0 / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.2873, allocations: 129 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.102e-05/0.2873, allocations: 88.89 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.2874, allocations: 0 / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.273e-05/0.2874, allocations: 7.984 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.41e-05/0.2874, allocations: 3.938 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.2874, allocations: 7.969 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.103e-05/0.2875, allocations: 103.3 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2875, allocations: 0 / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002789/0.2878, allocations: 71.98 kB / 1.032 GB, free: 11.88 MB / 0.8106 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.000276/0.288, allocations: 163.2 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.2882, allocations: 67.97 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2882, allocations: 0 / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.191e-05/0.2882, allocations: 32.06 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.2884, allocations: 4.766 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.2887, allocations: 202.2 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.2889, allocations: 0.6924 MB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.567e-05/0.289, allocations: 11.98 kB / 1.034 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.289, allocations: 7.438 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of SimCode: time 2.9e-07/0.289, allocations: 4 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of Templates: time 0.003707/0.2927, allocations: 1.473 MB / 1.035 GB, free: 9.215 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches