Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nu_error|rCel_error",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nu_error|rCel_error",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004941/0.004941, allocations: 103.7 kB / 15.74 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 196.3 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.539/2.539, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2781, allocations: 151.6 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.00207/0.2802, allocations: 1.286 MB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000693/0.2809, allocations: 459.2 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.2809, allocations: 0 / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.813e-05/0.281, allocations: 7.938 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.792e-05/0.2811, allocations: 11.91 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.2813, allocations: 27.91 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.435e-05/0.2814, allocations: 27.91 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.2815, allocations: 0 / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.835e-05/0.2815, allocations: 12 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.574e-05/0.2816, allocations: 11.92 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.2816, allocations: 0 / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.2817, allocations: 51.89 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.414e-05/0.2818, allocations: 15.97 kB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.2818, allocations: 15.88 kB / 1.169 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.2819, allocations: 55.75 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2819, allocations: 0 / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.403e-06/0.282, allocations: 4 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.282, allocations: 0 / 1.169 GB, free: 4.805 MB / 0.92 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.0003568/0.2823, allocations: 359.2 kB / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.2824, allocations: 8.031 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.2824, allocations: 4.891 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.2825, allocations: 172.3 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.2826, allocations: 8.375 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.2826, allocations: 384 / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.641e-05/0.2827, allocations: 43.73 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.66e-06/0.2827, allocations: 0 / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.2827, allocations: 4 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.2827, allocations: 0 / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.283e-05/0.2827, allocations: 11.92 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.2829, allocations: 170.5 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.568e-05/0.2829, allocations: 41.28 kB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.283, allocations: 21.7 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.966e-06/0.283, allocations: 0 / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.283, allocations: 42.44 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.283, allocations: 0 / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.00013/0.2832, allocations: 53.58 kB / 1.169 GB, free: 3.695 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.2832, allocations: 77.11 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.2833, allocations: 146 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.2833, allocations: 25.7 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/0.2834, allocations: 88.12 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.2834, allocations: 15.89 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.2835, allocations: 25.7 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.2836, allocations: 314.8 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.209e-05/0.2836, allocations: 31.92 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.862e-05/0.2836, allocations: 23.98 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.007e-05/0.2837, allocations: 52.47 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2837, allocations: 0 / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00012/0.2838, allocations: 97.56 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2839, allocations: 11.94 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.2839, allocations: 3.938 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2839, allocations: 0 / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.536e-05/0.284, allocations: 4 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.284, allocations: 0 / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.714e-05/0.284, allocations: 3.953 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.284, allocations: 4 kB / 1.17 GB, free: 2.73 MB / 0.92 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 6.942e-05/0.2841, allocations: 117.8 kB / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.2841, allocations: 7.891 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.2841, allocations: 11.61 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2841, allocations: 4 kB / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.2841, allocations: 4 kB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2841, allocations: 0 / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.2843, allocations: 161.6 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2843, allocations: 3.984 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.786e-05/0.2843, allocations: 4 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.2843, allocations: 3.938 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.2843, allocations: 4 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.2843, allocations: 3.938 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2843, allocations: 4 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.507e-05/0.2844, allocations: 65.98 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.2844, allocations: 89 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.2845, allocations: 0 / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.653e-05/0.2845, allocations: 4.031 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.2845, allocations: 8 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.2845, allocations: 0 / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.578e-05/0.2846, allocations: 103.2 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2846, allocations: 0 / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000205/0.2848, allocations: 16 kB / 1.171 GB, free: 2.023 MB / 0.92 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.0001697/0.285, allocations: 119.2 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.2851, allocations: 89.61 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2851, allocations: 0 / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.159e-05/0.2851, allocations: 4 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.2853, allocations: 8 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/0.2856, allocations: 142.1 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.2858, allocations: 0.6846 MB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.222e-05/0.2858, allocations: 12 kB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.34e-05/0.2858, allocations: 11.44 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.2858, allocations: 0 / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of Templates: time 0.002566/0.2884, allocations: 0.547 MB / 1.173 GB, free: 404 kB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches