Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002035/0.002035, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.002502/0.002502, allocations: 160.5 kB / 22.46 MB, free: 5.375 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.551/1.551, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.78/2.78, allocations: 359 MB / 0.6037 GB, free: 14.94 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.951 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.205e-05/3.405e-05, allocations: 2.281 kB / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001727/0.001761, allocations: 0.5668 MB / 0.9516 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008828/0.01059, allocations: 4.841 MB / 0.9563 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.58e-05/0.01062, allocations: 0 / 0.9563 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.45e-05/0.01068, allocations: 0 / 0.9563 GB, free: 6.066 MB / 0.8575 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.005034/0.01571, allocations: 1.588 MB / 0.9579 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001058/0.01582, allocations: 35.91 kB / 0.9579 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.659e-05/0.01588, allocations: 8 kB / 0.9579 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.01592, allocations: 3.938 kB / 0.9579 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.026e-05/0.01596, allocations: 7.984 kB / 0.9579 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.637e-05/0.016, allocations: 7.984 kB / 0.9579 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.01602, allocations: 3.938 kB / 0.9579 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004478/0.02049, allocations: 2.421 MB / 0.9603 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.02067, allocations: 153.2 kB / 0.9604 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/0.0207, allocations: 4 kB / 0.9604 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004274/0.02498, allocations: 2.023 MB / 0.9624 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.02498, allocations: 4 kB / 0.9624 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.793e-06/0.02499, allocations: 3.938 kB / 0.9624 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.02499, allocations: 4 kB / 0.9624 GB, free: 15.79 MB / 0.8731 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.001232/0.02622, allocations: 0.546 MB / 0.963 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.02627, allocations: 8.031 kB / 0.963 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.02631, allocations: 4.891 kB / 0.963 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.02647, allocations: 105.8 kB / 0.9631 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.02649, allocations: 8.312 kB / 0.9631 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.0265, allocations: 384 / 0.9631 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.02677, allocations: 170.2 kB / 0.9632 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.02679, allocations: 3.938 kB / 0.9632 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.0268, allocations: 0 / 0.9632 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.02681, allocations: 0 / 0.9632 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.02708, allocations: 283.9 kB / 0.9635 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.02742, allocations: 241.2 kB / 0.9637 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.02761, allocations: 158.5 kB / 0.9639 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.02775, allocations: 144.8 kB / 0.964 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.02776, allocations: 4 kB / 0.964 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.0278, allocations: 38.55 kB / 0.9641 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.0278, allocations: 3.938 kB / 0.9641 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1): time 0.0005529/0.02835, allocations: 453.5 kB / 0.9645 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.02841, allocations: 51.41 kB / 0.9646 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.02856, allocations: 169.8 kB / 0.9647 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.02858, allocations: 25.7 kB / 0.9647 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.02862, allocations: 80.14 kB / 0.9648 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.02865, allocations: 0 / 0.9648 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.02869, allocations: 21.97 kB / 0.9648 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.02884, allocations: 314.8 kB / 0.9651 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.02897, allocations: 139.9 kB / 0.9653 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.0291, allocations: 143.9 kB / 0.9654 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.02939, allocations: 288.7 kB / 0.9657 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.02939, allocations: 4 kB / 0.9657 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003317/0.02973, allocations: 305.6 kB / 0.966 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.02974, allocations: 8 kB / 0.966 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.02975, allocations: 0 / 0.966 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.02977, allocations: 8.031 kB / 0.966 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.761e-05/0.02984, allocations: 3.984 kB / 0.966 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.02984, allocations: 0 / 0.966 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.212e-05/0.02985, allocations: 0 / 0.966 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.02986, allocations: 7.938 kB / 0.966 GB, free: 11.94 MB / 0.8731 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.0001498/0.03001, allocations: 169.8 kB / 0.9662 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.03003, allocations: 0 / 0.9662 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/0.03039, allocations: 320.5 kB / 0.9665 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.03041, allocations: 11.88 kB / 0.9665 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.03041, allocations: 0 / 0.9665 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.03042, allocations: 4.031 kB / 0.9665 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.03065, allocations: 237.3 kB / 0.9667 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.066e-06/0.03066, allocations: 4 kB / 0.9667 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.03066, allocations: 0 / 0.9667 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.03067, allocations: 0 / 0.9667 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.03067, allocations: 0 / 0.9667 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.03067, allocations: 0 / 0.9667 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.03068, allocations: 3.938 kB / 0.9667 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003576/0.03103, allocations: 337 kB / 0.9671 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-06/0.03104, allocations: 7.984 kB / 0.9671 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.03106, allocations: 3.938 kB / 0.9671 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-06/0.03106, allocations: 4.031 kB / 0.9671 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.03108, allocations: 7.922 kB / 0.9671 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.03109, allocations: 0 / 0.9671 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000117/0.0312, allocations: 155.2 kB / 0.9672 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7e-08/0.0312, allocations: 0 / 0.9672 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001747/0.03295, allocations: 0.5453 MB / 0.9678 GB, free: 10.09 MB / 0.8731 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.003387/0.03634, allocations: 1.038 MB / 0.9688 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003417/0.03668, allocations: 283.9 kB / 0.969 GB, free: 8.875 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.03668, allocations: 0 / 0.969 GB, free: 8.875 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.03683, allocations: 169.6 kB / 0.9692 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.037, allocations: 8 kB / 0.9692 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.03831, allocations: 0.9363 MB / 0.9701 GB, free: 7.734 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.03857, allocations: 217.1 kB / 0.9703 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.435e-05/0.03859, allocations: 4 kB / 0.9703 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.432e-05/0.03863, allocations: 12.5 kB / 0.9703 GB, free: 7.488 MB / 0.8731 GB Notification: Performance of SimCode: time 9.42e-07/0.03863, allocations: 0 / 0.9703 GB, free: 7.488 MB / 0.8731 GB Notification: Performance of Templates: time 0.02507/0.0637, allocations: 12.56 MB / 0.9826 GB, free: 10.95 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.339733138680458]