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.0008658/0.0008658, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008504/0.0008504, allocations: 177.9 kB / 23.22 MB, free: 1.352 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 0.9179/0.9179, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.828/1.828, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.616e-05, allocations: 2.281 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001567/0.001593, allocations: 0.5586 MB / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.007061/0.008654, allocations: 4.838 MB / 1.006 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.541e-05/0.008679, allocations: 0 / 1.006 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.267e-05/0.008732, allocations: 0 / 1.006 GB, free: 7.527 MB / 0.9636 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.003285/0.01202, allocations: 1.611 MB / 1.008 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.6e-05/0.01208, allocations: 35.91 kB / 1.008 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.641e-05/0.01213, allocations: 7.984 kB / 1.008 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.982e-05/0.01217, allocations: 0 / 1.008 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.152e-05/0.0122, allocations: 4 kB / 1.008 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.297e-05/0.01223, allocations: 7.984 kB / 1.008 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.01225, allocations: 0 / 1.008 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002797/0.01504, allocations: 2.448 MB / 1.01 GB, free: 3.406 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.01515, allocations: 157.2 kB / 1.01 GB, free: 3.25 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.01517, allocations: 0 / 1.01 GB, free: 3.25 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.002533/0.0177, allocations: 2.034 MB / 1.012 GB, free: 1.211 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.0177, allocations: 0 / 1.012 GB, free: 1.211 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.262e-06/0.0177, allocations: 4 kB / 1.012 GB, free: 1.207 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.01771, allocations: 0 / 1.012 GB, free: 1.207 MB / 0.9636 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.0007643/0.01847, allocations: 0.546 MB / 1.013 GB, free: 0.6289 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.01851, allocations: 8.75 kB / 1.013 GB, free: 0.6211 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.01854, allocations: 4.938 kB / 1.013 GB, free: 0.6172 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.118e-05/0.01861, allocations: 109.8 kB / 1.013 GB, free: 496 kB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.01862, allocations: 4.375 kB / 1.013 GB, free: 492 kB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-06/0.01863, allocations: 384 / 1.013 GB, free: 492 kB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.01878, allocations: 170.2 kB / 1.013 GB, free: 316 kB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.01878, allocations: 3.938 kB / 1.013 GB, free: 312 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.01879, allocations: 0 / 1.013 GB, free: 312 kB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.01879, allocations: 0 / 1.013 GB, free: 312 kB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.01894, allocations: 287.8 kB / 1.013 GB, free: 24 kB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.01912, allocations: 237.2 kB / 1.014 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.01922, allocations: 162.5 kB / 1.014 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.748e-05/0.0193, allocations: 144.9 kB / 1.014 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.01931, allocations: 4 kB / 1.014 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.01932, allocations: 30.56 kB / 1.014 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/0.01933, allocations: 3.984 kB / 1.014 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1): time 0.0003115/0.01964, allocations: 461.4 kB / 1.014 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.01967, allocations: 51.41 kB / 1.015 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.994e-05/0.01976, allocations: 169.8 kB / 1.015 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.01977, allocations: 25.95 kB / 1.015 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 1.997e-05/0.01979, allocations: 84.14 kB / 1.015 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.01981, allocations: 3.953 kB / 1.015 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.01983, allocations: 13.72 kB / 1.015 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.25e-05/0.0199, allocations: 314.8 kB / 1.015 GB, free: 14.25 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.062e-05/0.01998, allocations: 139.9 kB / 1.015 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.041e-05/0.02005, allocations: 147.9 kB / 1.015 GB, free: 13.97 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.02019, allocations: 284.8 kB / 1.016 GB, free: 13.69 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.02019, allocations: 0 / 1.016 GB, free: 13.69 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003153/0.02051, allocations: 313.5 kB / 1.016 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.02052, allocations: 16.03 kB / 1.016 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.02053, allocations: 0 / 1.016 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.02054, allocations: 3.938 kB / 1.016 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.165e-05/0.02059, allocations: 3.984 kB / 1.016 GB, free: 13.35 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.02059, allocations: 0 / 1.016 GB, free: 13.35 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.326e-06/0.0206, allocations: 4 kB / 1.016 GB, free: 13.35 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.02061, allocations: 3.984 kB / 1.016 GB, free: 13.34 MB / 0.9792 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 8.14e-05/0.02069, allocations: 165.8 kB / 1.016 GB, free: 13.17 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-06/0.0207, allocations: 0 / 1.016 GB, free: 13.17 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.0209, allocations: 328.5 kB / 1.016 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.02091, allocations: 7.969 kB / 1.016 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.02091, allocations: 0 / 1.016 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.02091, allocations: 0 / 1.016 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.02103, allocations: 233.3 kB / 1.017 GB, free: 12.58 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.02103, allocations: 4 kB / 1.017 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.02103, allocations: 0 / 1.017 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.02103, allocations: 0 / 1.017 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.02104, allocations: 4 kB / 1.017 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.02104, allocations: 0 / 1.017 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.02104, allocations: 3.938 kB / 1.017 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.02121, allocations: 341 kB / 1.017 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-06/0.02122, allocations: 4 kB / 1.017 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.196e-06/0.02122, allocations: 0 / 1.017 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.831e-06/0.02123, allocations: 0 / 1.017 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.02124, allocations: 7.922 kB / 1.017 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.02125, allocations: 0 / 1.017 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 5.56e-05/0.0213, allocations: 159.2 kB / 1.017 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.0213, allocations: 0 / 1.017 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0007537/0.02206, allocations: 0.5414 MB / 1.018 GB, free: 11.5 MB / 0.9792 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.001551/0.02361, allocations: 1.036 MB / 1.019 GB, free: 10.57 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.02381, allocations: 279.9 kB / 1.019 GB, free: 10.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.02381, allocations: 7.938 kB / 1.019 GB, free: 10.29 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 9.021e-05/0.0239, allocations: 165.6 kB / 1.019 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001084/0.02401, allocations: 7.984 kB / 1.019 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003899/0.0244, allocations: 418 kB / 1.02 GB, free: 9.68 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.26e-05/0.02443, allocations: 51.36 kB / 1.02 GB, free: 9.609 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.02446, allocations: 16.62 kB / 1.02 GB, free: 9.594 MB / 0.9792 GB Notification: Performance of SimCode: time 5.01e-07/0.02446, allocations: 0 / 1.02 GB, free: 9.594 MB / 0.9792 GB Notification: Performance of Templates: time 0.01152/0.03597, allocations: 12.37 MB / 1.032 GB, free: 13.22 MB / 0.9948 GB " [Timeout remaining time 300] 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/jenkins/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: 11.139286522753537]