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.0008793/0.0008797, allocations: 99.34 kB / 16.02 MB, free: 76 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.001853/0.001853, allocations: 184.2 kB / 16.92 MB, free: 6.895 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.476/1.476, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.757/2.757, allocations: 462.7 MB / 0.7371 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003734, allocations: 12.38 kB / 0.9035 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3634, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001789/0.3653, allocations: 0.981 MB / 1.06 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001839/0.3672, allocations: 0.9234 MB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.3672, allocations: 0 / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.186e-05/0.3673, allocations: 0 / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.3674, allocations: 27.97 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000883/0.3683, allocations: 190.5 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.3684, allocations: 43.94 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.539e-05/0.3685, allocations: 4 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.057e-05/0.3686, allocations: 11.98 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.3687, allocations: 47.94 kB / 1.062 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.3688, allocations: 0 / 1.062 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005047/0.3693, allocations: 283.6 kB / 1.062 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.295e-05/0.3693, allocations: 27.84 kB / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.3694, allocations: 45.52 kB / 1.062 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.3697, allocations: 164 kB / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3697, allocations: 0 / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3697, allocations: 0 / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3697, allocations: 0 / 1.062 GB, free: 2.223 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.0004578/0.3702, allocations: 375.4 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3703, allocations: 11.97 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.3703, allocations: 8.844 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.3704, allocations: 180.2 kB / 1.063 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3705, allocations: 4.375 kB / 1.063 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.3705, allocations: 384 / 1.063 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.3706, allocations: 58 kB / 1.063 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3706, allocations: 4 kB / 1.063 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3707, allocations: 3.984 kB / 1.063 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/0.3707, allocations: 12 kB / 1.063 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.184e-05/0.3707, allocations: 23.98 kB / 1.063 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000232/0.371, allocations: 181.5 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.408e-05/0.3711, allocations: 58.59 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/0.3711, allocations: 40.88 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.17e-06/0.3711, allocations: 0 / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.3712, allocations: 34.5 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.3712, allocations: 3.938 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0002305/0.3714, allocations: 129.6 kB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.3714, allocations: 51.41 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.3716, allocations: 133.8 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.3716, allocations: 29.7 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.3716, allocations: 88.14 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.3717, allocations: 27.55 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.3717, allocations: 17.72 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.3718, allocations: 323.1 kB / 1.064 GB, free: 252 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.069e-05/0.3719, allocations: 23.98 kB / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.888e-05/0.3719, allocations: 31.92 kB / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.429e-05/0.372, allocations: 72.77 kB / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.372, allocations: 4.031 kB / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001144/0.3721, allocations: 97.58 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3721, allocations: 11.94 kB / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3722, allocations: 0 / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3722, allocations: 0 / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.655e-05/0.3722, allocations: 112 / 1.064 GB, free: 16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3722, allocations: 3.938 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.3722, allocations: 0 / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.3723, allocations: 4 kB / 1.064 GB, free: 15.99 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 9.182e-05/0.3724, allocations: 121.9 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.3724, allocations: 11.84 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.828e-05/0.3724, allocations: 8.375 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.3724, allocations: 11.98 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3724, allocations: 0 / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3724, allocations: 3.984 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.3726, allocations: 181.6 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3726, allocations: 0 / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.3726, allocations: 0 / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3726, allocations: 3.938 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3726, allocations: 0 / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3726, allocations: 4 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3726, allocations: 3.828 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.3728, allocations: 129.1 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.3728, allocations: 92.88 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.3729, allocations: 4 kB / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.133e-05/0.3729, allocations: 0 / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.162e-05/0.3729, allocations: 0 / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.3729, allocations: 0 / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.916e-05/0.373, allocations: 107.3 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/0.373, allocations: 0 / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003491/0.3733, allocations: 71.98 kB / 1.065 GB, free: 15.16 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.0003658/0.3737, allocations: 167.2 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.3738, allocations: 71.91 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3738, allocations: 0 / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/0.3739, allocations: 32 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.374, allocations: 8.109 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.3744, allocations: 242.9 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.3747, allocations: 0.7004 MB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.3748, allocations: 15.38 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3748, allocations: 0 / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of Templates: time 0.003862/0.3786, allocations: 1.489 MB / 1.067 GB, free: 12.37 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/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