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.001802/0.001802, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002388/0.002388, allocations: 214.8 kB / 22.25 MB, free: 5.078 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 8.004 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.107/3.107, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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="me",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="me",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.001971/0.001971, allocations: 71.45 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3304, allocations: 180.2 MB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.00265/0.333, allocations: 1.322 MB / 1.354 GB, free: 7.113 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009444/0.334, allocations: 494.8 kB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.164e-05/0.334, allocations: 0 / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.139e-05/0.3341, allocations: 7.922 kB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.411e-05/0.3342, allocations: 0 / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.3344, allocations: 39.88 kB / 1.355 GB, free: 6.578 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.1e-05/0.3345, allocations: 19.94 kB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.3345, allocations: 7.984 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.062e-05/0.3346, allocations: 11.94 kB / 1.355 GB, free: 6.539 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.352e-05/0.3347, allocations: 7.984 kB / 1.355 GB, free: 6.531 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.347e-06/0.3347, allocations: 4 kB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.3348, allocations: 55.88 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.752e-05/0.3348, allocations: 15.91 kB / 1.355 GB, free: 6.457 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.3349, allocations: 15.88 kB / 1.355 GB, free: 6.441 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.335, allocations: 60.03 kB / 1.355 GB, free: 6.383 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.335, allocations: 4 kB / 1.355 GB, free: 6.379 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.272e-06/0.335, allocations: 3.938 kB / 1.355 GB, free: 6.375 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.335, allocations: 0 / 1.355 GB, free: 6.375 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.0004017/0.3354, allocations: 278.1 kB / 1.355 GB, free: 6.074 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3355, allocations: 12.03 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.3355, allocations: 34.69 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.3355, allocations: 4.938 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.3357, allocations: 114.4 kB / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-06/0.3357, allocations: 384 / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.3357, allocations: 4.312 kB / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.3358, allocations: 55.53 kB / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3358, allocations: 0 / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.3358, allocations: 0 / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3358, allocations: 4 kB / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.48e-05/0.3359, allocations: 7.938 kB / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.336, allocations: 141.7 kB / 1.356 GB, free: 5.613 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.9e-05/0.3361, allocations: 33.16 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.36e-05/0.3361, allocations: 33.77 kB / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.3362, allocations: 0 / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.3362, allocations: 34.5 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.3362, allocations: 0 / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001498/0.3363, allocations: 53.58 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.3364, allocations: 81.11 kB / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.3365, allocations: 132.6 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.3365, allocations: 29.7 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.3366, allocations: 92.08 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.3366, allocations: 11.89 kB / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.3367, allocations: 21.72 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3368, allocations: 318.8 kB / 1.356 GB, free: 4.699 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.87e-05/0.3369, allocations: 27.98 kB / 1.356 GB, free: 4.672 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.878e-05/0.3369, allocations: 20 kB / 1.356 GB, free: 4.652 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.849e-05/0.337, allocations: 44.78 kB / 1.356 GB, free: 4.605 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.337, allocations: 4 kB / 1.356 GB, free: 4.602 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001389/0.3371, allocations: 111.4 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3371, allocations: 4 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.3371, allocations: 0 / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3372, allocations: 3.984 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.979e-05/0.3372, allocations: 4 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3372, allocations: 0 / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.661e-05/0.3372, allocations: 15.89 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.3373, allocations: 0 / 1.357 GB, free: 4.461 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 9.239e-05/0.3373, allocations: 114.5 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.3374, allocations: 7.938 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.3374, allocations: 15.39 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3374, allocations: 0 / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3374, allocations: 3.938 kB / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.3374, allocations: 0 / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.3375, allocations: 132.8 kB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3375, allocations: 4 kB / 1.357 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.369e-05/0.3375, allocations: 11.86 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3375, allocations: 4 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.289e-06/0.3375, allocations: 4 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.3375, allocations: 0 / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3375, allocations: 0 / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.332e-05/0.3376, allocations: 69.98 kB / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.148e-05/0.3377, allocations: 7.891 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.3377, allocations: 7.984 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.662e-05/0.3377, allocations: 0 / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.3377, allocations: 4.031 kB / 1.357 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3377, allocations: 4 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.484e-05/0.3378, allocations: 99.27 kB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3378, allocations: 3.938 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002096/0.338, allocations: 16 kB / 1.357 GB, free: 3.883 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.0004751/0.3385, allocations: 0.6327 MB / 1.358 GB, free: 3.219 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.3386, allocations: 77.61 kB / 1.358 GB, free: 3.137 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3386, allocations: 0 / 1.358 GB, free: 3.137 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.43e-05/0.3386, allocations: 4 kB / 1.358 GB, free: 3.133 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.3388, allocations: 4 kB / 1.358 GB, free: 3.129 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.3401, allocations: 1.313 MB / 1.359 GB, free: 1.734 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.3404, allocations: 0.6885 MB / 1.36 GB, free: 1.02 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.11e-05/0.3405, allocations: 0 / 1.36 GB, free: 1.02 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.3405, allocations: 11.44 kB / 1.36 GB, free: 1.012 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.3405, allocations: 0 / 1.36 GB, free: 1.012 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.3674, allocations: 1.78 MB / 1.361 GB, free: 15.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.08, allocations: 9.844 kB / 1.361 GB, free: 15.41 MB / 1.061 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.512939454987645]