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.001563/0.001563, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001601/0.001601, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.417/1.417, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.895/2.895, allocations: 0.5003 GB / 0.8026 GB, free: 6.672 MB / 0.6387 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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="cs",version="2.0",platforms={"static"}) [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.002006/0.002006, allocations: 67.89 kB / 1.165 GB, free: 436 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8642/0.8662, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002156/0.8683, allocations: 1.278 MB / 1.341 GB, free: 15.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.8696, allocations: 0.9263 MB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.8697, allocations: 0 / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.433e-05/0.8697, allocations: 0.6562 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.8698, allocations: 30.61 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007294/0.8705, allocations: 240.7 kB / 1.343 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.045e-05/0.8706, allocations: 35.61 kB / 1.343 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.8706, allocations: 2.406 kB / 1.343 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.481e-05/0.8707, allocations: 19.56 kB / 1.343 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.8708, allocations: 56.89 kB / 1.343 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.8708, allocations: 0 / 1.343 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004242/0.8712, allocations: 294.7 kB / 1.343 GB, free: 14.53 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.11e-05/0.8713, allocations: 17.17 kB / 1.343 GB, free: 14.53 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.8713, allocations: 16.19 kB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.8716, allocations: 243.4 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8716, allocations: 0 / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8716, allocations: 0 / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.8717, allocations: 1.844 kB / 1.343 GB, free: 14.45 MB / 1.061 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.000331/0.872, allocations: 394.5 kB / 1.344 GB, free: 14.05 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.872, allocations: 11.36 kB / 1.344 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.222e-05/0.872, allocations: 4.125 kB / 1.344 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.961e-05/0.8721, allocations: 33.22 kB / 1.344 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.278e-05/0.8721, allocations: 11.17 kB / 1.344 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.109e-05/0.8722, allocations: 174.6 kB / 1.344 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.8722, allocations: 384 / 1.344 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-06/0.8722, allocations: 5.375 kB / 1.344 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.8723, allocations: 64.12 kB / 1.344 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.8723, allocations: 4.5 kB / 1.344 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.8723, allocations: 5.141 kB / 1.344 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.07e-05/0.8723, allocations: 11.58 kB / 1.344 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.531e-05/0.8724, allocations: 28.59 kB / 1.344 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.8725, allocations: 171.3 kB / 1.344 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.555e-05/0.8726, allocations: 43.27 kB / 1.344 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.8726, allocations: 32.58 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.8726, allocations: 5.344 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.8726, allocations: 35.44 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.8726, allocations: 1.656 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0001874/0.8728, allocations: 128.9 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.8729, allocations: 55.44 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.819e-05/0.8729, allocations: 129 kB / 1.345 GB, free: 13.24 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.809e-06/0.8729, allocations: 25.7 kB / 1.345 GB, free: 13.21 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.31e-05/0.873, allocations: 93.27 kB / 1.345 GB, free: 13.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.873, allocations: 29.88 kB / 1.345 GB, free: 13.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.873, allocations: 23.89 kB / 1.345 GB, free: 13.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.342e-05/0.8731, allocations: 321.7 kB / 1.345 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.105e-05/0.8731, allocations: 26.33 kB / 1.345 GB, free: 12.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.8731, allocations: 28.94 kB / 1.345 GB, free: 12.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.6e-05/0.8732, allocations: 75.11 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8732, allocations: 0 / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.19e-05/0.8733, allocations: 104.5 kB / 1.345 GB, free: 12.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.8733, allocations: 7.219 kB / 1.345 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.8733, allocations: 0.6562 kB / 1.345 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.8733, allocations: 1.375 kB / 1.345 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.442e-06/0.8733, allocations: 4 kB / 1.345 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.8733, allocations: 0.6562 kB / 1.345 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.607e-05/0.8733, allocations: 9.375 kB / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.8733, allocations: 2.75 kB / 1.345 GB, free: 12.66 MB / 1.061 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.455e-05/0.8734, allocations: 119.8 kB / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.8734, allocations: 14.58 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.307e-05/0.8734, allocations: 8.25 kB / 1.345 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.8734, allocations: 12.3 kB / 1.345 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.8734, allocations: 0 / 1.345 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8735, allocations: 1.375 kB / 1.345 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.752e-05/0.8735, allocations: 175.8 kB / 1.346 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.8736, allocations: 9.312 kB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.92e-07/0.8736, allocations: 0.6562 kB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.8736, allocations: 0 / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.8736, allocations: 9.297 kB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.8736, allocations: 0.7969 kB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.8736, allocations: 1.375 kB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.909e-05/0.8737, allocations: 119.6 kB / 1.346 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.998e-05/0.8737, allocations: 92.48 kB / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.8737, allocations: 4.688 kB / 1.346 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.09e-05/0.8737, allocations: 0 / 1.346 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.05e-05/0.8737, allocations: 1.891 kB / 1.346 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.8737, allocations: 6.688 kB / 1.346 GB, free: 12.13 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.336e-05/0.8738, allocations: 101.3 kB / 1.346 GB, free: 12.05 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8738, allocations: 0 / 1.346 GB, free: 12.05 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003113/0.8741, allocations: 76.28 kB / 1.346 GB, free: 12.04 MB / 1.061 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.0004553/0.8745, allocations: 0.7287 MB / 1.347 GB, free: 11.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.8746, allocations: 66.12 kB / 1.347 GB, free: 11.4 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.8746, allocations: 0 / 1.347 GB, free: 11.4 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.203e-05/0.8747, allocations: 28.58 kB / 1.347 GB, free: 11.4 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.8748, allocations: 4.5 kB / 1.347 GB, free: 11.4 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004759/0.8753, allocations: 265.7 kB / 1.347 GB, free: 11.21 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.8754, allocations: 0.6953 MB / 1.348 GB, free: 10.51 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.249e-05/0.8754, allocations: 4.031 kB / 1.348 GB, free: 10.51 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.8755, allocations: 30.83 kB / 1.348 GB, free: 10.48 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.8755, allocations: 0 / 1.348 GB, free: 10.48 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05491/0.9304, allocations: 2.9 MB / 1.351 GB, free: 10.04 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/9.18, allocations: 17.72 kB / 1.351 GB, free: 10.03 MB / 1.061 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) [Timeout 840.0] 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: 16.482550413988065]