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.001942/0.001942, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002804/0.002804, allocations: 217.4 kB / 22.99 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.584/1.584, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.465/3.465, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 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.002072/0.002072, allocations: 75.19 kB / 1.187 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4536, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002759/0.4563, allocations: 1.288 MB / 1.366 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008333/0.4647, allocations: 4.138 MB / 1.37 GB, free: 8.141 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.4647, allocations: 0 / 1.37 GB, free: 8.141 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.786e-05/0.4648, allocations: 3.984 kB / 1.37 GB, free: 8.137 MB / 1.061 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.005197/0.47, allocations: 1.597 MB / 1.372 GB, free: 6.531 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001079/0.4701, allocations: 43.84 kB / 1.372 GB, free: 6.488 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.999e-05/0.4701, allocations: 15.98 kB / 1.372 GB, free: 6.473 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.393e-05/0.4702, allocations: 3.984 kB / 1.372 GB, free: 6.469 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.495e-05/0.4702, allocations: 4 kB / 1.372 GB, free: 6.465 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.931e-05/0.4703, allocations: 21.28 kB / 1.372 GB, free: 6.441 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.4703, allocations: 0 / 1.372 GB, free: 6.441 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004426/0.4747, allocations: 2.441 MB / 1.374 GB, free: 3.996 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.4749, allocations: 149.2 kB / 1.374 GB, free: 3.852 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.4749, allocations: 7.938 kB / 1.374 GB, free: 3.844 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002863/0.4778, allocations: 1.754 MB / 1.376 GB, free: 2.086 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4778, allocations: 0 / 1.376 GB, free: 2.086 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4778, allocations: 0 / 1.376 GB, free: 2.086 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.4778, allocations: 0 / 1.376 GB, free: 2.086 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.0009282/0.4787, allocations: 0.5539 MB / 1.376 GB, free: 1.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.4788, allocations: 11.97 kB / 1.376 GB, free: 1.488 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.4788, allocations: 0.9375 kB / 1.376 GB, free: 1.488 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.4789, allocations: 114.5 kB / 1.377 GB, free: 1.352 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.4789, allocations: 384 / 1.377 GB, free: 1.352 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.4789, allocations: 4.125 kB / 1.377 GB, free: 1.348 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.4792, allocations: 173.6 kB / 1.377 GB, free: 1.172 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.4792, allocations: 3.938 kB / 1.377 GB, free: 1.168 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.4792, allocations: 0 / 1.377 GB, free: 1.168 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.4792, allocations: 0 / 1.377 GB, free: 1.168 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.4795, allocations: 279.9 kB / 1.377 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.4798, allocations: 241.2 kB / 1.377 GB, free: 0.6289 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.4799, allocations: 158.5 kB / 1.377 GB, free: 476 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.4801, allocations: 148.9 kB / 1.377 GB, free: 324 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-06/0.4801, allocations: 0 / 1.377 GB, free: 324 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.4801, allocations: 42.44 kB / 1.378 GB, free: 272 kB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.4801, allocations: 0 / 1.378 GB, free: 272 kB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0005419/0.4807, allocations: 449.5 kB / 1.378 GB, free: 15.82 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.4807, allocations: 59.39 kB / 1.378 GB, free: 15.75 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.4809, allocations: 165.8 kB / 1.378 GB, free: 15.58 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.4809, allocations: 25.7 kB / 1.378 GB, free: 15.55 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.4809, allocations: 80.39 kB / 1.378 GB, free: 15.46 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.4809, allocations: 11.95 kB / 1.378 GB, free: 15.45 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.065e-05/0.481, allocations: 13.72 kB / 1.378 GB, free: 15.43 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4812, allocations: 310.8 kB / 1.379 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.4813, allocations: 139.9 kB / 1.379 GB, free: 14.98 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.4814, allocations: 143.9 kB / 1.379 GB, free: 14.84 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.4818, allocations: 288.7 kB / 1.379 GB, free: 14.56 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4818, allocations: 0 / 1.379 GB, free: 14.56 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004358/0.4822, allocations: 317.5 kB / 1.379 GB, free: 14.24 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.4822, allocations: 4 kB / 1.379 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.4822, allocations: 8.094 kB / 1.379 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.4823, allocations: 0 / 1.379 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.494e-05/0.4823, allocations: 0 / 1.379 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.4823, allocations: 0 / 1.379 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.896e-05/0.4824, allocations: 0 / 1.379 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.4824, allocations: 4 kB / 1.379 GB, free: 14.23 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.0001364/0.4825, allocations: 166.9 kB / 1.38 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.4825, allocations: 3.938 kB / 1.38 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003606/0.4829, allocations: 328.5 kB / 1.38 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4829, allocations: 4 kB / 1.38 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4829, allocations: 4.031 kB / 1.38 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4829, allocations: 4 kB / 1.38 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.4832, allocations: 245.1 kB / 1.38 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.4832, allocations: 7.984 kB / 1.38 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.4832, allocations: 0 / 1.38 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4832, allocations: 3.938 kB / 1.38 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.4832, allocations: 0 / 1.38 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4832, allocations: 0 / 1.38 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4832, allocations: 0 / 1.38 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.4835, allocations: 341 kB / 1.381 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-06/0.4835, allocations: 8.031 kB / 1.381 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.4836, allocations: 3.938 kB / 1.381 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.4837, allocations: 0 / 1.381 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.4837, allocations: 0 / 1.381 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.4837, allocations: 0 / 1.381 GB, free: 13.07 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001102/0.4838, allocations: 151.2 kB / 1.381 GB, free: 12.92 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.4838, allocations: 0 / 1.381 GB, free: 12.92 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001334/0.4851, allocations: 0.5764 MB / 1.381 GB, free: 12.34 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.002536/0.4877, allocations: 0.9416 MB / 1.382 GB, free: 11.5 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003245/0.488, allocations: 279.9 kB / 1.382 GB, free: 11.23 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.488, allocations: 0 / 1.382 GB, free: 11.23 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.4882, allocations: 169.6 kB / 1.383 GB, free: 11.05 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.4884, allocations: 3.938 kB / 1.383 GB, free: 11.05 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007481/0.4891, allocations: 436.9 kB / 1.383 GB, free: 10.59 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.961e-05/0.4892, allocations: 55.36 kB / 1.383 GB, free: 10.52 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/0.4892, allocations: 11.56 kB / 1.383 GB, free: 10.51 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.4892, allocations: 4 kB / 1.383 GB, free: 10.5 MB / 1.076 GB Notification: Performance of Templates: time 0.0233/0.5125, allocations: 12.48 MB / 1.395 GB, free: 14.03 MB / 1.092 GB " [Timeout remaining time 299] 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: 17.36802282044664]