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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 107.2 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 191.7 kB / 20.03 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.099/3.099, allocations: 489.3 MB / 0.7687 GB, free: 3.789 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.89 kB / 1.103 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228/1.23, allocations: 163.8 MB / 1.263 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002559/1.232, allocations: 1.262 MB / 1.264 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007411/1.24, allocations: 4.484 MB / 1.268 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.134e-05/1.24, allocations: 0.5938 kB / 1.268 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.271e-05/1.24, allocations: 4.641 kB / 1.268 GB, free: 4.324 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeBindings: time 0.006089/1.246, allocations: 1.499 MB / 1.27 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/1.246, allocations: 41.67 kB / 1.27 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.663e-05/1.246, allocations: 7.891 kB / 1.27 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.637e-05/1.246, allocations: 6.578 kB / 1.27 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.719e-05/1.246, allocations: 8.734 kB / 1.27 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.962e-05/1.247, allocations: 19.98 kB / 1.27 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/1.247, allocations: 1.094 kB / 1.27 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005243/1.252, allocations: 2.285 MB / 1.272 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002404/1.252, allocations: 149.9 kB / 1.272 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/1.252, allocations: 6.031 kB / 1.272 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004341/1.256, allocations: 1.735 MB / 1.274 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/1.256, allocations: 0 / 1.274 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/1.257, allocations: 0 / 1.274 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.422e-06/1.257, allocations: 1.281 kB / 1.274 GB, free: 2.539 MB / 0.9981 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.001365/1.258, allocations: 0.6413 MB / 1.274 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/1.258, allocations: 9.875 kB / 1.274 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/1.258, allocations: 4.938 kB / 1.274 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/1.258, allocations: 164.2 kB / 1.275 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/1.258, allocations: 384 / 1.275 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/1.258, allocations: 6.344 kB / 1.275 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/1.258, allocations: 171.2 kB / 1.275 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/1.258, allocations: 3.984 kB / 1.275 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/1.258, allocations: 0 / 1.275 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/1.258, allocations: 1.094 kB / 1.275 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003578/1.259, allocations: 283.2 kB / 1.275 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/1.259, allocations: 290 kB / 1.275 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/1.259, allocations: 156 kB / 1.276 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/1.26, allocations: 149.8 kB / 1.276 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.633e-06/1.26, allocations: 3.938 kB / 1.276 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/1.26, allocations: 32.38 kB / 1.276 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/1.26, allocations: 4 kB / 1.276 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0005679/1.26, allocations: 449.9 kB / 1.276 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/1.26, allocations: 56.2 kB / 1.276 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/1.26, allocations: 164.7 kB / 1.276 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/1.26, allocations: 26.36 kB / 1.276 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.717e-05/1.26, allocations: 81.48 kB / 1.276 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/1.26, allocations: 3.953 kB / 1.276 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/1.26, allocations: 17.14 kB / 1.276 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.867e-05/1.261, allocations: 320.5 kB / 1.277 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/1.261, allocations: 139.6 kB / 1.277 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/1.261, allocations: 144.9 kB / 1.277 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/1.261, allocations: 286.2 kB / 1.277 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.261, allocations: 0 / 1.277 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003551/1.261, allocations: 315 kB / 1.278 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/1.262, allocations: 5.156 kB / 1.278 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.262, allocations: 5.562 kB / 1.278 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/1.262, allocations: 0.7031 kB / 1.278 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.825e-05/1.262, allocations: 1.312 kB / 1.278 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/1.262, allocations: 6.219 kB / 1.278 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.031e-05/1.262, allocations: 4 kB / 1.278 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/1.262, allocations: 1.594 kB / 1.278 GB, free: 0.7383 MB / 0.9981 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.0001232/1.262, allocations: 178.5 kB / 1.278 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/1.262, allocations: 3.938 kB / 1.278 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003768/1.262, allocations: 326.5 kB / 1.278 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/1.262, allocations: 0 / 1.278 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.262, allocations: 0 / 1.278 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.262, allocations: 1.078 kB / 1.278 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/1.263, allocations: 292.2 kB / 1.278 GB, free: 388 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/1.263, allocations: 2.281 kB / 1.278 GB, free: 388 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.413e-06/1.263, allocations: 4 kB / 1.278 GB, free: 384 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/1.263, allocations: 0 / 1.278 GB, free: 384 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/1.263, allocations: 4.375 kB / 1.278 GB, free: 384 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.263, allocations: 0 / 1.278 GB, free: 384 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.263, allocations: 0 / 1.278 GB, free: 384 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/1.263, allocations: 346.6 kB / 1.279 GB, free: 304 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.361e-05/1.263, allocations: 77.77 kB / 1.279 GB, free: 208 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.423e-05/1.263, allocations: 2.906 kB / 1.279 GB, free: 208 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.218e-05/1.263, allocations: 0 / 1.279 GB, free: 208 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/1.263, allocations: 0.7969 kB / 1.279 GB, free: 208 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/1.263, allocations: 0.7188 kB / 1.279 GB, free: 208 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.919e-05/1.263, allocations: 154.3 kB / 1.279 GB, free: 120 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.263, allocations: 0 / 1.279 GB, free: 120 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002523/1.266, allocations: 0.5766 MB / 1.28 GB, free: 15.98 MB / 1.014 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.003138/1.269, allocations: 0.9263 MB / 1.28 GB, free: 15.65 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004166/1.269, allocations: 286.3 kB / 1.281 GB, free: 15.65 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.269, allocations: 0 / 1.281 GB, free: 15.65 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/1.27, allocations: 176.2 kB / 1.281 GB, free: 15.61 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/1.27, allocations: 9.672 kB / 1.281 GB, free: 15.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007877/1.271, allocations: 422.8 kB / 1.281 GB, free: 15.45 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/1.271, allocations: 0.6758 MB / 1.282 GB, free: 14.75 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/1.271, allocations: 12.36 kB / 1.282 GB, free: 14.75 MB / 1.014 GB Notification: Performance of SimCode: time 2.41e-07/1.271, allocations: 0 / 1.282 GB, free: 14.75 MB / 1.014 GB Notification: Performance of Templates: time 0.03099/1.302, allocations: 12.12 MB / 1.294 GB, free: 12.86 MB / 1.014 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_2/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.013683216879144]