Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.001515/0.001515, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001899/0.001899, allocations: 218.5 kB / 23.04 MB, free: 5.074 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 8 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.04/3.04, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 MB / 0.6231 GB " [Timeout remaining time 177] 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.AggregationCellTimes,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.001914/0.001914, allocations: 65.94 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3258, allocations: 179 MB / 1.345 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002407/0.3282, allocations: 1.318 MB / 1.347 GB, free: 15.13 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0008198/0.329, allocations: 498.7 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.3291, allocations: 0 / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.03e-05/0.3291, allocations: 3.938 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.278e-05/0.3292, allocations: 7.984 kB / 1.347 GB, free: 14.63 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.3294, allocations: 35.89 kB / 1.347 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.183e-05/0.3295, allocations: 23.91 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/0.3295, allocations: 4 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.916e-05/0.3296, allocations: 11.94 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.803e-05/0.3296, allocations: 7.984 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.426e-06/0.3296, allocations: 0 / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.3297, allocations: 55.88 kB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.382e-05/0.3298, allocations: 19.92 kB / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.3298, allocations: 11.88 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.33, allocations: 68.02 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.33, allocations: 4 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.373e-06/0.33, allocations: 0 / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.33, allocations: 0 / 1.347 GB, free: 14.39 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003528/0.3303, allocations: 274.1 kB / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3304, allocations: 8.031 kB / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.039e-05/0.3304, allocations: 4.188 kB / 1.348 GB, free: 14.08 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.847e-05/0.3304, allocations: 34.75 kB / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.018e-05/0.3304, allocations: 4.875 kB / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.3305, allocations: 128.9 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-06/0.3306, allocations: 4.375 kB / 1.348 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.3306, allocations: 384 / 1.348 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.335e-05/0.3307, allocations: 47.36 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.3307, allocations: 0 / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.3307, allocations: 0 / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3307, allocations: 0 / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.27e-05/0.3307, allocations: 11.92 kB / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.3309, allocations: 149.7 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.435e-05/0.3309, allocations: 33.22 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.331, allocations: 21.77 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.331, allocations: 7.875 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.331, allocations: 42.55 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.331, allocations: 0 / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.000131/0.3311, allocations: 53.58 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.3312, allocations: 77.11 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.3313, allocations: 133.8 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.3313, allocations: 25.7 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.3313, allocations: 92.27 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.3314, allocations: 15.89 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.3314, allocations: 29.7 kB / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3315, allocations: 310.8 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.393e-05/0.3316, allocations: 27.98 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-05/0.3316, allocations: 27.98 kB / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.748e-05/0.3317, allocations: 43.59 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3317, allocations: 0 / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001308/0.3318, allocations: 101.5 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3318, allocations: 9.406 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.3318, allocations: 4 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.3318, allocations: 0 / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.406e-05/0.3319, allocations: 8 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3319, allocations: 0 / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.751e-05/0.3319, allocations: 7.891 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.3319, allocations: 0 / 1.349 GB, free: 12.47 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.618e-05/0.332, allocations: 121.8 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.332, allocations: 3.938 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.332, allocations: 7.469 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.332, allocations: 0 / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.332, allocations: 4 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.332, allocations: 0 / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.3321, allocations: 136.7 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.3322, allocations: 3.938 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/0.3322, allocations: 4 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3322, allocations: 7.922 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.3322, allocations: 0 / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3322, allocations: 4 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3322, allocations: 4 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.377e-05/0.3323, allocations: 69.98 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.3323, allocations: 11.89 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.3323, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.578e-05/0.3323, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.3323, allocations: 4 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.3323, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.639e-05/0.3324, allocations: 111.3 kB / 1.35 GB, free: 11.91 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3324, allocations: 4 kB / 1.35 GB, free: 11.9 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001936/0.3326, allocations: 12 kB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * 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.0004323/0.333, allocations: 0.6327 MB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.3331, allocations: 73.62 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3332, allocations: 7.938 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.618e-05/0.3332, allocations: 7.984 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.3333, allocations: 0.875 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.3345, allocations: 1.312 MB / 1.352 GB, free: 9.738 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.3348, allocations: 0.6963 MB / 1.352 GB, free: 9.016 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.81e-05/0.3348, allocations: 0 / 1.352 GB, free: 9.016 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.3348, allocations: 15.42 kB / 1.352 GB, free: 9.004 MB / 1.045 GB Notification: Performance of SimCode: time 2.71e-07/0.3348, allocations: 0 / 1.352 GB, free: 9.004 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.3561, allocations: 1.802 MB / 1.354 GB, free: 7.398 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.12, allocations: 8 kB / 1.354 GB, free: 7.391 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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: 17.64591856696643]