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.001385/0.001385, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001652/0.001652, allocations: 192.9 kB / 16.13 MB, free: 6.656 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.36/1.36, allocations: 222.9 MB / 239.8 MB, free: 4.566 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.371/2.371, allocations: 390.2 MB / 0.6642 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 59.91 kB / 0.8119 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.686/0.6874, allocations: 140.4 MB / 0.949 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002002/0.6894, allocations: 1.308 MB / 0.9502 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.6906, allocations: 0.9078 MB / 0.9511 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.539e-05/0.6907, allocations: 1.312 kB / 0.9511 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.6907, allocations: 0 / 0.9511 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.6908, allocations: 35.73 kB / 0.9512 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.6914, allocations: 199.3 kB / 0.9514 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.74e-05/0.6914, allocations: 32.56 kB / 0.9514 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.6915, allocations: 1.812 kB / 0.9514 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.222e-05/0.6915, allocations: 22.09 kB / 0.9514 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.6917, allocations: 48.98 kB / 0.9515 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.877e-06/0.6917, allocations: 0 / 0.9515 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003782/0.6921, allocations: 280.1 kB / 0.9517 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.6921, allocations: 18.61 kB / 0.9517 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.6921, allocations: 19.47 kB / 0.9518 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.6924, allocations: 242.4 kB / 0.952 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.6924, allocations: 1.438 kB / 0.952 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.22e-07/0.6924, allocations: 0 / 0.952 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.6924, allocations: 0 / 0.952 GB, free: 6.918 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.0003181/0.6928, allocations: 392 kB / 0.9524 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.6928, allocations: 9.312 kB / 0.9524 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.6928, allocations: 11.91 kB / 0.9524 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.966e-05/0.6929, allocations: 183.3 kB / 0.9526 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.6929, allocations: 1.594 kB / 0.9526 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.693, allocations: 384 / 0.9526 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.6931, allocations: 60.61 kB / 0.9526 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.6931, allocations: 0 / 0.9526 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.6931, allocations: 0 / 0.9526 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.067e-05/0.6931, allocations: 14.22 kB / 0.9526 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.658e-05/0.6932, allocations: 29.77 kB / 0.9527 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.6933, allocations: 176.1 kB / 0.9528 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.615e-05/0.6934, allocations: 50.09 kB / 0.9529 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.6935, allocations: 34.92 kB / 0.9529 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.101e-06/0.6935, allocations: 1.188 kB / 0.9529 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.337e-05/0.6935, allocations: 38.48 kB / 0.9529 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 8.92e-07/0.6935, allocations: 5.156 kB / 0.953 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0001801/0.6937, allocations: 126.6 kB / 0.9531 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.763e-05/0.6937, allocations: 51.41 kB / 0.9531 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.711e-05/0.6938, allocations: 130.7 kB / 0.9532 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-06/0.6938, allocations: 25.7 kB / 0.9533 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.193e-05/0.6938, allocations: 90.58 kB / 0.9534 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.6939, allocations: 27.52 kB / 0.9534 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.6939, allocations: 18.84 kB / 0.9534 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.506e-05/0.6939, allocations: 330.1 kB / 0.9537 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-05/0.694, allocations: 24.48 kB / 0.9537 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.587e-05/0.694, allocations: 36.86 kB / 0.9538 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.594e-05/0.6941, allocations: 73.58 kB / 0.9538 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.6941, allocations: 1.25 kB / 0.9538 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.37e-05/0.6942, allocations: 100.9 kB / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.6942, allocations: 9.688 kB / 0.954 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6942, allocations: 0 / 0.954 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.6942, allocations: 5.062 kB / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.6942, allocations: 4.062 kB / 0.954 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.6942, allocations: 0 / 0.954 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.493e-05/0.6943, allocations: 5.594 kB / 0.954 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.6943, allocations: 1.812 kB / 0.954 GB, free: 5.086 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.52e-05/0.6943, allocations: 120.5 kB / 0.9541 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.6943, allocations: 10.16 kB / 0.9541 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.107e-05/0.6944, allocations: 6.594 kB / 0.9541 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.6944, allocations: 13.55 kB / 0.9541 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.6944, allocations: 1.031 kB / 0.9541 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.6944, allocations: 7.984 kB / 0.9541 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.798e-05/0.6945, allocations: 181.7 kB / 0.9543 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6945, allocations: 1.25 kB / 0.9543 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-07/0.6945, allocations: 0 / 0.9543 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6945, allocations: 3.938 kB / 0.9543 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.6945, allocations: 1.188 kB / 0.9543 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.6945, allocations: 1.156 kB / 0.9543 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6945, allocations: 3.984 kB / 0.9543 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.6946, allocations: 130.8 kB / 0.9544 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.6947, allocations: 90.97 kB / 0.9545 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.6947, allocations: 1.344 kB / 0.9545 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.066e-05/0.6947, allocations: 0 / 0.9545 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.079e-05/0.6947, allocations: 1.281 kB / 0.9545 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.6947, allocations: 2.75 kB / 0.9545 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.734e-05/0.6948, allocations: 99.8 kB / 0.9546 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.6948, allocations: 0 / 0.9546 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003065/0.6951, allocations: 78.48 kB / 0.9547 GB, free: 4.426 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.0002956/0.6954, allocations: 166.5 kB / 0.9549 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.6955, allocations: 75.78 kB / 0.9549 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6955, allocations: 0 / 0.9549 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.74e-05/0.6956, allocations: 31.81 kB / 0.955 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.6957, allocations: 7.391 kB / 0.955 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.696, allocations: 211.6 kB / 0.9552 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.6962, allocations: 0.6973 MB / 0.9558 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.6962, allocations: 10.56 kB / 0.9559 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.6962, allocations: 10.97 kB / 0.9559 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6962, allocations: 0 / 0.9559 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of Templates: time 0.003532/0.6998, allocations: 1.467 MB / 0.9573 GB, free: 2.664 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