Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001703/0.001703, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002099/0.002099, allocations: 200.2 kB / 22.17 MB, free: 5.207 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.571/1.571, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.871/2.871, allocations: 476.7 MB / 0.7645 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 59.91 kB / 1.109 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9506/0.9525, allocations: 168.7 MB / 1.274 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002588/0.9551, allocations: 1.266 MB / 1.275 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007658/0.9628, allocations: 4.563 MB / 1.28 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.751e-05/0.9628, allocations: 0 / 1.28 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.463e-05/0.9629, allocations: 0 / 1.28 GB, free: 14.69 MB / 0.9825 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 11.1.0-maint.11.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.004226/0.9671, allocations: 1.514 MB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.848e-05/0.9672, allocations: 31.91 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.563e-05/0.9673, allocations: 19.98 kB / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.9673, allocations: 0 / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.063e-05/0.9673, allocations: 4 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.625e-05/0.9674, allocations: 25.27 kB / 1.281 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.9674, allocations: 0 / 1.281 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004196/0.9716, allocations: 2.387 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.9718, allocations: 149.2 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.9718, allocations: 4 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003648/0.9755, allocations: 1.742 MB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.9755, allocations: 0 / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9755, allocations: 0 / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.9755, allocations: 0 / 1.286 GB, free: 8.812 MB / 0.9825 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.001317/0.9768, allocations: 0.6408 MB / 1.286 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.9768, allocations: 12.03 kB / 1.286 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.9769, allocations: 0.9375 kB / 1.286 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.977, allocations: 160.4 kB / 1.286 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.9771, allocations: 8.312 kB / 1.286 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.9771, allocations: 8.109 kB / 1.286 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.9773, allocations: 169.6 kB / 1.286 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.9773, allocations: 0 / 1.286 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.9773, allocations: 0 / 1.286 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.9773, allocations: 3.984 kB / 1.286 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.9776, allocations: 279.9 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.978, allocations: 285.7 kB / 1.287 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.9781, allocations: 166.5 kB / 1.287 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.9783, allocations: 148.8 kB / 1.287 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.9783, allocations: 4 kB / 1.287 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.9783, allocations: 30.56 kB / 1.287 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/0.9783, allocations: 0 / 1.287 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0005169/0.9789, allocations: 449.5 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.9789, allocations: 59.47 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.9791, allocations: 173.8 kB / 1.288 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.9791, allocations: 29.7 kB / 1.288 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.9791, allocations: 84.14 kB / 1.288 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.9791, allocations: 0 / 1.288 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.9792, allocations: 9.719 kB / 1.288 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.9793, allocations: 314.8 kB / 1.288 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.9795, allocations: 143.9 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.9796, allocations: 144.1 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.9799, allocations: 284.8 kB / 1.289 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.9799, allocations: 0 / 1.289 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003043/0.9802, allocations: 329.4 kB / 1.289 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.9802, allocations: 4 kB / 1.289 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.9802, allocations: 0 / 1.289 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.9802, allocations: 0 / 1.289 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.258e-05/0.9803, allocations: 4 kB / 1.289 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.9803, allocations: 0 / 1.289 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.315e-05/0.9803, allocations: 4.094 kB / 1.289 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.9804, allocations: 0 / 1.289 GB, free: 4.707 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.0001419/0.9805, allocations: 169.8 kB / 1.289 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.9805, allocations: 3.938 kB / 1.289 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/0.9809, allocations: 324.6 kB / 1.29 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.9809, allocations: 3.938 kB / 1.29 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.9809, allocations: 0 / 1.29 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.9809, allocations: 0 / 1.29 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.9812, allocations: 293.5 kB / 1.29 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.9812, allocations: 4.031 kB / 1.29 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.9812, allocations: 0 / 1.29 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.9812, allocations: 3.938 kB / 1.29 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.9812, allocations: 0 / 1.29 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9812, allocations: 0 / 1.29 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9812, allocations: 4 kB / 1.29 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.9816, allocations: 337 kB / 1.29 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.9816, allocations: 85.14 kB / 1.29 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.036e-05/0.9817, allocations: 0 / 1.29 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.9818, allocations: 0 / 1.29 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.9818, allocations: 0 / 1.29 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.9818, allocations: 4 kB / 1.29 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000116/0.9819, allocations: 151.2 kB / 1.291 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9819, allocations: 0 / 1.291 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001666/0.9836, allocations: 0.5804 MB / 1.291 GB, free: 2.672 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.003285/0.9868, allocations: 0.9278 MB / 1.292 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003385/0.9872, allocations: 287.8 kB / 1.292 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.9872, allocations: 0 / 1.292 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.9874, allocations: 165.6 kB / 1.293 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.9876, allocations: 11.94 kB / 1.293 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.989, allocations: 0.953 MB / 1.293 GB, free: 408 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.9895, allocations: 0.8146 MB / 1.294 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.134e-05/0.9895, allocations: 0 / 1.294 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.9896, allocations: 11.44 kB / 1.294 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/0.9896, allocations: 0 / 1.294 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of Templates: time 0.02441/1.014, allocations: 12.39 MB / 1.306 GB, free: 3.195 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.174936729948968]