Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00192/0.00192, allocations: 87.69 kB / 20.24 MB, free: 4.18 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002128/0.002128, allocations: 157.3 kB / 23.54 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.689/1.689, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.098/3.098, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_12_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=2500,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 0 / 0.8109 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.85e-05/4.071e-05, allocations: 8.781 kB / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.003077/0.003118, allocations: 1.292 MB / 0.8121 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.00505, allocations: 0.8826 MB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.005078, allocations: 0 / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.727e-05/0.005125, allocations: 1.656 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.005276, allocations: 27.95 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009171/0.006193, allocations: 257.1 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.335e-05/0.006277, allocations: 31.89 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.006317, allocations: 0 / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.006384, allocations: 17.3 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.006579, allocations: 57.83 kB / 0.8134 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.006597, allocations: 4 kB / 0.8134 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005849/0.007182, allocations: 295.4 kB / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.505e-05/0.007237, allocations: 15.92 kB / 0.8137 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.007265, allocations: 10.44 kB / 0.8137 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004806/0.007745, allocations: 283.3 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.007749, allocations: 0 / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.12e-07/0.00775, allocations: 0 / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.007755, allocations: 0 / 0.8139 GB, free: 14.89 MB / 0.7761 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.0006081/0.008363, allocations: 415.8 kB / 0.8143 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.008406, allocations: 8.031 kB / 0.8143 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.008459, allocations: 13.55 kB / 0.8144 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.008612, allocations: 121 kB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.008626, allocations: 384 / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.008639, allocations: 9.969 kB / 0.8145 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.008745, allocations: 34.25 kB / 0.8145 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.008752, allocations: 192 / 0.8145 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.008762, allocations: 384 / 0.8145 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.945e-05/0.008812, allocations: 20.58 kB / 0.8145 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.114e-05/0.008833, allocations: 4 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/0.009104, allocations: 141.8 kB / 0.8147 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.959e-05/0.009183, allocations: 31.09 kB / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.009211, allocations: 15.72 kB / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.009226, allocations: 5.141 kB / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.009262, allocations: 33.39 kB / 0.8148 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.009263, allocations: 0 / 0.8148 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0002214/0.009485, allocations: 75 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.009544, allocations: 55.34 kB / 0.8149 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.009719, allocations: 185.9 kB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.00974, allocations: 30.86 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.371e-05/0.009834, allocations: 134.9 kB / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003529/0.01019, allocations: 31.73 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.01023, allocations: 23.38 kB / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002873/0.01052, allocations: 0.4968 MB / 0.8158 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.01053, allocations: 4.75 kB / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.054e-05/0.01055, allocations: 4 kB / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.743e-05/0.01059, allocations: 28.47 kB / 0.8158 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.0106, allocations: 0 / 0.8158 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.812e-05/0.01069, allocations: 67.45 kB / 0.8159 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.01071, allocations: 4 kB / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01072, allocations: 0 / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.01073, allocations: 3.938 kB / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.29e-06/0.01074, allocations: 3.984 kB / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.01075, allocations: 8.688 kB / 0.8159 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.317e-05/0.01077, allocations: 11.89 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.01079, allocations: 2.344 kB / 0.8159 GB, free: 12.71 MB / 0.7761 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 0.0001543/0.01094, allocations: 160.6 kB / 0.816 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.01095, allocations: 3.953 kB / 0.816 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.01097, allocations: 12.42 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/0.011, allocations: 8 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.011, allocations: 3.938 kB / 0.8161 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.01101, allocations: 2 kB / 0.8161 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.01119, allocations: 140.6 kB / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.01119, allocations: 0 / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-06/0.01119, allocations: 4 kB / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.01119, allocations: 0 / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.0112, allocations: 0.5 kB / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.0112, allocations: 5.344 kB / 0.8162 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.0112, allocations: 0 / 0.8162 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.01134, allocations: 104.3 kB / 0.8163 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.01135, allocations: 3.953 kB / 0.8163 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.01136, allocations: 0.7188 kB / 0.8163 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.356e-05/0.01138, allocations: 4 kB / 0.8163 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.0114, allocations: 0.6562 kB / 0.8163 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.0114, allocations: 3.938 kB / 0.8163 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000111/0.01151, allocations: 142.8 kB / 0.8165 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01151, allocations: 0 / 0.8165 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000303/0.01182, allocations: 71.8 kB / 0.8165 GB, free: 11.99 MB / 0.7761 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.0003965/0.01221, allocations: 179.1 kB / 0.8167 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.01232, allocations: 39.55 kB / 0.8167 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01232, allocations: 0 / 0.8167 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.574e-05/0.01235, allocations: 19.67 kB / 0.8168 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.01251, allocations: 12.16 kB / 0.8168 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.01291, allocations: 158.8 kB / 0.8169 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.01302, allocations: 83.25 kB / 0.817 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.133e-05/0.01306, allocations: 6.062 kB / 0.817 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.01309, allocations: 13.56 kB / 0.817 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of SimCode: time 4.2e-07/0.01309, allocations: 1.094 kB / 0.817 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of Templates: time 0.005201/0.01829, allocations: 1.487 MB / 0.8185 GB, free: 10 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.725127498037182]