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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001324/0.001324, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.801/2.801, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 69.67 kB / 0.9121 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2976, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002264/0.3, allocations: 1.249 MB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.3013, allocations: 0.8787 MB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.222e-05/0.3014, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.617e-05/0.3014, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.3016, allocations: 35.89 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007426/0.3023, allocations: 246.5 kB / 1.071 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.371e-05/0.3024, allocations: 35.89 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.3024, allocations: 0 / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.393e-05/0.3025, allocations: 19.97 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.3026, allocations: 55.89 kB / 1.071 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.3026, allocations: 0 / 1.071 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.303, allocations: 279.6 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.179e-05/0.3031, allocations: 11.98 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.3031, allocations: 19.81 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.3034, allocations: 239.7 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3035, allocations: 0 / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3035, allocations: 3.938 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3035, allocations: 4 kB / 1.071 GB, free: 7.289 MB / 0.8262 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.0003565/0.3038, allocations: 387.3 kB / 1.072 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.3039, allocations: 8.031 kB / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.3039, allocations: 8.844 kB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.304, allocations: 172.2 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3041, allocations: 4.359 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.291e-06/0.3041, allocations: 384 / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.3042, allocations: 62 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.3042, allocations: 3.984 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.3042, allocations: 4 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.3042, allocations: 8 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.516e-05/0.3043, allocations: 27.92 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.3045, allocations: 181.5 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.782e-05/0.3045, allocations: 46.58 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.856e-05/0.3046, allocations: 40.88 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.62e-06/0.3046, allocations: 0 / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.3046, allocations: 38.5 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.3046, allocations: 0 / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0001927/0.3048, allocations: 130.1 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.3049, allocations: 59.34 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.305, allocations: 137.7 kB / 1.073 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.305, allocations: 25.7 kB / 1.073 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.305, allocations: 84.14 kB / 1.073 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.3051, allocations: 35.45 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.3051, allocations: 21.69 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3052, allocations: 322.8 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.963e-05/0.3053, allocations: 27.98 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.453e-05/0.3053, allocations: 24 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.511e-05/0.3054, allocations: 72.81 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.3054, allocations: 0 / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001023/0.3055, allocations: 101.5 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3055, allocations: 7.938 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3055, allocations: 11.98 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.3056, allocations: 4.062 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.3056, allocations: 0 / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3056, allocations: 0 / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.522e-05/0.3056, allocations: 0 / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.3056, allocations: 4 kB / 1.073 GB, free: 5.047 MB / 0.8262 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.042e-05/0.3057, allocations: 121.8 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.3057, allocations: 11.84 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.279e-05/0.3057, allocations: 8.375 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.3057, allocations: 15.98 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3058, allocations: 4 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.3058, allocations: 0 / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.3059, allocations: 169.8 kB / 1.074 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3059, allocations: 3.938 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.3059, allocations: 0 / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3059, allocations: 7.938 kB / 1.074 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.3059, allocations: 0 / 1.074 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3059, allocations: 0 / 1.074 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3059, allocations: 3.938 kB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.3061, allocations: 125 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.3061, allocations: 92.83 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.3061, allocations: 0 / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.225e-05/0.3062, allocations: 3.984 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.3062, allocations: 4 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.3062, allocations: 0 / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.607e-05/0.3062, allocations: 103.3 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.393e-06/0.3063, allocations: 0 / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003007/0.3066, allocations: 71.92 kB / 1.074 GB, free: 4.219 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.0003017/0.3069, allocations: 175.8 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.307, allocations: 63.97 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.307, allocations: 0 / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.141e-05/0.307, allocations: 32 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.3072, allocations: 4 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.3075, allocations: 203.1 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.3078, allocations: 0.6924 MB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.653e-05/0.3078, allocations: 11.98 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.3078, allocations: 11.44 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.3078, allocations: 0 / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of Templates: time 0.00374/0.3116, allocations: 1.475 MB / 1.077 GB, free: 1.551 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