Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001425/0.001425, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.001592/0.001592, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.473/1.473, allocations: 230.6 MB / 252.8 MB, free: 9.137 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.16/3.16, allocations: 0.4899 GB / 0.7915 GB, free: 33.26 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.00208/0.00208, allocations: 72.7 kB / 1.149 GB, free: 26.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3226, allocations: 176.1 MB / 1.321 GB, free: 2.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002414/0.325, allocations: 1.281 MB / 1.323 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007502/0.3325, allocations: 4.55 MB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.925e-05/0.3326, allocations: 0 / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.306e-05/0.3326, allocations: 3.938 kB / 1.327 GB, free: 12.95 MB / 1.029 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.004052/0.3367, allocations: 1.526 MB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 9.038e-05/0.3368, allocations: 31.91 kB / 1.329 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.536e-05/0.3368, allocations: 12 kB / 1.329 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.3369, allocations: 3.984 kB / 1.329 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.767e-05/0.3369, allocations: 11.92 kB / 1.329 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.723e-05/0.337, allocations: 29.22 kB / 1.329 GB, free: 11.33 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.165e-06/0.337, allocations: 0 / 1.329 GB, free: 11.33 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003716/0.3407, allocations: 2.41 MB / 1.331 GB, free: 8.918 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.3408, allocations: 149.2 kB / 1.331 GB, free: 8.773 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.3409, allocations: 7.984 kB / 1.331 GB, free: 8.766 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00237/0.3432, allocations: 1.754 MB / 1.333 GB, free: 7.008 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3432, allocations: 0 / 1.333 GB, free: 7.008 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3432, allocations: 4 kB / 1.333 GB, free: 7.004 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.3432, allocations: 0 / 1.333 GB, free: 7.004 MB / 1.029 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.000977/0.3442, allocations: 0.6369 MB / 1.333 GB, free: 6.316 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.3443, allocations: 8.031 kB / 1.333 GB, free: 6.309 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.3443, allocations: 16.88 kB / 1.333 GB, free: 6.293 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.3444, allocations: 164.4 kB / 1.334 GB, free: 6.094 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.562e-06/0.3444, allocations: 384 / 1.334 GB, free: 6.094 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.3445, allocations: 4.125 kB / 1.334 GB, free: 6.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.3447, allocations: 173.6 kB / 1.334 GB, free: 5.914 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3447, allocations: 0 / 1.334 GB, free: 5.914 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.3447, allocations: 0 / 1.334 GB, free: 5.914 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3447, allocations: 0 / 1.334 GB, free: 5.914 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.3449, allocations: 283.9 kB / 1.334 GB, free: 5.637 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.3453, allocations: 293.6 kB / 1.334 GB, free: 5.301 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.3454, allocations: 158.5 kB / 1.334 GB, free: 5.137 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.3455, allocations: 148.8 kB / 1.335 GB, free: 4.988 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-06/0.3456, allocations: 0 / 1.335 GB, free: 4.988 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.3456, allocations: 38.5 kB / 1.335 GB, free: 4.941 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.3456, allocations: 0 / 1.335 GB, free: 4.941 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0004698/0.3461, allocations: 445.5 kB / 1.335 GB, free: 4.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.3461, allocations: 63.53 kB / 1.335 GB, free: 4.426 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.3462, allocations: 161.8 kB / 1.335 GB, free: 4.258 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.3463, allocations: 25.7 kB / 1.335 GB, free: 4.227 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.3463, allocations: 84.14 kB / 1.335 GB, free: 4.141 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.3463, allocations: 0 / 1.335 GB, free: 4.141 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.3464, allocations: 17.7 kB / 1.335 GB, free: 4.117 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3465, allocations: 310.8 kB / 1.336 GB, free: 3.805 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.3466, allocations: 140.1 kB / 1.336 GB, free: 3.668 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.3468, allocations: 147.9 kB / 1.336 GB, free: 3.523 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.347, allocations: 292.7 kB / 1.336 GB, free: 3.234 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.347, allocations: 0 / 1.336 GB, free: 3.234 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000305/0.3473, allocations: 313.5 kB / 1.337 GB, free: 2.922 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3474, allocations: 7.984 kB / 1.337 GB, free: 2.914 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3474, allocations: 0 / 1.337 GB, free: 2.914 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.3474, allocations: 0 / 1.337 GB, free: 2.914 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.976e-05/0.3474, allocations: 4 kB / 1.337 GB, free: 2.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.3474, allocations: 96 / 1.337 GB, free: 2.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.104e-05/0.3475, allocations: 8 kB / 1.337 GB, free: 2.902 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.3475, allocations: 0 / 1.337 GB, free: 2.902 MB / 1.029 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.0001339/0.3477, allocations: 169.8 kB / 1.337 GB, free: 2.727 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.3477, allocations: 3.938 kB / 1.337 GB, free: 2.723 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003411/0.348, allocations: 324.6 kB / 1.337 GB, free: 2.398 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.348, allocations: 0 / 1.337 GB, free: 2.398 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.348, allocations: 0 / 1.337 GB, free: 2.398 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.348, allocations: 0 / 1.337 GB, free: 2.398 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.3483, allocations: 297.6 kB / 1.337 GB, free: 2.059 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.3483, allocations: 3.938 kB / 1.337 GB, free: 2.055 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.3483, allocations: 0 / 1.337 GB, free: 2.055 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3483, allocations: 3.984 kB / 1.337 GB, free: 2.051 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.3483, allocations: 4 kB / 1.337 GB, free: 2.047 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.3483, allocations: 0 / 1.337 GB, free: 2.047 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3483, allocations: 4 kB / 1.337 GB, free: 2.043 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.3487, allocations: 340.9 kB / 1.338 GB, free: 1.691 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.3487, allocations: 89.09 kB / 1.338 GB, free: 1.586 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-05/0.3488, allocations: 0 / 1.338 GB, free: 1.586 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/0.3489, allocations: 0 / 1.338 GB, free: 1.586 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.3489, allocations: 0 / 1.338 GB, free: 1.586 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.3489, allocations: 0 / 1.338 GB, free: 1.586 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001108/0.349, allocations: 151.2 kB / 1.338 GB, free: 1.438 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.349, allocations: 0 / 1.338 GB, free: 1.438 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001335/0.3503, allocations: 0.5803 MB / 1.338 GB, free: 0.8555 MB / 1.029 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.002533/0.3528, allocations: 0.9262 MB / 1.339 GB, free: 12 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003291/0.3532, allocations: 279.9 kB / 1.34 GB, free: 15.74 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3532, allocations: 0 / 1.34 GB, free: 15.74 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.3533, allocations: 169.6 kB / 1.34 GB, free: 15.57 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.3536, allocations: 11.44 kB / 1.34 GB, free: 15.56 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.3549, allocations: 0.9468 MB / 1.341 GB, free: 14.59 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/0.3554, allocations: 0.8146 MB / 1.342 GB, free: 13.75 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.835e-05/0.3554, allocations: 0 / 1.342 GB, free: 13.75 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.3555, allocations: 11.44 kB / 1.342 GB, free: 13.73 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.3555, allocations: 3.938 kB / 1.342 GB, free: 13.73 MB / 1.045 GB Notification: Performance of Templates: time 0.02165/0.3771, allocations: 12.51 MB / 1.354 GB, free: 1.258 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.656724071130157]