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.001511/0.001511, allocations: 107.9 kB / 16.41 MB, free: 6.496 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.001496/0.001496, allocations: 187 kB / 17.34 MB, free: 5.766 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.15 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.337/2.337, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 67.89 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8781/0.8797, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002488/0.8822, allocations: 1.245 MB / 1.09 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.8837, allocations: 0.8785 MB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.074e-05/0.8837, allocations: 0 / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.8838, allocations: 4.453 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.8839, allocations: 30.95 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000927/0.8849, allocations: 251 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.664e-05/0.885, allocations: 26.92 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.885, allocations: 1.969 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.291e-05/0.8851, allocations: 24.16 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.8853, allocations: 51.14 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.8853, allocations: 0.75 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00055/0.8859, allocations: 282 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.442e-05/0.8859, allocations: 22.42 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.886, allocations: 12.41 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.8864, allocations: 240.4 kB / 1.092 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8864, allocations: 0.6875 kB / 1.092 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.825e-06/0.8864, allocations: 0.6094 kB / 1.092 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.8864, allocations: 0.8438 kB / 1.092 GB, free: 3.789 MB / 0.8575 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.0003902/0.8868, allocations: 382.3 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.8869, allocations: 9.75 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.8869, allocations: 14.38 kB / 1.092 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.745e-05/0.887, allocations: 178.2 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.887, allocations: 1.188 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.8871, allocations: 1.125 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.8872, allocations: 68.5 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.8872, allocations: 3.938 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.8872, allocations: 5.484 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-05/0.8873, allocations: 11.19 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.863e-05/0.8873, allocations: 28.55 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.8875, allocations: 175.7 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.784e-05/0.8876, allocations: 49.44 kB / 1.093 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.8877, allocations: 41.78 kB / 1.093 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.355e-06/0.8877, allocations: 0.75 kB / 1.093 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.8877, allocations: 36.16 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.8877, allocations: 0 / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0002285/0.8879, allocations: 129.2 kB / 1.093 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.888, allocations: 56.23 kB / 1.093 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.8881, allocations: 129.1 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.715e-06/0.8881, allocations: 26.61 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.8881, allocations: 87.8 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.8882, allocations: 34.52 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.8882, allocations: 16.64 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.734e-05/0.8883, allocations: 319.4 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-05/0.8883, allocations: 27.84 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-05/0.8884, allocations: 32.55 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.8885, allocations: 78.34 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8885, allocations: 0 / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000124/0.8886, allocations: 97.52 kB / 1.094 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.8887, allocations: 9.672 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.8887, allocations: 0.5625 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.8887, allocations: 0.6875 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.174e-06/0.8887, allocations: 0.7969 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.8887, allocations: 0.7188 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.8887, allocations: 8.562 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.8887, allocations: 6.781 kB / 1.094 GB, free: 2.043 MB / 0.8575 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 6.97e-05/0.8888, allocations: 119.4 kB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.8888, allocations: 10.81 kB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.811e-05/0.8889, allocations: 8.312 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/0.8889, allocations: 16.94 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.8889, allocations: 0 / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.8889, allocations: 0.875 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.889, allocations: 169.4 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.889, allocations: 0 / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.889, allocations: 4 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.889, allocations: 4.812 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.8891, allocations: 5.719 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8891, allocations: 0 / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8891, allocations: 4.844 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.8892, allocations: 127.8 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.8893, allocations: 87.89 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.8893, allocations: 1.344 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.086e-05/0.8893, allocations: 4.969 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.8893, allocations: 1.359 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.8893, allocations: 2.953 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.382e-05/0.8894, allocations: 101.9 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8894, allocations: 3.938 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004198/0.8898, allocations: 72.08 kB / 1.094 GB, free: 1.426 MB / 0.8575 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.0003481/0.8902, allocations: 172.2 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.8903, allocations: 74.31 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.8903, allocations: 0 / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.462e-05/0.8904, allocations: 35.97 kB / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.8905, allocations: 1.141 kB / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.8909, allocations: 217.2 kB / 1.095 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.8911, allocations: 0.6942 MB / 1.095 GB, free: 448 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.8911, allocations: 15.34 kB / 1.095 GB, free: 436 kB / 0.8575 GB Notification: Performance of SimCode: time 8.82e-07/0.8911, allocations: 0 / 1.095 GB, free: 436 kB / 0.8575 GB Notification: Performance of Templates: time 0.004426/0.8956, allocations: 1.517 MB / 1.097 GB, free: 300 kB / 0.8575 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