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.001308/0.001308, allocations: 108.3 kB / 15.99 MB, free: 6.359 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.001357/0.001357, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.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.252/2.252, allocations: 390.2 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 65 kB / 0.8127 GB, free: 32.49 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2749, allocations: 140.4 MB / 0.9498 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002717/0.2777, allocations: 1.317 MB / 0.9511 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.2792, allocations: 0.8989 MB / 0.952 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.325e-05/0.2792, allocations: 0 / 0.952 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.2793, allocations: 0 / 0.952 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.2794, allocations: 27.95 kB / 0.952 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008548/0.2803, allocations: 223.6 kB / 0.9522 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.556e-05/0.2804, allocations: 27.97 kB / 0.9522 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.2804, allocations: 4 kB / 0.9522 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.09e-05/0.2805, allocations: 19.97 kB / 0.9523 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.2806, allocations: 51.94 kB / 0.9523 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.2806, allocations: 0 / 0.9523 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004242/0.2811, allocations: 279.6 kB / 0.9526 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.051e-05/0.2811, allocations: 19.92 kB / 0.9526 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.2812, allocations: 19.86 kB / 0.9526 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.2814, allocations: 167.9 kB / 0.9528 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2814, allocations: 0 / 0.9528 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.512e-06/0.2815, allocations: 0 / 0.9528 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.2815, allocations: 0 / 0.9528 GB, free: 6.145 MB / 0.7325 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.0004091/0.2819, allocations: 379.3 kB / 0.9531 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2819, allocations: 8.031 kB / 0.9531 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.282, allocations: 12.78 kB / 0.9532 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.2821, allocations: 180.2 kB / 0.9533 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.2821, allocations: 384 / 0.9533 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.2821, allocations: 384 / 0.9533 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.2822, allocations: 62 kB / 0.9534 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.2823, allocations: 4 kB / 0.9534 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.2823, allocations: 0 / 0.9534 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.2823, allocations: 11.98 kB / 0.9534 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.718e-05/0.2824, allocations: 24 kB / 0.9534 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002037/0.2826, allocations: 173.6 kB / 0.9536 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.772e-05/0.2826, allocations: 58.59 kB / 0.9536 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.2827, allocations: 44.88 kB / 0.9537 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.902e-06/0.2827, allocations: 0 / 0.9537 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.2827, allocations: 34.5 kB / 0.9537 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 9.91e-07/0.2827, allocations: 0 / 0.9537 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0002005/0.2829, allocations: 125.6 kB / 0.9538 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.283, allocations: 55.39 kB / 0.9539 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.986e-05/0.2831, allocations: 125.8 kB / 0.954 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.2831, allocations: 37.62 kB / 0.954 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.2832, allocations: 92.16 kB / 0.9541 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.2832, allocations: 27.56 kB / 0.9542 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.2832, allocations: 21.7 kB / 0.9542 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.2833, allocations: 314.8 kB / 0.9545 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.128e-05/0.2834, allocations: 27.98 kB / 0.9545 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.2834, allocations: 31.98 kB / 0.9545 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.888e-05/0.2835, allocations: 77.08 kB / 0.9546 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2835, allocations: 0 / 0.9546 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001088/0.2836, allocations: 101.6 kB / 0.9547 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2836, allocations: 7.938 kB / 0.9547 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2837, allocations: 3.938 kB / 0.9547 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2837, allocations: 0 / 0.9547 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.2837, allocations: 4 kB / 0.9547 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2837, allocations: 0 / 0.9547 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.953e-05/0.2837, allocations: 3.906 kB / 0.9547 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.2837, allocations: 4 kB / 0.9547 GB, free: 3.91 MB / 0.7325 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.184e-05/0.2838, allocations: 117.8 kB / 0.9548 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.2838, allocations: 15.88 kB / 0.9549 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.499e-05/0.2839, allocations: 8.359 kB / 0.9549 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/0.2839, allocations: 12 kB / 0.9549 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2839, allocations: 0 / 0.9549 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2839, allocations: 0 / 0.9549 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.284, allocations: 169.7 kB / 0.955 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2841, allocations: 4 kB / 0.955 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-07/0.2841, allocations: 0 / 0.955 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2841, allocations: 3.938 kB / 0.9551 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.2841, allocations: 4 kB / 0.9551 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2841, allocations: 0 / 0.9551 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2841, allocations: 7.984 kB / 0.9551 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.2842, allocations: 132.9 kB / 0.9552 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.2843, allocations: 92.89 kB / 0.9553 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.2843, allocations: 0 / 0.9553 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.116e-05/0.2843, allocations: 3.938 kB / 0.9553 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.2843, allocations: 0 / 0.9553 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.2843, allocations: 4 kB / 0.9553 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.122e-05/0.2844, allocations: 111.2 kB / 0.9554 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2844, allocations: 0 / 0.9554 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000316/0.2847, allocations: 75.98 kB / 0.9555 GB, free: 3.066 MB / 0.7325 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.0003224/0.2851, allocations: 163.2 kB / 0.9556 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.2852, allocations: 71.91 kB / 0.9557 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2852, allocations: 0 / 0.9557 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.298e-05/0.2852, allocations: 35.98 kB / 0.9557 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.2854, allocations: 4 kB / 0.9557 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.2858, allocations: 240.1 kB / 0.956 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.286, allocations: 0.6961 MB / 0.9566 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.2861, allocations: 15.44 kB / 0.9566 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.2861, allocations: 0 / 0.9566 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of Templates: time 0.003442/0.2895, allocations: 1.504 MB / 0.9581 GB, free: 284 kB / 0.7325 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/jenkins1/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