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.001838/0.001838, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.002166/0.002166, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.415/1.415, allocations: 230.6 MB / 252.8 MB, free: 9.086 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 3.012/3.012, allocations: 0.49 GB / 0.7916 GB, free: 33.29 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="me",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="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.002003/0.002003, allocations: 68.56 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3339, allocations: 176.1 MB / 1.321 GB, free: 3.281 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.003197/0.3371, allocations: 1.314 MB / 1.322 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3382, allocations: 487.2 kB / 1.323 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.077e-05/0.3382, allocations: 3.938 kB / 1.323 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.852e-05/0.3383, allocations: 3.984 kB / 1.323 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.995e-05/0.3384, allocations: 8 kB / 1.323 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.3387, allocations: 31.89 kB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.702e-05/0.3388, allocations: 19.92 kB / 1.323 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/0.3388, allocations: 11.88 kB / 1.323 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.988e-05/0.3388, allocations: 15.91 kB / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.401e-05/0.3389, allocations: 8 kB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.3389, allocations: 4 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.3391, allocations: 39.95 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.3391, allocations: 19.91 kB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.3392, allocations: 15.88 kB / 1.323 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.3393, allocations: 63.97 kB / 1.323 GB, free: 1.238 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.3393, allocations: 7.984 kB / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3393, allocations: 0 / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3394, allocations: 0 / 1.323 GB, free: 1.23 MB / 1.014 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.0004581/0.3398, allocations: 353.1 kB / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.3399, allocations: 11.98 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.335e-05/0.3399, allocations: 34.75 kB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.3399, allocations: 4.875 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.3401, allocations: 176.3 kB / 1.323 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.3401, allocations: 384 / 1.323 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.3401, allocations: 4.375 kB / 1.323 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.3402, allocations: 51.55 kB / 1.323 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.3403, allocations: 0 / 1.323 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.3403, allocations: 3.938 kB / 1.323 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3403, allocations: 0 / 1.323 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.92e-05/0.3403, allocations: 7.984 kB / 1.323 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.3405, allocations: 178.5 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.187e-05/0.3406, allocations: 41.09 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.177e-05/0.3406, allocations: 21.83 kB / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.3406, allocations: 4 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.3407, allocations: 34.5 kB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.3407, allocations: 4 kB / 1.324 GB, free: 132 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001632/0.3409, allocations: 49.58 kB / 1.324 GB, free: 76 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.348e-05/0.341, allocations: 81.11 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.3411, allocations: 132.8 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3411, allocations: 25.7 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.3412, allocations: 96.08 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.3412, allocations: 7.891 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.3412, allocations: 29.95 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3414, allocations: 318.8 kB / 1.324 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.896e-05/0.3414, allocations: 23.98 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.028e-05/0.3415, allocations: 31.92 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.272e-05/0.3415, allocations: 40.84 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3415, allocations: 0 / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001529/0.3417, allocations: 101.5 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3417, allocations: 7.938 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.3417, allocations: 96 / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.3417, allocations: 7.984 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.584e-05/0.3418, allocations: 4 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3418, allocations: 0 / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.918e-05/0.3418, allocations: 15.84 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.3419, allocations: 0 / 1.325 GB, free: 15.11 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 9.828e-05/0.342, allocations: 125.7 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.342, allocations: 3.938 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.342, allocations: 7.531 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.342, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.342, allocations: 4 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.342, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.3422, allocations: 165.7 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3422, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.708e-05/0.3422, allocations: 11.92 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3422, allocations: 0 / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.3422, allocations: 4 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3422, allocations: 0 / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3422, allocations: 0 / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.3423, allocations: 77.94 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.3424, allocations: 88.94 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.3424, allocations: 0 / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.164e-05/0.3424, allocations: 4 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.3424, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.3424, allocations: 4 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.235e-05/0.3425, allocations: 103.2 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3425, allocations: 4.031 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000234/0.3427, allocations: 20 kB / 1.325 GB, free: 14.39 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.0005168/0.3432, allocations: 0.621 MB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000166/0.3434, allocations: 77.66 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3434, allocations: 0 / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.716e-05/0.3434, allocations: 7.984 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.3436, allocations: 5.75 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.345, allocations: 1.315 MB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.3453, allocations: 0.6923 MB / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.605e-05/0.3454, allocations: 4 kB / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.3454, allocations: 21.39 kB / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.3454, allocations: 0 / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.3741, allocations: 1.704 MB / 1.33 GB, free: 9.996 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.43, allocations: 8.656 kB / 1.33 GB, free: 9.992 MB / 1.029 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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: 14.788432825123891]