Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00167/0.00167, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 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.002462/0.002462, allocations: 217.6 kB / 23.01 MB, free: 4.609 MB / 14.72 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.481/3.481, allocations: 0.505 GB / 0.8108 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 67.7 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4289, allocations: 180.2 MB / 1.354 GB, free: 7.922 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002798/0.4317, allocations: 1.283 MB / 1.355 GB, free: 6.633 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.4335, allocations: 0.9427 MB / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.635e-05/0.4335, allocations: 0 / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.74e-05/0.4335, allocations: 0 / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.4337, allocations: 27.91 kB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008494/0.4345, allocations: 267.4 kB / 1.357 GB, free: 5.395 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.454e-05/0.4346, allocations: 23.98 kB / 1.357 GB, free: 5.371 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.4346, allocations: 0 / 1.357 GB, free: 5.371 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.482e-05/0.4347, allocations: 23.95 kB / 1.357 GB, free: 5.348 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.4349, allocations: 64.42 kB / 1.357 GB, free: 5.285 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.4349, allocations: 3.938 kB / 1.357 GB, free: 5.281 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005338/0.4354, allocations: 319.5 kB / 1.357 GB, free: 4.969 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.4354, allocations: 19.98 kB / 1.357 GB, free: 4.949 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.4355, allocations: 15.81 kB / 1.357 GB, free: 4.934 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.4359, allocations: 247.3 kB / 1.357 GB, free: 4.691 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4359, allocations: 0 / 1.357 GB, free: 4.691 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4359, allocations: 0 / 1.357 GB, free: 4.691 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.4359, allocations: 0 / 1.357 GB, free: 4.691 MB / 1.045 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.0004467/0.4363, allocations: 321.8 kB / 1.358 GB, free: 4.348 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4364, allocations: 8.031 kB / 1.358 GB, free: 4.34 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.4364, allocations: 8.891 kB / 1.358 GB, free: 4.332 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.4365, allocations: 118.4 kB / 1.358 GB, free: 4.191 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.4365, allocations: 4.312 kB / 1.358 GB, free: 4.188 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.4365, allocations: 384 / 1.358 GB, free: 4.188 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.4367, allocations: 65.94 kB / 1.358 GB, free: 4.117 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.4367, allocations: 0 / 1.358 GB, free: 4.117 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.4367, allocations: 0 / 1.358 GB, free: 4.117 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.258e-05/0.4367, allocations: 11.98 kB / 1.358 GB, free: 4.105 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.375e-05/0.4368, allocations: 35.98 kB / 1.358 GB, free: 4.07 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002237/0.437, allocations: 144.7 kB / 1.358 GB, free: 3.887 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.06e-05/0.4371, allocations: 46.59 kB / 1.358 GB, free: 3.832 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.987e-05/0.4371, allocations: 32.88 kB / 1.358 GB, free: 3.797 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.4371, allocations: 0 / 1.358 GB, free: 3.797 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.4372, allocations: 42.44 kB / 1.358 GB, free: 3.746 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.4372, allocations: 0 / 1.358 GB, free: 3.746 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0002453/0.4374, allocations: 137.6 kB / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.4375, allocations: 51.41 kB / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.4376, allocations: 125.8 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.4376, allocations: 25.7 kB / 1.358 GB, free: 3.379 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.4377, allocations: 92.14 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.4377, allocations: 35.69 kB / 1.359 GB, free: 3.25 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.4377, allocations: 13.72 kB / 1.359 GB, free: 3.23 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.4379, allocations: 322.9 kB / 1.359 GB, free: 2.906 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.456e-05/0.4379, allocations: 31.98 kB / 1.359 GB, free: 2.875 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.52e-05/0.438, allocations: 20 kB / 1.359 GB, free: 2.855 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.221e-05/0.438, allocations: 73.14 kB / 1.359 GB, free: 2.781 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.438, allocations: 7.938 kB / 1.359 GB, free: 2.773 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001656/0.4382, allocations: 97.62 kB / 1.359 GB, free: 2.672 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.4382, allocations: 7.938 kB / 1.359 GB, free: 2.664 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.4382, allocations: 0 / 1.359 GB, free: 2.664 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4382, allocations: 0 / 1.359 GB, free: 2.664 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.206e-06/0.4382, allocations: 3.984 kB / 1.359 GB, free: 2.66 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.4383, allocations: 8 kB / 1.359 GB, free: 2.652 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.678e-05/0.4383, allocations: 4 kB / 1.359 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.4383, allocations: 0 / 1.359 GB, free: 2.648 MB / 1.045 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.0001349/0.4384, allocations: 125.8 kB / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.4384, allocations: 7.891 kB / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.85e-05/0.4384, allocations: 12.38 kB / 1.359 GB, free: 2.496 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/0.4385, allocations: 11.98 kB / 1.359 GB, free: 2.484 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.4385, allocations: 4 kB / 1.359 GB, free: 2.48 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.4385, allocations: 0 / 1.359 GB, free: 2.48 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.4386, allocations: 144.7 kB / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4386, allocations: 0 / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-06/0.4386, allocations: 3.984 kB / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.4386, allocations: 3.938 kB / 1.359 GB, free: 2.289 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.4386, allocations: 4 kB / 1.359 GB, free: 2.285 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.4386, allocations: 7.938 kB / 1.359 GB, free: 2.277 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4387, allocations: 0 / 1.359 GB, free: 2.277 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.4388, allocations: 121 kB / 1.36 GB, free: 2.141 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.4388, allocations: 15.86 kB / 1.36 GB, free: 2.125 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.4388, allocations: 7.984 kB / 1.36 GB, free: 2.117 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.057e-05/0.4388, allocations: 0 / 1.36 GB, free: 2.117 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/0.4389, allocations: 0 / 1.36 GB, free: 2.117 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.4389, allocations: 7.984 kB / 1.36 GB, free: 2.109 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.513e-05/0.4389, allocations: 103.3 kB / 1.36 GB, free: 2.008 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4389, allocations: 0 / 1.36 GB, free: 2.008 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003132/0.4393, allocations: 71.81 kB / 1.36 GB, free: 1.938 MB / 1.045 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.0003339/0.4396, allocations: 175.1 kB / 1.36 GB, free: 1.758 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.4397, allocations: 55.92 kB / 1.36 GB, free: 1.703 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.4397, allocations: 0 / 1.36 GB, free: 1.703 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.597e-05/0.4398, allocations: 31.98 kB / 1.36 GB, free: 1.672 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.4399, allocations: 1.172 kB / 1.36 GB, free: 1.672 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004166/0.4403, allocations: 227.7 kB / 1.36 GB, free: 1.418 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.4406, allocations: 0.7002 MB / 1.361 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.4407, allocations: 11.56 kB / 1.361 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.4407, allocations: 4 kB / 1.361 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of Templates: time 0.003814/0.4445, allocations: 1.511 MB / 1.362 GB, free: 15.17 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.876820853998652]