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.002012/0.002012, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.00313/0.00313, allocations: 161.3 kB / 23.54 MB, free: 0.8633 MB / 18.57 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.634/1.634, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.944/2.944, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0.5469 kB / 0.8109 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.58e-05/3.835e-05, allocations: 3.375 kB / 0.8109 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001864/0.001903, allocations: 0.5683 MB / 0.8114 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.01199, allocations: 4.849 MB / 0.8162 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.841e-05/0.01201, allocations: 0.5312 kB / 0.8162 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.42e-05/0.01209, allocations: 4 kB / 0.8162 GB, free: 12.59 MB / 0.7761 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.005766/0.01785, allocations: 1.605 MB / 0.8177 GB, free: 11 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.018, allocations: 39.84 kB / 0.8178 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.01807, allocations: 4 kB / 0.8178 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.93e-05/0.01812, allocations: 0.5 kB / 0.8178 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.937e-05/0.01816, allocations: 13.05 kB / 0.8178 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.47e-05/0.01823, allocations: 7.984 kB / 0.8178 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.01825, allocations: 0 / 0.8178 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005584/0.02383, allocations: 2.45 MB / 0.8202 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.02403, allocations: 149.2 kB / 0.8203 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.582e-05/0.02407, allocations: 2.219 kB / 0.8203 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.007015/0.03108, allocations: 2.053 MB / 0.8223 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.03109, allocations: 0 / 0.8223 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.515e-06/0.03109, allocations: 2.781 kB / 0.8223 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.0311, allocations: 0 / 0.8223 GB, free: 6.277 MB / 0.7761 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.002285/0.03339, allocations: 0.5422 MB / 0.8229 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 7.289e-05/0.03346, allocations: 8.031 kB / 0.8229 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.292e-05/0.03355, allocations: 8.938 kB / 0.8229 GB, free: 5.688 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.03374, allocations: 101.8 kB / 0.823 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.03376, allocations: 384 / 0.823 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.03378, allocations: 5.844 kB / 0.823 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.03407, allocations: 166.2 kB / 0.8231 GB, free: 5.391 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.03409, allocations: 11.86 kB / 0.8232 GB, free: 5.379 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.03411, allocations: 0 / 0.8232 GB, free: 5.379 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.03411, allocations: 4.5 kB / 0.8232 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/0.03444, allocations: 285.7 kB / 0.8234 GB, free: 5.098 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.0348, allocations: 245.2 kB / 0.8237 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.035, allocations: 158.5 kB / 0.8238 GB, free: 4.664 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.03517, allocations: 140.9 kB / 0.824 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.03519, allocations: 0 / 0.824 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.03523, allocations: 31.91 kB / 0.824 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.03523, allocations: 0 / 0.824 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0006337/0.03587, allocations: 462.4 kB / 0.8244 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.03592, allocations: 51.41 kB / 0.8245 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.03611, allocations: 170.5 kB / 0.8246 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.03613, allocations: 25.7 kB / 0.8247 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.03618, allocations: 80.64 kB / 0.8247 GB, free: 3.676 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.03621, allocations: 11.64 kB / 0.8248 GB, free: 3.668 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.03626, allocations: 13.72 kB / 0.8248 GB, free: 3.648 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.03646, allocations: 314.8 kB / 0.8251 GB, free: 3.332 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.0366, allocations: 144 kB / 0.8252 GB, free: 3.191 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.03674, allocations: 139.9 kB / 0.8253 GB, free: 3.055 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.03705, allocations: 284.8 kB / 0.8256 GB, free: 2.773 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.03706, allocations: 0 / 0.8256 GB, free: 2.773 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000498/0.03755, allocations: 317.5 kB / 0.8259 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.03757, allocations: 5.625 kB / 0.8259 GB, free: 2.453 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.03758, allocations: 0 / 0.8259 GB, free: 2.453 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.0376, allocations: 3.938 kB / 0.8259 GB, free: 2.449 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.335e-05/0.03768, allocations: 7.984 kB / 0.8259 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.03768, allocations: 0 / 0.8259 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.328e-05/0.0377, allocations: 1.031 kB / 0.8259 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.03771, allocations: 4 kB / 0.8259 GB, free: 2.438 MB / 0.7761 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.0001744/0.03789, allocations: 170.9 kB / 0.8261 GB, free: 2.262 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.0379, allocations: 0 / 0.8261 GB, free: 2.262 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004358/0.03834, allocations: 325.6 kB / 0.8264 GB, free: 1.941 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.03834, allocations: 3.938 kB / 0.8264 GB, free: 1.938 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.03835, allocations: 0 / 0.8264 GB, free: 1.938 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.03835, allocations: 5.094 kB / 0.8264 GB, free: 1.934 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.0386, allocations: 245.2 kB / 0.8266 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.03861, allocations: 0 / 0.8266 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/0.03861, allocations: 0.7188 kB / 0.8266 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.03862, allocations: 4 kB / 0.8267 GB, free: 1.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.03862, allocations: 2.594 kB / 0.8267 GB, free: 1.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.03862, allocations: 0 / 0.8267 GB, free: 1.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.03863, allocations: 3.938 kB / 0.8267 GB, free: 1.656 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.03901, allocations: 333 kB / 0.827 GB, free: 1.312 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-06/0.03901, allocations: 0 / 0.827 GB, free: 1.312 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.03903, allocations: 4 kB / 0.827 GB, free: 1.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.507e-06/0.03904, allocations: 0 / 0.827 GB, free: 1.309 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.03907, allocations: 13.55 kB / 0.827 GB, free: 1.297 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.03907, allocations: 4 kB / 0.827 GB, free: 1.293 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001286/0.0392, allocations: 151.2 kB / 0.8271 GB, free: 1.145 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.0392, allocations: 4.531 kB / 0.8271 GB, free: 1.141 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001869/0.04107, allocations: 0.5491 MB / 0.8277 GB, free: 0.5898 MB / 0.7761 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.004242/0.04531, allocations: 1.027 MB / 0.8287 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0003809/0.04569, allocations: 283.9 kB / 0.829 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.178e-06/0.0457, allocations: 4 kB / 0.829 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.04591, allocations: 173.6 kB / 0.8291 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.04608, allocations: 4 kB / 0.8291 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.04766, allocations: 0.9571 MB / 0.8301 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.04795, allocations: 217.1 kB / 0.8303 GB, free: 13.98 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 2.476e-05/0.04798, allocations: 0 / 0.8303 GB, free: 13.98 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.04803, allocations: 20.48 kB / 0.8303 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of SimCode: time 1.413e-06/0.04803, allocations: 0 / 0.8303 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of Templates: time 0.02802/0.07605, allocations: 12.67 MB / 0.8427 GB, free: 1.309 MB / 0.7917 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.295363965909928]