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.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.001339/0.001339, allocations: 78.25 kB / 19.76 MB, free: 2.031 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.001427/0.001427, allocations: 158.2 kB / 23.01 MB, free: 4.945 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.423/1.423, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.637/2.637, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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: 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: 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.002175/0.002175, allocations: 63.89 kB / 0.9516 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3443, allocations: 169.9 MB / 1.117 GB, free: 2.512 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002611/0.3469, allocations: 1.278 MB / 1.119 GB, free: 1.227 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007536/0.3545, allocations: 4.145 MB / 1.123 GB, free: 13.06 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.12e-05/0.3545, allocations: 0 / 1.123 GB, free: 13.06 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 6.624e-05/0.3546, allocations: 4 kB / 1.123 GB, free: 13.06 MB / 1.076 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1-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.004613/0.3592, allocations: 1.58 MB / 1.124 GB, free: 11.47 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001023/0.3593, allocations: 31.91 kB / 1.124 GB, free: 11.44 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.864e-05/0.3593, allocations: 12 kB / 1.124 GB, free: 11.43 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.3594, allocations: 11.97 kB / 1.124 GB, free: 11.42 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.08e-05/0.3594, allocations: 4 kB / 1.124 GB, free: 11.41 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.079e-05/0.3595, allocations: 25.22 kB / 1.124 GB, free: 11.39 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.3595, allocations: 0 / 1.124 GB, free: 11.39 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004146/0.3636, allocations: 2.425 MB / 1.127 GB, free: 8.961 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.3638, allocations: 145.2 kB / 1.127 GB, free: 8.816 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.3638, allocations: 4 kB / 1.127 GB, free: 8.812 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003086/0.3669, allocations: 1.738 MB / 1.129 GB, free: 7.07 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3669, allocations: 0 / 1.129 GB, free: 7.07 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3669, allocations: 0 / 1.129 GB, free: 7.07 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3669, allocations: 4 kB / 1.129 GB, free: 7.066 MB / 1.076 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.001084/0.368, allocations: 0.5638 MB / 1.129 GB, free: 6.473 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.368, allocations: 12.03 kB / 1.129 GB, free: 6.461 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.3681, allocations: 0.9375 kB / 1.129 GB, free: 6.461 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.3682, allocations: 110.5 kB / 1.129 GB, free: 6.328 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.3682, allocations: 8.375 kB / 1.129 GB, free: 6.32 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.3682, allocations: 4.125 kB / 1.129 GB, free: 6.316 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.3684, allocations: 169.6 kB / 1.129 GB, free: 6.145 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3684, allocations: 0 / 1.129 GB, free: 6.145 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3684, allocations: 4 kB / 1.129 GB, free: 6.141 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3684, allocations: 0 / 1.129 GB, free: 6.141 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.3687, allocations: 279.9 kB / 1.13 GB, free: 5.867 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.369, allocations: 245.2 kB / 1.13 GB, free: 5.598 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.3691, allocations: 162.5 kB / 1.13 GB, free: 5.43 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.3693, allocations: 140.9 kB / 1.13 GB, free: 5.289 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/0.3693, allocations: 4 kB / 1.13 GB, free: 5.285 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.3694, allocations: 42.48 kB / 1.13 GB, free: 5.234 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.3694, allocations: 0 / 1.13 GB, free: 5.234 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0005011/0.3699, allocations: 445.5 kB / 1.131 GB, free: 4.793 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.3699, allocations: 59.28 kB / 1.131 GB, free: 4.723 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.3701, allocations: 169.8 kB / 1.131 GB, free: 4.547 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.3701, allocations: 25.7 kB / 1.131 GB, free: 4.516 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.3701, allocations: 84.14 kB / 1.131 GB, free: 4.43 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.3701, allocations: 0 / 1.131 GB, free: 4.43 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.3702, allocations: 9.969 kB / 1.131 GB, free: 4.414 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3703, allocations: 326.8 kB / 1.131 GB, free: 4.086 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.3705, allocations: 136 kB / 1.132 GB, free: 3.953 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.3706, allocations: 139.9 kB / 1.132 GB, free: 3.816 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.3708, allocations: 288.7 kB / 1.132 GB, free: 3.531 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3708, allocations: 0 / 1.132 GB, free: 3.531 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002902/0.3711, allocations: 317.5 kB / 1.132 GB, free: 3.215 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3711, allocations: 4 kB / 1.132 GB, free: 3.211 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3711, allocations: 3.938 kB / 1.132 GB, free: 3.207 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3712, allocations: 3.984 kB / 1.132 GB, free: 3.203 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.731e-05/0.3712, allocations: 8.094 kB / 1.132 GB, free: 3.195 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.3712, allocations: 7.984 kB / 1.132 GB, free: 3.188 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.262e-05/0.3713, allocations: 0 / 1.132 GB, free: 3.188 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.3713, allocations: 0 / 1.132 GB, free: 3.188 MB / 1.076 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.0001386/0.3714, allocations: 173.8 kB / 1.132 GB, free: 3.008 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.3715, allocations: 3.938 kB / 1.132 GB, free: 3.004 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.3718, allocations: 316.6 kB / 1.133 GB, free: 2.688 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.3718, allocations: 0 / 1.133 GB, free: 2.688 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3718, allocations: 0 / 1.133 GB, free: 2.688 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.3718, allocations: 0 / 1.133 GB, free: 2.688 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.372, allocations: 245.3 kB / 1.133 GB, free: 2.418 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.372, allocations: 0 / 1.133 GB, free: 2.418 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-06/0.372, allocations: 3.938 kB / 1.133 GB, free: 2.414 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.372, allocations: 3.938 kB / 1.133 GB, free: 2.41 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.372, allocations: 4 kB / 1.133 GB, free: 2.406 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.372, allocations: 0 / 1.133 GB, free: 2.406 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.372, allocations: 0 / 1.133 GB, free: 2.406 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.3723, allocations: 337 kB / 1.133 GB, free: 2.059 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-06/0.3723, allocations: 0 / 1.133 GB, free: 2.059 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/0.3724, allocations: 11.92 kB / 1.133 GB, free: 2.047 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.114e-05/0.3725, allocations: 4.031 kB / 1.133 GB, free: 2.043 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.3725, allocations: 4 kB / 1.133 GB, free: 2.039 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.3725, allocations: 0 / 1.133 GB, free: 2.039 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.913e-05/0.3726, allocations: 151.2 kB / 1.133 GB, free: 1.891 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3726, allocations: 0 / 1.133 GB, free: 1.891 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001431/0.374, allocations: 0.5764 MB / 1.134 GB, free: 1.312 MB / 1.076 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.002629/0.3766, allocations: 0.9425 MB / 1.135 GB, free: 484 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002989/0.3769, allocations: 295.8 kB / 1.135 GB, free: 188 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3769, allocations: 4 kB / 1.135 GB, free: 184 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.3771, allocations: 161.7 kB / 1.135 GB, free: 16 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.3773, allocations: 8.859 kB / 1.135 GB, free: 8 kB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5399/0.9171, allocations: 0.9706 MB / 1.136 GB, free: 57.37 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.9173, allocations: 214.6 kB / 1.137 GB, free: 57.3 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.625e-05/0.9173, allocations: 0 / 1.137 GB, free: 57.3 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.9174, allocations: 18.56 kB / 1.137 GB, free: 57.29 MB / 1.076 GB Notification: Performance of SimCode: time 1.062e-06/0.9174, allocations: 0 / 1.137 GB, free: 57.29 MB / 1.076 GB Notification: Performance of Templates: time 0.01901/0.9364, allocations: 12.46 MB / 1.149 GB, free: 56.44 MB / 1.076 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 ida -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/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: 9.67951168701984]