Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001307/0.001307, allocations: 97.88 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.00146/0.00146, allocations: 217.6 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.39/1.39, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.632/2.632, allocations: 476.8 MB / 0.7715 GB, free: 4.051 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="Buildings_11_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_11_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.001988/0.001988, allocations: 65.86 kB / 1.118 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3191, allocations: 170 MB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002526/0.3216, allocations: 1.308 MB / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008424/0.3225, allocations: 444.9 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.188e-05/0.3225, allocations: 4 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.958e-05/0.3226, allocations: 7.938 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.031e-05/0.3226, allocations: 4 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.3229, allocations: 39.88 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.274e-05/0.323, allocations: 19.92 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.323, allocations: 3.984 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.893e-05/0.323, allocations: 8 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.527e-05/0.3231, allocations: 23.8 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.3231, allocations: 0 / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.3232, allocations: 43.94 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.3233, allocations: 11.98 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/0.3233, allocations: 15.88 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.3234, allocations: 60.73 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3235, allocations: 4 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.256e-06/0.3235, allocations: 3.984 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3235, allocations: 0 / 1.286 GB, free: 8.734 MB / 0.9825 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.0003902/0.3239, allocations: 278.1 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3239, allocations: 8.031 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.114e-05/0.3239, allocations: 192 / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.3239, allocations: 30.75 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.42e-05/0.324, allocations: 8.891 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.3241, allocations: 121.4 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.3241, allocations: 384 / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.3241, allocations: 12.36 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.3242, allocations: 47.36 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3242, allocations: 0 / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.3242, allocations: 0 / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.3242, allocations: 0 / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.61e-05/0.3243, allocations: 11.92 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.3244, allocations: 145.6 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.508e-05/0.3245, allocations: 37.16 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.457e-05/0.3245, allocations: 17.78 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.3246, allocations: 15.92 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.3246, allocations: 30.56 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3246, allocations: 0 / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001347/0.3247, allocations: 53.58 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.3248, allocations: 77.11 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.3249, allocations: 133.8 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.3249, allocations: 25.7 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.325, allocations: 88.09 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.325, allocations: 11.88 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.325, allocations: 33.97 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3252, allocations: 314.8 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.489e-05/0.3252, allocations: 27.98 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.121e-05/0.3252, allocations: 24 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.353e-05/0.3253, allocations: 50.16 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3253, allocations: 0 / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001288/0.3254, allocations: 93.61 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3254, allocations: 4 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.3255, allocations: 3.938 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3255, allocations: 4 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.624e-05/0.3255, allocations: 7.984 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3255, allocations: 4 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.169e-05/0.3256, allocations: 11.89 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.3256, allocations: 0 / 1.288 GB, free: 6.82 MB / 0.9825 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 9.039e-05/0.3257, allocations: 109.8 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.3257, allocations: 15.83 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.3257, allocations: 7.453 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.3257, allocations: 0 / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3257, allocations: 7.938 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.3257, allocations: 0 / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.3258, allocations: 140.7 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3258, allocations: 7.938 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.926e-05/0.3259, allocations: 4 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3259, allocations: 0 / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.3259, allocations: 0 / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3259, allocations: 0 / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3259, allocations: 0 / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.601e-05/0.326, allocations: 77.94 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.326, allocations: 7.891 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.326, allocations: 0 / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.883e-05/0.326, allocations: 4 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.326, allocations: 11.95 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.326, allocations: 0 / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.958e-05/0.3261, allocations: 104.5 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3261, allocations: 0 / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002014/0.3263, allocations: 16 kB / 1.288 GB, free: 6.242 MB / 0.9825 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.0005109/0.3268, allocations: 0.621 MB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001444/0.327, allocations: 77.61 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.327, allocations: 4 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.175e-05/0.327, allocations: 8.031 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.3271, allocations: 3.109 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.3284, allocations: 1.315 MB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.211e-05/0.3285, allocations: 79.17 kB / 1.29 GB, free: 4 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.107e-05/0.3285, allocations: 0 / 1.29 GB, free: 4 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.3286, allocations: 15.67 kB / 1.29 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of SimCode: time 7.62e-07/0.3286, allocations: 3.938 kB / 1.29 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.3516, allocations: 1.831 MB / 1.292 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.52, allocations: 13.23 kB / 1.292 GB, free: 2.34 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.81786590302363]