Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002566/0.002566, allocations: 83.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.002942/0.002942, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.603/1.603, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.853/2.853, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0.6562 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.806e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002372/0.0024, allocations: 1.292 MB / 0.7877 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.004035, allocations: 0.8782 MB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/0.004061, allocations: 0 / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.001e-05/0.004101, allocations: 0.9062 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.004218, allocations: 27.95 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008144/0.005032, allocations: 261.4 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.715e-05/0.005109, allocations: 31.95 kB / 0.7889 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.323e-05/0.005142, allocations: 0.9062 kB / 0.7889 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.275e-05/0.005195, allocations: 15.98 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.005367, allocations: 67.89 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.005381, allocations: 0 / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005278/0.005909, allocations: 291.5 kB / 0.7892 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.419e-05/0.005963, allocations: 19.92 kB / 0.7892 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.005988, allocations: 11.94 kB / 0.7892 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004247/0.006413, allocations: 275.3 kB / 0.7895 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.006417, allocations: 3.938 kB / 0.7895 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.32e-07/0.006417, allocations: 0.5625 kB / 0.7895 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.006421, allocations: 4 kB / 0.7895 GB, free: 9.586 MB / 0.7448 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.0004818/0.006903, allocations: 412.3 kB / 0.7899 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.006943, allocations: 13.69 kB / 0.7899 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.006983, allocations: 4.891 kB / 0.7899 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.007108, allocations: 124.4 kB / 0.79 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.007123, allocations: 4.375 kB / 0.7901 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.007131, allocations: 1.188 kB / 0.7901 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.886e-05/0.00722, allocations: 30.27 kB / 0.7901 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.007228, allocations: 1.312 kB / 0.7901 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.007238, allocations: 4.359 kB / 0.7901 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/0.007283, allocations: 23.86 kB / 0.7901 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.979e-05/0.007302, allocations: 5.438 kB / 0.7901 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.007519, allocations: 140.6 kB / 0.7903 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.408e-05/0.007584, allocations: 27.06 kB / 0.7903 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.007603, allocations: 15.72 kB / 0.7903 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.007611, allocations: 1.594 kB / 0.7903 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.007655, allocations: 37.58 kB / 0.7903 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.007656, allocations: 0 / 0.7903 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0001835/0.007839, allocations: 73.56 kB / 0.7904 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.007884, allocations: 56.03 kB / 0.7905 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.008035, allocations: 189.9 kB / 0.7906 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.008055, allocations: 35.48 kB / 0.7907 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.008141, allocations: 138.8 kB / 0.7908 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.008186, allocations: 27.75 kB / 0.7908 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.008229, allocations: 27.36 kB / 0.7909 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000262/0.008491, allocations: 0.4923 MB / 0.7913 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.008504, allocations: 4.625 kB / 0.7913 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.181e-05/0.008516, allocations: 8.719 kB / 0.7913 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.88e-05/0.008565, allocations: 27.69 kB / 0.7914 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.008566, allocations: 1.219 kB / 0.7914 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.571e-05/0.008652, allocations: 61.58 kB / 0.7914 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.008667, allocations: 4 kB / 0.7914 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.008672, allocations: 0.5938 kB / 0.7914 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.008686, allocations: 0 / 0.7914 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.008687, allocations: 1.125 kB / 0.7914 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.008694, allocations: 3.938 kB / 0.7914 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.008712, allocations: 11.89 kB / 0.7915 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.008722, allocations: 0.9375 kB / 0.7915 GB, free: 7.414 MB / 0.7448 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.0001056/0.008827, allocations: 156.6 kB / 0.7916 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.008841, allocations: 8.484 kB / 0.7916 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.727e-05/0.008859, allocations: 13.53 kB / 0.7916 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.008879, allocations: 11.98 kB / 0.7916 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.008884, allocations: 3.938 kB / 0.7916 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.008886, allocations: 0.6562 kB / 0.7916 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.009035, allocations: 140.6 kB / 0.7918 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.009036, allocations: 1.094 kB / 0.7918 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.009037, allocations: 0 / 0.7918 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.009038, allocations: 3.938 kB / 0.7918 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.009046, allocations: 5.062 kB / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.009046, allocations: 0 / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.009047, allocations: 0 / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.009163, allocations: 101.2 kB / 0.7919 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.345e-05/0.009177, allocations: 7.938 kB / 0.7919 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.00919, allocations: 6.219 kB / 0.7919 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.005e-05/0.0092, allocations: 0 / 0.7919 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.009216, allocations: 3.938 kB / 0.7919 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.009224, allocations: 7.938 kB / 0.7919 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.132e-05/0.009306, allocations: 139.1 kB / 0.792 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009306, allocations: 0 / 0.792 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002819/0.009588, allocations: 78.58 kB / 0.7921 GB, free: 6.684 MB / 0.7448 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.0003319/0.009919, allocations: 179.1 kB / 0.7923 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.785e-05/0.01001, allocations: 27.67 kB / 0.7923 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01001, allocations: 0 / 0.7923 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.539e-05/0.01003, allocations: 19.69 kB / 0.7923 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.01019, allocations: 6.266 kB / 0.7923 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.01052, allocations: 166.7 kB / 0.7925 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.525e-05/0.0106, allocations: 87.77 kB / 0.7926 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.362e-05/0.01064, allocations: 9.375 kB / 0.7926 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.01067, allocations: 13.59 kB / 0.7926 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.01067, allocations: 0 / 0.7926 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of Templates: time 0.02618/0.03684, allocations: 1.487 MB / 0.7941 GB, free: 4.707 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.118026984971948]