Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00139/0.00139, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001647/0.001647, allocations: 210.5 kB / 23 MB, free: 4.57 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.312/3.312, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002016/0.002016, allocations: 67.08 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4095, allocations: 180.2 MB / 1.354 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002607/0.4121, allocations: 1.287 MB / 1.355 GB, free: 6.645 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.007909/0.42, allocations: 4.581 MB / 1.36 GB, free: 2.043 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.4201, allocations: 4 kB / 1.36 GB, free: 2.039 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.492e-05/0.4201, allocations: 3.984 kB / 1.36 GB, free: 2.035 MB / 1.045 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'. Notification: Performance of NFTyping.typeBindings: time 0.004828/0.425, allocations: 1.62 MB / 1.361 GB, free: 424 kB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 9.713e-05/0.4251, allocations: 27.91 kB / 1.361 GB, free: 396 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.142e-05/0.4251, allocations: 12 kB / 1.361 GB, free: 384 kB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.4252, allocations: 15.92 kB / 1.362 GB, free: 368 kB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.473e-05/0.4252, allocations: 7.984 kB / 1.362 GB, free: 360 kB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.461e-05/0.4253, allocations: 25.16 kB / 1.362 GB, free: 336 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.4253, allocations: 8 kB / 1.362 GB, free: 328 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004693/0.43, allocations: 2.718 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.4301, allocations: 149.2 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.4302, allocations: 7.984 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003531/0.4337, allocations: 1.773 MB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4337, allocations: 4 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4337, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.4337, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 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.001114/0.4348, allocations: 0.5617 MB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.4349, allocations: 8.031 kB / 1.367 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.4349, allocations: 4.891 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.4351, allocations: 110.5 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.4351, allocations: 384 / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.4351, allocations: 4.125 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.4353, allocations: 177.6 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.4353, allocations: 0 / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.4353, allocations: 0 / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.4354, allocations: 0 / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.4356, allocations: 283.8 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.4359, allocations: 264.7 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.4361, allocations: 150.5 kB / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.4363, allocations: 156.8 kB / 1.368 GB, free: 9.848 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.4363, allocations: 4 kB / 1.368 GB, free: 9.844 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.4363, allocations: 34.56 kB / 1.368 GB, free: 9.801 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.4363, allocations: 0 / 1.368 GB, free: 9.801 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0005012/0.4368, allocations: 453.5 kB / 1.368 GB, free: 9.352 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.4368, allocations: 55.41 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.437, allocations: 165.8 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.437, allocations: 33.95 kB / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.4371, allocations: 80.14 kB / 1.369 GB, free: 8.992 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.4371, allocations: 0 / 1.369 GB, free: 8.992 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.4371, allocations: 9.719 kB / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4373, allocations: 314.8 kB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.4374, allocations: 139.9 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.4375, allocations: 143.9 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.4377, allocations: 284.8 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4377, allocations: 4 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002904/0.438, allocations: 321.5 kB / 1.37 GB, free: 7.777 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4381, allocations: 5.875 kB / 1.37 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.4381, allocations: 3.938 kB / 1.37 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.4381, allocations: 3.938 kB / 1.37 GB, free: 7.766 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.544e-05/0.4381, allocations: 4 kB / 1.37 GB, free: 7.762 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4381, allocations: 0 / 1.37 GB, free: 7.762 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.211e-05/0.4382, allocations: 0 / 1.37 GB, free: 7.762 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.4382, allocations: 0 / 1.37 GB, free: 7.762 MB / 1.061 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.0001465/0.4384, allocations: 178.4 kB / 1.37 GB, free: 7.578 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.4384, allocations: 7.922 kB / 1.37 GB, free: 7.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003718/0.4387, allocations: 336.4 kB / 1.37 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4387, allocations: 0 / 1.37 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4388, allocations: 0 / 1.37 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4388, allocations: 0 / 1.37 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.439, allocations: 260.6 kB / 1.37 GB, free: 6.938 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.439, allocations: 0 / 1.37 GB, free: 6.938 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.439, allocations: 0 / 1.37 GB, free: 6.938 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.439, allocations: 4.031 kB / 1.37 GB, free: 6.934 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.439, allocations: 0 / 1.37 GB, free: 6.934 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.439, allocations: 4 kB / 1.37 GB, free: 6.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.439, allocations: 0 / 1.37 GB, free: 6.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.4393, allocations: 341 kB / 1.371 GB, free: 6.578 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-06/0.4393, allocations: 0 / 1.371 GB, free: 6.578 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.209e-05/0.4394, allocations: 0 / 1.371 GB, free: 6.578 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.97e-05/0.4395, allocations: 0 / 1.371 GB, free: 6.578 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.4395, allocations: 11.95 kB / 1.371 GB, free: 6.566 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.4395, allocations: 8 kB / 1.371 GB, free: 6.559 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.819e-05/0.4396, allocations: 151.2 kB / 1.371 GB, free: 6.41 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4396, allocations: 0 / 1.371 GB, free: 6.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001497/0.4411, allocations: 0.5764 MB / 1.372 GB, free: 5.832 MB / 1.061 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.002466/0.4435, allocations: 0.9165 MB / 1.372 GB, free: 5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003145/0.4439, allocations: 291.9 kB / 1.373 GB, free: 4.715 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4439, allocations: 0 / 1.373 GB, free: 4.715 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.444, allocations: 161.7 kB / 1.373 GB, free: 4.551 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.4442, allocations: 14.66 kB / 1.373 GB, free: 4.539 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006624/0.4449, allocations: 423.2 kB / 1.373 GB, free: 4.094 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.4452, allocations: 0.6729 MB / 1.374 GB, free: 3.395 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.4452, allocations: 19.5 kB / 1.374 GB, free: 3.375 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/0.4452, allocations: 4 kB / 1.374 GB, free: 3.371 MB / 1.061 GB Notification: Performance of Templates: time 0.02347/0.4687, allocations: 12.3 MB / 1.386 GB, free: 7.074 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.8581096889975]