Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001746/0.001746, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002204/0.002204, allocations: 214 kB / 23.03 MB, free: 4.922 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.958/2.958, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="Buildings_12_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_12_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.00189/0.00189, allocations: 65.34 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3184, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002646/0.321, allocations: 1.32 MB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008887/0.3219, allocations: 450.9 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.3219, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.609e-05/0.322, allocations: 7.938 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-05/0.3221, allocations: 7.969 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.3224, allocations: 31.91 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.962e-05/0.3224, allocations: 27.91 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.3225, allocations: 0 / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.375e-05/0.3225, allocations: 19.86 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.816e-05/0.3226, allocations: 8 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.3226, allocations: 0 / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.3227, allocations: 47.94 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.912e-05/0.3228, allocations: 15.92 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.3228, allocations: 15.92 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.323, allocations: 60.03 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.323, allocations: 0 / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.813e-06/0.323, allocations: 3.938 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.323, allocations: 0 / 1.329 GB, free: 15.46 MB / 1.029 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.0003805/0.3234, allocations: 278.1 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3234, allocations: 12.03 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.517e-05/0.3234, allocations: 192 / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.254e-05/0.3234, allocations: 34.75 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.3235, allocations: 8.891 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.3236, allocations: 117.7 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3236, allocations: 384 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.3236, allocations: 384 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.3237, allocations: 51.36 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3237, allocations: 0 / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.3237, allocations: 0 / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3238, allocations: 4 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.48e-05/0.3238, allocations: 11.92 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.324, allocations: 141.6 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.987e-05/0.324, allocations: 41.16 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.84e-05/0.3241, allocations: 21.77 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.3241, allocations: 3.938 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3241, allocations: 34.56 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.3241, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001493/0.3242, allocations: 57.73 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.3243, allocations: 81.11 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.3244, allocations: 133.7 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.3244, allocations: 25.7 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.3245, allocations: 100.1 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.3245, allocations: 7.891 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.3246, allocations: 25.7 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3247, allocations: 318.8 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.727e-05/0.3247, allocations: 23.98 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.3248, allocations: 27.98 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.301e-05/0.3248, allocations: 44.78 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3248, allocations: 8.031 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001452/0.325, allocations: 100.8 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.325, allocations: 4 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.325, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.325, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.146e-05/0.3251, allocations: 4 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3251, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.553e-05/0.3251, allocations: 11.89 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.3251, allocations: 96 / 1.33 GB, free: 13.55 MB / 1.029 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 8.636e-05/0.3252, allocations: 118.4 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.3252, allocations: 23.81 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.3253, allocations: 3.469 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3253, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3253, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3253, allocations: 4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.3254, allocations: 132.8 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.3254, allocations: 7.938 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.3254, allocations: 4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3254, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.3254, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3254, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3254, allocations: 7.984 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.367e-05/0.3255, allocations: 69.95 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.3255, allocations: 15.88 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.3255, allocations: 0 / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.782e-05/0.3256, allocations: 3.938 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.3256, allocations: 4 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.3256, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.581e-05/0.3256, allocations: 103.3 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3256, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002073/0.3258, allocations: 15.98 kB / 1.331 GB, free: 12.96 MB / 1.029 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.0004962/0.3263, allocations: 0.6288 MB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001748/0.3265, allocations: 81.61 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3265, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-05/0.3265, allocations: 4 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.3267, allocations: 7.984 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.328, allocations: 1.308 MB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.79e-05/0.3281, allocations: 79.48 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.145e-05/0.3281, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.3281, allocations: 15.38 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of SimCode: time 1.082e-06/0.3281, allocations: 0 / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.35, allocations: 1.821 MB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.28, allocations: 17.78 kB / 1.335 GB, free: 9.055 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.648360028048046]