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.001638/0.001638, allocations: 78.8 kB / 19.76 MB, free: 1.875 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.001994/0.001994, allocations: 160.5 kB / 23.01 MB, free: 4.602 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.404/1.404, allocations: 177.2 MB / 203.4 MB, free: 8.996 MB / 190.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 2.849/2.849, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 177] 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.002247/0.002247, allocations: 63.89 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8631/0.8654, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002243/0.8676, allocations: 1.289 MB / 1.188 GB, free: 15.32 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006224/0.8738, allocations: 4.137 MB / 1.192 GB, free: 12.76 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.8738, allocations: 0 / 1.192 GB, free: 12.76 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.939e-05/0.8739, allocations: 1.828 kB / 1.192 GB, free: 12.76 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'. Notification: Performance of NFTyping.typeBindings: time 0.004735/0.8786, allocations: 1.603 MB / 1.194 GB, free: 12.13 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001134/0.8788, allocations: 35.19 kB / 1.194 GB, free: 12.12 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.628e-05/0.8788, allocations: 17.77 kB / 1.194 GB, free: 12.11 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.06e-05/0.8789, allocations: 2.312 kB / 1.194 GB, free: 12.11 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.951e-05/0.8789, allocations: 4.281 kB / 1.194 GB, free: 12.11 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.2e-05/0.8789, allocations: 21.05 kB / 1.194 GB, free: 12.11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.879, allocations: 1.156 kB / 1.194 GB, free: 12.11 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005027/0.884, allocations: 2.449 MB / 1.196 GB, free: 11.45 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.8841, allocations: 148.3 kB / 1.196 GB, free: 11.42 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.8842, allocations: 10.19 kB / 1.196 GB, free: 11.41 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003876/0.888, allocations: 1.737 MB / 1.198 GB, free: 11 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.8881, allocations: 0 / 1.198 GB, free: 11 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8881, allocations: 0.8438 kB / 1.198 GB, free: 11 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.8881, allocations: 0 / 1.198 GB, free: 11 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.001168/0.8892, allocations: 0.5635 MB / 1.198 GB, free: 10.53 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.8893, allocations: 9.969 kB / 1.198 GB, free: 10.53 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.8893, allocations: 0.9375 kB / 1.198 GB, free: 10.53 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.273e-05/0.8894, allocations: 115.6 kB / 1.198 GB, free: 10.4 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.8894, allocations: 1.188 kB / 1.198 GB, free: 10.4 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.8894, allocations: 4.125 kB / 1.199 GB, free: 10.39 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.8896, allocations: 168 kB / 1.199 GB, free: 10.36 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.8896, allocations: 5 kB / 1.199 GB, free: 10.36 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.8896, allocations: 0 / 1.199 GB, free: 10.36 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.8897, allocations: 0 / 1.199 GB, free: 10.36 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.8899, allocations: 284.4 kB / 1.199 GB, free: 10.36 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002458/0.8902, allocations: 241 kB / 1.199 GB, free: 10.23 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.8903, allocations: 160.4 kB / 1.199 GB, free: 10.2 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.8904, allocations: 153.4 kB / 1.199 GB, free: 10.19 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.8904, allocations: 0 / 1.199 GB, free: 10.19 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.8904, allocations: 40.7 kB / 1.2 GB, free: 10.14 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.8904, allocations: 0 / 1.2 GB, free: 10.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0005025/0.8909, allocations: 450.1 kB / 1.2 GB, free: 10.11 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.891, allocations: 52.16 kB / 1.2 GB, free: 10.05 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.8911, allocations: 174.2 kB / 1.2 GB, free: 9.934 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.8911, allocations: 25.7 kB / 1.2 GB, free: 9.902 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.213e-05/0.8911, allocations: 80.14 kB / 1.2 GB, free: 9.82 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.8911, allocations: 10.25 kB / 1.2 GB, free: 9.812 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.8912, allocations: 13.16 kB / 1.2 GB, free: 9.797 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.156e-05/0.8912, allocations: 311.4 kB / 1.201 GB, free: 9.484 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.8913, allocations: 140.7 kB / 1.201 GB, free: 9.484 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.8914, allocations: 140.5 kB / 1.201 GB, free: 9.484 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.8917, allocations: 290 kB / 1.201 GB, free: 9.473 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.8917, allocations: 1.156 kB / 1.201 GB, free: 9.473 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002642/0.892, allocations: 313.4 kB / 1.201 GB, free: 9.438 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.892, allocations: 6.125 kB / 1.201 GB, free: 9.438 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.892, allocations: 1.156 kB / 1.201 GB, free: 9.438 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.892, allocations: 4 kB / 1.201 GB, free: 9.434 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.1e-05/0.8921, allocations: 6.766 kB / 1.201 GB, free: 9.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.8921, allocations: 0.7031 kB / 1.201 GB, free: 9.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.256e-05/0.8921, allocations: 5.094 kB / 1.201 GB, free: 9.426 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.8922, allocations: 0 / 1.201 GB, free: 9.426 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 9.207e-05/0.8922, allocations: 168.4 kB / 1.202 GB, free: 9.312 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.8923, allocations: 5.156 kB / 1.202 GB, free: 9.309 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/0.8926, allocations: 320.2 kB / 1.202 GB, free: 9.27 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.8926, allocations: 6.172 kB / 1.202 GB, free: 9.266 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.8926, allocations: 4.031 kB / 1.202 GB, free: 9.262 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.8926, allocations: 0 / 1.202 GB, free: 9.262 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.8928, allocations: 236.3 kB / 1.202 GB, free: 9.141 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.8928, allocations: 1.312 kB / 1.202 GB, free: 9.141 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-06/0.8928, allocations: 0.7031 kB / 1.202 GB, free: 9.141 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.8928, allocations: 3.938 kB / 1.202 GB, free: 9.137 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.8928, allocations: 1.438 kB / 1.202 GB, free: 9.137 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.8928, allocations: 0.6562 kB / 1.202 GB, free: 9.137 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8928, allocations: 11.81 kB / 1.202 GB, free: 9.125 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.893, allocations: 337.9 kB / 1.202 GB, free: 9.059 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-06/0.893, allocations: 9.891 kB / 1.202 GB, free: 9.051 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.512e-05/0.8931, allocations: 3.938 kB / 1.202 GB, free: 9.047 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.39e-05/0.8932, allocations: 1.828 kB / 1.203 GB, free: 9.047 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.8932, allocations: 0.5156 kB / 1.203 GB, free: 9.047 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.8932, allocations: 1.375 kB / 1.203 GB, free: 9.047 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.263e-05/0.8933, allocations: 154.1 kB / 1.203 GB, free: 8.961 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8933, allocations: 0 / 1.203 GB, free: 8.961 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002125/0.8954, allocations: 0.5739 MB / 1.203 GB, free: 8.836 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.002807/0.8982, allocations: 0.9402 MB / 1.204 GB, free: 8.496 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003442/0.8985, allocations: 285.7 kB / 1.204 GB, free: 8.492 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.8985, allocations: 1.406 kB / 1.204 GB, free: 8.492 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.8987, allocations: 167.1 kB / 1.205 GB, free: 8.461 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.899, allocations: 7 kB / 1.205 GB, free: 8.457 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.9002, allocations: 0.9788 MB / 1.206 GB, free: 8.062 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.9004, allocations: 217.3 kB / 1.206 GB, free: 7.973 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.22e-05/0.9005, allocations: 1.375 kB / 1.206 GB, free: 7.973 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.9005, allocations: 17.84 kB / 1.206 GB, free: 7.961 MB / 1.076 GB Notification: Performance of SimCode: time 1.002e-06/0.9005, allocations: 0 / 1.206 GB, free: 7.961 MB / 1.076 GB Notification: Performance of Templates: time 0.02413/0.9246, allocations: 12.55 MB / 1.218 GB, free: 6.156 MB / 1.076 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 -s ida -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: 9.879065098939463]