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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0009183/0.0009184, 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.007953/0.007953, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.658/2.658, allocations: 462.6 MB / 0.7364 GB, free: 324 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003218, allocations: 11.69 kB / 0.9028 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2899, allocations: 159.6 MB / 1.059 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001875/0.2918, allocations: 0.979 MB / 1.06 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002122/0.294, allocations: 0.9233 MB / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.902e-05/0.294, allocations: 0 / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.294, allocations: 4 kB / 1.061 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.2942, allocations: 35.89 kB / 1.061 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009364/0.2952, allocations: 195.6 kB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.084e-05/0.2953, allocations: 35.95 kB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.2953, allocations: 0 / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.049e-05/0.2954, allocations: 19.92 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.2955, allocations: 51.94 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.2956, allocations: 0 / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005819/0.2962, allocations: 275.6 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.899e-05/0.2962, allocations: 27.89 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.2963, allocations: 45.52 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004425/0.2967, allocations: 239.7 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2967, allocations: 0 / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2968, allocations: 0 / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.2968, allocations: 4 kB / 1.061 GB, free: 2.645 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.000494/0.2973, allocations: 372.5 kB / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.2973, allocations: 12.02 kB / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.2974, allocations: 8.844 kB / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.2975, allocations: 176.2 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.2976, allocations: 384 / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.2976, allocations: 384 / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.2978, allocations: 62 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2978, allocations: 0 / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.2978, allocations: 7.984 kB / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.965e-05/0.2979, allocations: 11.98 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.823e-05/0.2979, allocations: 27.98 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.2982, allocations: 177.5 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.842e-05/0.2983, allocations: 54.56 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.2984, allocations: 40.88 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.2984, allocations: 0 / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.2985, allocations: 38.5 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.2985, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.000264/0.2988, allocations: 130 kB / 1.063 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.2988, allocations: 51.41 kB / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.299, allocations: 137.7 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.299, allocations: 29.69 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.2991, allocations: 84.14 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/0.2992, allocations: 35.53 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.2992, allocations: 13.72 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2994, allocations: 322.9 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.516e-05/0.2994, allocations: 27.98 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.241e-05/0.2995, allocations: 31.92 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.2996, allocations: 68.83 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2996, allocations: 0 / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001592/0.2998, allocations: 105.5 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2998, allocations: 7.938 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.2998, allocations: 0 / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.2999, allocations: 0 / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.654e-06/0.2999, allocations: 4.062 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2999, allocations: 0 / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.63e-05/0.2999, allocations: 8 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.2999, allocations: 0 / 1.063 GB, free: 428 kB / 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 0.0001026/0.3, allocations: 121.8 kB / 1.064 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.3001, allocations: 7.844 kB / 1.064 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.826e-05/0.3001, allocations: 12.36 kB / 1.064 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.3001, allocations: 8 kB / 1.064 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3001, allocations: 0 / 1.064 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3001, allocations: 8 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.3003, allocations: 173.7 kB / 1.064 GB, free: 36 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3004, allocations: 3.938 kB / 1.064 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-07/0.3004, allocations: 0 / 1.064 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3004, allocations: 3.938 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.3004, allocations: 0 / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3004, allocations: 0 / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3004, allocations: 0 / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.3006, allocations: 133 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.3007, allocations: 88.89 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.3007, allocations: 4 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.887e-05/0.3007, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.3007, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.3007, allocations: 7.938 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.625e-05/0.3008, allocations: 103.2 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3008, allocations: 0 / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005182/0.3014, allocations: 68 kB / 1.064 GB, free: 15.59 MB / 0.8262 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.0004117/0.3018, allocations: 171.2 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001444/0.3019, allocations: 71.91 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3019, allocations: 0 / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.927e-05/0.302, allocations: 35.98 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.3022, allocations: 7.219 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.3027, allocations: 221.3 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.3032, allocations: 0.6965 MB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.384e-05/0.3032, allocations: 11.5 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.3033, allocations: 11.44 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3033, allocations: 0 / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.005314/0.3086, allocations: 1.447 MB / 1.067 GB, free: 12.91 MB / 0.8262 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 -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/jenkins/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