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.001368/0.001368, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001563/0.001562, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.404/1.404, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.356/2.356, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.89 kB / 0.8121 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.675/0.6764, allocations: 140.3 MB / 0.9491 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002144/0.6786, allocations: 1.321 MB / 0.9504 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.6798, allocations: 0.884 MB / 0.9513 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.149e-05/0.6799, allocations: 0 / 0.9513 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.627e-05/0.6799, allocations: 11.92 kB / 0.9513 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.68, allocations: 24.47 kB / 0.9513 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007034/0.6807, allocations: 226.5 kB / 0.9515 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.093e-05/0.6808, allocations: 21.2 kB / 0.9516 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.6809, allocations: 5.328 kB / 0.9516 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.815e-05/0.6809, allocations: 20.69 kB / 0.9516 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.681, allocations: 57.12 kB / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.6811, allocations: 0 / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003588/0.6814, allocations: 275.5 kB / 0.9519 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.099e-05/0.6815, allocations: 18.48 kB / 0.9519 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.6815, allocations: 17 kB / 0.9519 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.6818, allocations: 241 kB / 0.9522 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6818, allocations: 0 / 0.9522 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6818, allocations: 4 kB / 0.9522 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.6818, allocations: 1.219 kB / 0.9522 GB, free: 6.855 MB / 0.7169 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.0003266/0.6822, allocations: 387.8 kB / 0.9525 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.6822, allocations: 13.88 kB / 0.9525 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.6822, allocations: 6.312 kB / 0.9526 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.553e-05/0.6823, allocations: 176.5 kB / 0.9527 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.6824, allocations: 384 / 0.9527 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.6824, allocations: 1.875 kB / 0.9527 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.6825, allocations: 63.56 kB / 0.9528 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.6825, allocations: 4 kB / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.6825, allocations: 5.609 kB / 0.9528 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-05/0.6826, allocations: 8.812 kB / 0.9528 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.988e-05/0.6826, allocations: 24.67 kB / 0.9528 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.6828, allocations: 177.3 kB / 0.953 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.064e-05/0.6829, allocations: 45.55 kB / 0.953 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.841e-05/0.6829, allocations: 43.97 kB / 0.9531 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-06/0.6829, allocations: 4 kB / 0.9531 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.6829, allocations: 35.72 kB / 0.9531 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.6829, allocations: 0 / 0.9531 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002257/0.6832, allocations: 134.5 kB / 0.9532 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.6832, allocations: 52.5 kB / 0.9533 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.495e-05/0.6833, allocations: 134 kB / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.6833, allocations: 25.7 kB / 0.9534 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.688e-05/0.6833, allocations: 86.52 kB / 0.9535 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.6834, allocations: 35.64 kB / 0.9536 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.6834, allocations: 18.05 kB / 0.9536 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.037e-05/0.6835, allocations: 322.7 kB / 0.9539 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.09e-05/0.6835, allocations: 29.3 kB / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.601e-05/0.6835, allocations: 19.72 kB / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.413e-05/0.6836, allocations: 75.02 kB / 0.954 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6836, allocations: 7.922 kB / 0.954 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.789e-05/0.6837, allocations: 94.12 kB / 0.9541 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.6838, allocations: 13.38 kB / 0.9541 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6838, allocations: 11.98 kB / 0.9541 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.6838, allocations: 0 / 0.9541 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.6838, allocations: 1.562 kB / 0.9541 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.6838, allocations: 0 / 0.9541 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.6838, allocations: 5.25 kB / 0.9541 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.6838, allocations: 2.219 kB / 0.9541 GB, free: 5.027 MB / 0.7169 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 5.635e-05/0.6839, allocations: 123.4 kB / 0.9543 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.6839, allocations: 10.28 kB / 0.9543 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.323e-05/0.6839, allocations: 14.56 kB / 0.9543 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.684, allocations: 18.17 kB / 0.9543 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.684, allocations: 0 / 0.9543 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.684, allocations: 1.156 kB / 0.9543 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.6841, allocations: 173.9 kB / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6841, allocations: 0 / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.6841, allocations: 0 / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.6841, allocations: 4.688 kB / 0.9545 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.6841, allocations: 1.125 kB / 0.9545 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.6841, allocations: 0 / 0.9545 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.6841, allocations: 1.312 kB / 0.9545 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.6842, allocations: 127.5 kB / 0.9546 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.6843, allocations: 86.39 kB / 0.9547 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.6843, allocations: 1.406 kB / 0.9547 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.075e-05/0.6843, allocations: 0 / 0.9547 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.6843, allocations: 5.359 kB / 0.9547 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.6843, allocations: 1.281 kB / 0.9547 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.376e-05/0.6844, allocations: 104.8 kB / 0.9548 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6844, allocations: 0 / 0.9548 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003111/0.6847, allocations: 77.36 kB / 0.9549 GB, free: 4.371 MB / 0.7169 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.0002969/0.685, allocations: 174.9 kB / 0.955 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.6851, allocations: 60.08 kB / 0.9551 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6851, allocations: 0 / 0.9551 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.351e-05/0.6851, allocations: 39.8 kB / 0.9551 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.6853, allocations: 14.81 kB / 0.9551 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.6856, allocations: 213.7 kB / 0.9553 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.6858, allocations: 0.702 MB / 0.956 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.807e-05/0.6858, allocations: 14.83 kB / 0.956 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.6858, allocations: 8.844 kB / 0.956 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.6858, allocations: 0 / 0.956 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of Templates: time 0.003678/0.6895, allocations: 1.465 MB / 0.9575 GB, free: 2.598 MB / 0.7169 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