Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 443.4 MB / 0.7304 GB, free: 13.92 MB / 0.5762 GB " [Timeout remaining time 177] 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.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TStep",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TStep",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 71.88 kB / 1.059 GB, free: 344 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3404, allocations: 160.7 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002568/0.3429, allocations: 1.263 MB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008093/0.351, allocations: 4.559 MB / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.3511, allocations: 0 / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.599e-05/0.3511, allocations: 0 / 1.222 GB, free: 9.445 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeBindings: time 0.004983/0.3561, allocations: 1.508 MB / 1.223 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001072/0.3562, allocations: 35.91 kB / 1.223 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.742e-05/0.3563, allocations: 11.98 kB / 1.223 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.3563, allocations: 4 kB / 1.223 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.571e-05/0.3563, allocations: 7.984 kB / 1.223 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.711e-05/0.3564, allocations: 21.28 kB / 1.223 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.3564, allocations: 0 / 1.223 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00457/0.361, allocations: 2.387 MB / 1.226 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.3612, allocations: 153.2 kB / 1.226 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.3612, allocations: 8 kB / 1.226 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004255/0.3655, allocations: 1.727 MB / 1.228 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3655, allocations: 0 / 1.228 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3655, allocations: 0 / 1.228 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3655, allocations: 3.938 kB / 1.228 GB, free: 3.566 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001188/0.3667, allocations: 0.6447 MB / 1.228 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3667, allocations: 12.03 kB / 1.228 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.3668, allocations: 0.9375 kB / 1.228 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.3669, allocations: 164.4 kB / 1.228 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.3669, allocations: 8.375 kB / 1.228 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.3669, allocations: 4.125 kB / 1.228 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.3672, allocations: 169.6 kB / 1.229 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3672, allocations: 0 / 1.229 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.3672, allocations: 0 / 1.229 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3672, allocations: 4 kB / 1.229 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.3674, allocations: 279.9 kB / 1.229 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.3678, allocations: 289.6 kB / 1.229 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.3679, allocations: 162.5 kB / 1.229 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.3681, allocations: 156.8 kB / 1.229 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.3681, allocations: 0 / 1.229 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.3681, allocations: 34.5 kB / 1.229 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3681, allocations: 0 / 1.229 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.000497/0.3686, allocations: 461.4 kB / 1.23 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.3687, allocations: 51.41 kB / 1.23 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.3688, allocations: 174 kB / 1.23 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.3688, allocations: 25.7 kB / 1.23 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.3689, allocations: 80.14 kB / 1.23 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.3689, allocations: 0 / 1.23 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.3689, allocations: 13.72 kB / 1.23 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3691, allocations: 310.8 kB / 1.231 GB, free: 364 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.3692, allocations: 139.9 kB / 1.231 GB, free: 224 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.3693, allocations: 147.9 kB / 1.231 GB, free: 76 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.3696, allocations: 289 kB / 1.231 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3696, allocations: 4 kB / 1.231 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000299/0.3699, allocations: 317.5 kB / 1.231 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3699, allocations: 4 kB / 1.231 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.3699, allocations: 4 kB / 1.231 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3699, allocations: 3.984 kB / 1.231 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.224e-05/0.37, allocations: 0 / 1.231 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.37, allocations: 0 / 1.231 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.703e-05/0.37, allocations: 0 / 1.231 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.3701, allocations: 12.02 kB / 1.231 GB, free: 15.44 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 (1): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 0.0001249/0.3702, allocations: 165.8 kB / 1.232 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.3702, allocations: 7.891 kB / 1.232 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/0.3705, allocations: 320.6 kB / 1.232 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3705, allocations: 0 / 1.232 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3705, allocations: 0 / 1.232 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3705, allocations: 7.984 kB / 1.232 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.3708, allocations: 285.6 kB / 1.232 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.3708, allocations: 4.031 kB / 1.232 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.3708, allocations: 3.938 kB / 1.232 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3708, allocations: 0 / 1.232 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.3708, allocations: 4 kB / 1.232 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3708, allocations: 0 / 1.232 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3708, allocations: 0 / 1.232 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.3711, allocations: 341 kB / 1.232 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.3712, allocations: 77.11 kB / 1.233 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-05/0.3712, allocations: 8.031 kB / 1.233 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.216e-05/0.3713, allocations: 3.938 kB / 1.233 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/0.3713, allocations: 0 / 1.233 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.3713, allocations: 4 kB / 1.233 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000101/0.3714, allocations: 151.2 kB / 1.233 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3714, allocations: 3.938 kB / 1.233 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001515/0.373, allocations: 0.5803 MB / 1.233 GB, free: 13.4 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.002778/0.3757, allocations: 0.9299 MB / 1.234 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003417/0.3761, allocations: 287.8 kB / 1.234 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3761, allocations: 0 / 1.234 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.3762, allocations: 169.6 kB / 1.235 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.3764, allocations: 3.938 kB / 1.235 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.3778, allocations: 0.9492 MB / 1.236 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.3782, allocations: 0.8146 MB / 1.236 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.42e-05/0.3782, allocations: 4 kB / 1.236 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.3783, allocations: 15.42 kB / 1.236 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of SimCode: time 9.52e-07/0.3783, allocations: 0 / 1.236 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of Templates: time 0.02366/0.4019, allocations: 12.38 MB / 1.248 GB, free: 13.94 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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: 9.218615476973355]