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.00138/0.00138, allocations: 109.5 kB / 17.08 MB, free: 6.008 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.001415/0.001415, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.499/1.499, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.71/2.71, allocations: 437.1 MB / 0.7177 GB, free: 4.516 MB / 0.5606 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.001978/0.001978, allocations: 63.89 kB / 1.028 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3586, allocations: 151.6 MB / 1.176 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.003101/0.3617, allocations: 1.251 MB / 1.177 GB, free: 4.566 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.008064/0.3698, allocations: 4.492 MB / 1.182 GB, free: 52 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.406e-05/0.3699, allocations: 0 / 1.182 GB, free: 52 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.247e-05/0.37, allocations: 0 / 1.182 GB, free: 52 kB / 0.92 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.005442/0.3755, allocations: 1.498 MB / 1.183 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.3756, allocations: 43.88 kB / 1.183 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.943e-05/0.3757, allocations: 11.94 kB / 1.183 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.3758, allocations: 0 / 1.183 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.011e-05/0.3758, allocations: 11.98 kB / 1.183 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.149e-05/0.3759, allocations: 17.28 kB / 1.183 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.3759, allocations: 0 / 1.183 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005019/0.3809, allocations: 2.289 MB / 1.185 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.3811, allocations: 145.2 kB / 1.185 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.79e-05/0.3812, allocations: 7.938 kB / 1.185 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00474/0.3859, allocations: 1.732 MB / 1.187 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.386, allocations: 0 / 1.187 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.659e-06/0.386, allocations: 0 / 1.187 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.386, allocations: 7.938 kB / 1.187 GB, free: 10.28 MB / 0.9356 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.001558/0.3876, allocations: 0.6447 MB / 1.188 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.3876, allocations: 15.98 kB / 1.188 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.3877, allocations: 0.9375 kB / 1.188 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.3879, allocations: 160.4 kB / 1.188 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3879, allocations: 384 / 1.188 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.3879, allocations: 12.11 kB / 1.188 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.3882, allocations: 165.6 kB / 1.188 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3882, allocations: 4 kB / 1.188 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.3882, allocations: 0 / 1.188 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3882, allocations: 0 / 1.188 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.3885, allocations: 287.8 kB / 1.188 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.3889, allocations: 289.7 kB / 1.189 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.389, allocations: 158.5 kB / 1.189 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.3892, allocations: 152.8 kB / 1.189 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.3892, allocations: 3.938 kB / 1.189 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.3892, allocations: 34.56 kB / 1.189 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3893, allocations: 0 / 1.189 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0005138/0.3898, allocations: 457.5 kB / 1.189 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.3898, allocations: 51.41 kB / 1.189 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.39, allocations: 169.8 kB / 1.19 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.39, allocations: 25.7 kB / 1.19 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.3901, allocations: 84.39 kB / 1.19 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.3901, allocations: 4 kB / 1.19 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.3901, allocations: 9.719 kB / 1.19 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3903, allocations: 314.8 kB / 1.19 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.3904, allocations: 139.9 kB / 1.19 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.3906, allocations: 139.9 kB / 1.19 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.3908, allocations: 284.8 kB / 1.191 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3908, allocations: 0 / 1.191 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003022/0.3911, allocations: 329.5 kB / 1.191 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3912, allocations: 4 kB / 1.191 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.3912, allocations: 0 / 1.191 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.3912, allocations: 4 kB / 1.191 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.3913, allocations: 0 / 1.191 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.3913, allocations: 0 / 1.191 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.3914, allocations: 0 / 1.191 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.3914, allocations: 0 / 1.191 GB, free: 6.176 MB / 0.9356 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.000132/0.3915, allocations: 169.8 kB / 1.191 GB, free: 6 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.3915, allocations: 7.922 kB / 1.191 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003418/0.3919, allocations: 324.7 kB / 1.191 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3919, allocations: 3.938 kB / 1.191 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3919, allocations: 0 / 1.191 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3919, allocations: 0 / 1.191 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.3922, allocations: 293.5 kB / 1.192 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.3922, allocations: 4 kB / 1.192 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.11e-07/0.3922, allocations: 0 / 1.192 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3922, allocations: 0 / 1.192 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3923, allocations: 4 kB / 1.192 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3923, allocations: 3.969 kB / 1.192 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3923, allocations: 4 kB / 1.192 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.3926, allocations: 341 kB / 1.192 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.3927, allocations: 77.11 kB / 1.192 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.3927, allocations: 0 / 1.192 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.119e-05/0.3928, allocations: 0 / 1.192 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.3928, allocations: 0 / 1.192 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.3928, allocations: 4 kB / 1.192 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.444e-05/0.3929, allocations: 155.2 kB / 1.192 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3929, allocations: 0 / 1.192 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001658/0.3946, allocations: 0.5842 MB / 1.193 GB, free: 4.125 MB / 0.9356 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.003458/0.3981, allocations: 0.942 MB / 1.194 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003709/0.3984, allocations: 279.9 kB / 1.194 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3985, allocations: 0 / 1.194 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.3986, allocations: 169.6 kB / 1.194 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.3989, allocations: 8.641 kB / 1.194 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006867/0.3995, allocations: 427 kB / 1.195 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.3999, allocations: 0.6729 MB / 1.195 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.4, allocations: 11.56 kB / 1.195 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of SimCode: time 4.659e-06/0.4, allocations: 4 kB / 1.195 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of Templates: time 0.02471/0.4247, allocations: 12.12 MB / 1.207 GB, free: 5.559 MB / 0.9512 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.79024813498836]