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.001256/0.001256, allocations: 88.7 kB / 20.2 MB, free: 4.23 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.001194/0.001194, allocations: 161.3 kB / 23.51 MB, free: 0.9219 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.9427/0.9427, allocations: 177.2 MB / 203.9 MB, free: 5.617 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.984/1.984, allocations: 428.5 MB / 0.6727 GB, free: 4.906 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.8771 GB, free: 7.852 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.949e-05/4.174e-05, allocations: 5.891 kB / 0.8771 GB, free: 7.848 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002481/0.002523, allocations: 0.5697 MB / 0.8777 GB, free: 7.305 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006763/0.009286, allocations: 4.847 MB / 0.8824 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.009331, allocations: 0.7812 kB / 0.8824 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.979e-05/0.009411, allocations: 0 / 0.8824 GB, free: 2.449 MB / 0.8386 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.004114/0.01352, allocations: 1.607 MB / 0.884 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.877e-05/0.01361, allocations: 39.88 kB / 0.884 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.067e-05/0.01368, allocations: 8 kB / 0.884 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.325e-05/0.01374, allocations: 4 kB / 0.884 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.357e-05/0.01378, allocations: 4 kB / 0.884 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.469e-05/0.01383, allocations: 7.984 kB / 0.884 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.01384, allocations: 0 / 0.884 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003421/0.01726, allocations: 2.456 MB / 0.8864 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.01737, allocations: 145.2 kB / 0.8866 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.0174, allocations: 3.984 kB / 0.8866 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003561/0.02096, allocations: 2.042 MB / 0.8886 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.02097, allocations: 0 / 0.8886 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.334e-06/0.02097, allocations: 0 / 0.8886 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.02098, allocations: 3.984 kB / 0.8886 GB, free: 12.12 MB / 0.8542 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.0008889/0.02186, allocations: 0.5422 MB / 0.8891 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.0219, allocations: 8.031 kB / 0.8891 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.02193, allocations: 4.875 kB / 0.8891 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.276e-05/0.02201, allocations: 113.7 kB / 0.8892 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.02202, allocations: 384 / 0.8892 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.02202, allocations: 4.375 kB / 0.8892 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.02217, allocations: 174.1 kB / 0.8894 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.02217, allocations: 3.938 kB / 0.8894 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.02218, allocations: 0 / 0.8894 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.02219, allocations: 0 / 0.8894 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.02234, allocations: 279.9 kB / 0.8897 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.02251, allocations: 245.2 kB / 0.8899 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.02261, allocations: 158.5 kB / 0.89 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.431e-05/0.0227, allocations: 144.9 kB / 0.8902 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/0.0227, allocations: 4 kB / 0.8902 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.02272, allocations: 38.5 kB / 0.8902 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.02272, allocations: 0 / 0.8902 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0003202/0.02304, allocations: 457.5 kB / 0.8907 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.02307, allocations: 51.41 kB / 0.8907 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.131e-05/0.02316, allocations: 165.8 kB / 0.8909 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.02317, allocations: 25.7 kB / 0.8909 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.271e-05/0.02319, allocations: 88.12 kB / 0.891 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.02322, allocations: 0 / 0.891 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.02324, allocations: 13.72 kB / 0.891 GB, free: 9.484 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.255e-05/0.02332, allocations: 315.1 kB / 0.8913 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.8e-05/0.0234, allocations: 139.9 kB / 0.8914 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.839e-05/0.02348, allocations: 143.9 kB / 0.8916 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.02364, allocations: 288.7 kB / 0.8918 GB, free: 8.605 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.02364, allocations: 0 / 0.8918 GB, free: 8.605 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002204/0.02386, allocations: 313.6 kB / 0.8921 GB, free: 8.293 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.02388, allocations: 8 kB / 0.8921 GB, free: 8.285 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.02388, allocations: 0 / 0.8921 GB, free: 8.285 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.0239, allocations: 3.938 kB / 0.8921 GB, free: 8.281 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.02396, allocations: 4.094 kB / 0.8922 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.02397, allocations: 0 / 0.8922 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.388e-06/0.02398, allocations: 4 kB / 0.8922 GB, free: 8.273 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.02399, allocations: 0 / 0.8922 GB, free: 8.273 MB / 0.8542 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.094e-05/0.02408, allocations: 165.8 kB / 0.8923 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.717e-06/0.02409, allocations: 11.88 kB / 0.8923 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.02432, allocations: 320.6 kB / 0.8926 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.02432, allocations: 3.938 kB / 0.8926 GB, free: 7.766 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.02432, allocations: 4 kB / 0.8926 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.02433, allocations: 0 / 0.8926 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.02446, allocations: 241.3 kB / 0.8929 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.02446, allocations: 0 / 0.8929 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.02446, allocations: 0 / 0.8929 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.02447, allocations: 3.984 kB / 0.8929 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.02447, allocations: 0 / 0.8929 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.02447, allocations: 0 / 0.8929 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.02448, allocations: 3.938 kB / 0.8929 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.02467, allocations: 348.9 kB / 0.8932 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-06/0.02467, allocations: 0 / 0.8932 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-06/0.02468, allocations: 0 / 0.8932 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-06/0.02469, allocations: 0 / 0.8932 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.02471, allocations: 7.969 kB / 0.8932 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.02471, allocations: 4 kB / 0.8932 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.78e-05/0.02477, allocations: 147.2 kB / 0.8934 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.02477, allocations: 0 / 0.8934 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001159/0.02593, allocations: 0.5453 MB / 0.8939 GB, free: 6.426 MB / 0.8542 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.001681/0.02761, allocations: 1.028 MB / 0.8949 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004803/0.02809, allocations: 295.9 kB / 0.8952 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.02809, allocations: 0 / 0.8952 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.273e-05/0.02818, allocations: 169.6 kB / 0.8953 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.0283, allocations: 4.703 kB / 0.8953 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000883/0.02918, allocations: 0.9571 MB / 0.8963 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.02932, allocations: 213.1 kB / 0.8965 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.566e-05/0.02935, allocations: 8 kB / 0.8965 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.02938, allocations: 12.5 kB / 0.8965 GB, free: 3.801 MB / 0.8542 GB Notification: Performance of SimCode: time 1.313e-06/0.02938, allocations: 0 / 0.8965 GB, free: 3.801 MB / 0.8542 GB Notification: Performance of Templates: time 0.01525/0.04463, allocations: 12.67 MB / 0.9089 GB, free: 7.152 MB / 0.8698 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 -s cvode -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: 5.871822075918317]