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.001587/0.001587, 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.002119/0.002119, allocations: 216.7 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.98 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.052/3.052, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.002045/0.002045, allocations: 66.84 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3331, allocations: 180.2 MB / 1.353 GB, free: 8.406 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002513/0.3356, allocations: 1.32 MB / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000907/0.3365, allocations: 494.7 kB / 1.355 GB, free: 6.59 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.821e-05/0.3366, allocations: 4 kB / 1.355 GB, free: 6.586 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.967e-05/0.3366, allocations: 3.938 kB / 1.355 GB, free: 6.582 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.164e-05/0.3367, allocations: 7.984 kB / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.337, allocations: 31.89 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.396e-05/0.3371, allocations: 23.92 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.3371, allocations: 8 kB / 1.355 GB, free: 6.512 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.576e-05/0.3371, allocations: 15.91 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.3372, allocations: 4 kB / 1.355 GB, free: 6.492 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.998e-06/0.3372, allocations: 4 kB / 1.355 GB, free: 6.488 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.3374, allocations: 51.88 kB / 1.355 GB, free: 6.438 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.158e-05/0.3374, allocations: 23.91 kB / 1.355 GB, free: 6.414 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.3374, allocations: 15.88 kB / 1.355 GB, free: 6.398 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.3376, allocations: 60.03 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3376, allocations: 0 / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3376, allocations: 0 / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.3376, allocations: 0 / 1.355 GB, free: 6.34 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.0004153/0.338, allocations: 274.1 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3381, allocations: 12.03 kB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.03e-05/0.3381, allocations: 38.67 kB / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.509e-05/0.3381, allocations: 0.9375 kB / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.3383, allocations: 124 kB / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3383, allocations: 4.375 kB / 1.355 GB, free: 5.836 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.3383, allocations: 384 / 1.355 GB, free: 5.836 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.3384, allocations: 55.47 kB / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3384, allocations: 0 / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.3384, allocations: 0 / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3384, allocations: 0 / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.416e-05/0.3385, allocations: 7.938 kB / 1.355 GB, free: 5.762 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.3386, allocations: 145.7 kB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.237e-05/0.3387, allocations: 37.2 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/0.3387, allocations: 17.78 kB / 1.356 GB, free: 5.496 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.3387, allocations: 0 / 1.356 GB, free: 5.496 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.3388, allocations: 46.44 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.3388, allocations: 0 / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001502/0.3389, allocations: 53.58 kB / 1.356 GB, free: 5.383 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.339, allocations: 77.11 kB / 1.356 GB, free: 5.289 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.3391, allocations: 137.8 kB / 1.356 GB, free: 5.145 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.3391, allocations: 25.7 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.3392, allocations: 84.34 kB / 1.356 GB, free: 5.027 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.3392, allocations: 15.89 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.3392, allocations: 29.7 kB / 1.356 GB, free: 4.977 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3393, allocations: 314.8 kB / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.465e-05/0.3394, allocations: 24 kB / 1.356 GB, free: 4.637 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-05/0.3394, allocations: 28.48 kB / 1.356 GB, free: 4.609 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.316e-05/0.3395, allocations: 43.09 kB / 1.356 GB, free: 4.566 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3395, allocations: 0 / 1.356 GB, free: 4.566 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000136/0.3396, allocations: 105.5 kB / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3396, allocations: 4 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.3397, allocations: 8 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.3397, allocations: 0 / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.131e-05/0.3397, allocations: 8 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3397, allocations: 0 / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.3397, allocations: 7.891 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.3398, allocations: 0 / 1.357 GB, free: 4.43 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 8.153e-05/0.3398, allocations: 117.8 kB / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-06/0.3398, allocations: 3.938 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.128e-05/0.3399, allocations: 7.469 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3399, allocations: 0 / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3399, allocations: 4 kB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3399, allocations: 3.938 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.34, allocations: 148.6 kB / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.34, allocations: 0 / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.405e-05/0.34, allocations: 7.938 kB / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.34, allocations: 4 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.34, allocations: 0 / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.34, allocations: 3.938 kB / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.34, allocations: 4 kB / 1.357 GB, free: 4.074 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.004e-05/0.3401, allocations: 69.98 kB / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.3401, allocations: 11.89 kB / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.3401, allocations: 0 / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.708e-05/0.3402, allocations: 0 / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.3402, allocations: 4 kB / 1.357 GB, free: 3.969 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.3402, allocations: 0 / 1.357 GB, free: 3.969 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.024e-05/0.3402, allocations: 113.7 kB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3402, allocations: 0 / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002223/0.3405, allocations: 12 kB / 1.357 GB, free: 3.848 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.0004408/0.3409, allocations: 0.6328 MB / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00018/0.3411, allocations: 81.66 kB / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3411, allocations: 0 / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-05/0.3411, allocations: 7.938 kB / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.3413, allocations: 0 / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.3425, allocations: 1.309 MB / 1.359 GB, free: 1.695 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.3428, allocations: 0.6846 MB / 1.36 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.472e-05/0.3428, allocations: 7.984 kB / 1.36 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.3429, allocations: 11.44 kB / 1.36 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of SimCode: time 5.91e-07/0.3429, allocations: 0 / 1.36 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.3707, allocations: 1.778 MB / 1.361 GB, free: 15.37 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.78, allocations: 3.203 kB / 1.361 GB, free: 15.37 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.32961784300005]