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.001056/0.001056, allocations: 89.06 kB / 19.65 MB, free: 272 kB / 13.93 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.00108/0.00108, allocations: 177 kB / 23.02 MB, free: 1.539 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.8598/0.8598, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.972/1.972, allocations: 429.5 MB / 0.6733 GB, free: 4.016 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 1.744e-06/1.744e-06, allocations: 0 / 0.8782 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.77e-05, allocations: 5.5 kB / 0.8782 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.004391/0.004418, allocations: 0.5848 MB / 0.8788 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01224/0.01666, allocations: 5.074 MB / 0.8838 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.01669, allocations: 0 / 0.8838 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.205e-05/0.01675, allocations: 4 kB / 0.8838 GB, free: 0.582 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.006334/0.02308, allocations: 1.614 MB / 0.8853 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 6.418e-05/0.02315, allocations: 43.89 kB / 0.8854 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.558e-05/0.0232, allocations: 4 kB / 0.8854 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.397e-05/0.02324, allocations: 0 / 0.8854 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.976e-05/0.02327, allocations: 7.984 kB / 0.8854 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.543e-05/0.0233, allocations: 4 kB / 0.8854 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.02331, allocations: 0 / 0.8854 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005962/0.02928, allocations: 2.52 MB / 0.8879 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.02939, allocations: 149.2 kB / 0.888 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.02942, allocations: 4 kB / 0.888 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.005189/0.0346, allocations: 2.057 MB / 0.89 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.03461, allocations: 4 kB / 0.89 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.92e-07/0.03461, allocations: 0 / 0.89 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.03462, allocations: 4 kB / 0.89 GB, free: 10.18 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.0006599/0.03528, allocations: 0.6459 MB / 0.8907 GB, free: 9.496 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.03531, allocations: 12.03 kB / 0.8907 GB, free: 9.484 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.03535, allocations: 8.891 kB / 0.8907 GB, free: 9.477 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.923e-05/0.03543, allocations: 108.6 kB / 0.8908 GB, free: 9.344 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.03544, allocations: 4.375 kB / 0.8908 GB, free: 9.34 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.03545, allocations: 384 / 0.8908 GB, free: 9.34 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.03561, allocations: 150.2 kB / 0.8909 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.03562, allocations: 3.938 kB / 0.8909 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.03562, allocations: 0 / 0.8909 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.03563, allocations: 4 kB / 0.8909 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.03579, allocations: 243.9 kB / 0.8912 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.03597, allocations: 232.6 kB / 0.8914 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.03608, allocations: 151 kB / 0.8915 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.401e-05/0.03617, allocations: 127.7 kB / 0.8917 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.54e-06/0.03617, allocations: 0 / 0.8917 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.0362, allocations: 41.38 kB / 0.8917 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.0362, allocations: 0 / 0.8917 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0003203/0.03652, allocations: 393.5 kB / 0.8921 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.03654, allocations: 51.41 kB / 0.8921 GB, free: 7.887 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.03661, allocations: 162.1 kB / 0.8923 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.976e-06/0.03662, allocations: 25.7 kB / 0.8923 GB, free: 7.68 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.895e-05/0.03665, allocations: 130.8 kB / 0.8924 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.03667, allocations: 0 / 0.8924 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.03669, allocations: 19.36 kB / 0.8924 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.0368, allocations: 496.1 kB / 0.8929 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.99e-05/0.03688, allocations: 119.9 kB / 0.893 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.516e-05/0.03696, allocations: 120 kB / 0.8931 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003183/0.04014, allocations: 255.6 kB / 0.8934 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.04014, allocations: 4.188 kB / 0.8934 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001975/0.04034, allocations: 269.6 kB / 0.8936 GB, free: 6.262 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.04035, allocations: 7.984 kB / 0.8937 GB, free: 6.254 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.04036, allocations: 4 kB / 0.8937 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.04037, allocations: 3.938 kB / 0.8937 GB, free: 6.246 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.462e-05/0.04043, allocations: 3.938 kB / 0.8937 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.04043, allocations: 0 / 0.8937 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.308e-06/0.04044, allocations: 0 / 0.8937 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.04045, allocations: 7.938 kB / 0.8937 GB, free: 6.234 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 6.272e-05/0.04051, allocations: 152.6 kB / 0.8938 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-06/0.04052, allocations: 4.031 kB / 0.8938 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.04075, allocations: 284.5 kB / 0.8941 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.04076, allocations: 3.938 kB / 0.8941 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.04076, allocations: 8 kB / 0.8941 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.04076, allocations: 0 / 0.8941 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.04089, allocations: 224.6 kB / 0.8943 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.0409, allocations: 4 kB / 0.8943 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.973e-06/0.0409, allocations: 3.984 kB / 0.8943 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.0409, allocations: 0 / 0.8943 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.04091, allocations: 0 / 0.8943 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.04091, allocations: 4.031 kB / 0.8943 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.04091, allocations: 3.938 kB / 0.8943 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.04112, allocations: 316.3 kB / 0.8946 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-06/0.04112, allocations: 0 / 0.8946 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-06/0.04113, allocations: 0 / 0.8946 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-06/0.04114, allocations: 0 / 0.8946 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.04115, allocations: 7.938 kB / 0.8946 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.04115, allocations: 0 / 0.8946 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.217e-05/0.04118, allocations: 119.2 kB / 0.8948 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.04118, allocations: 0 / 0.8948 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000806/0.04199, allocations: 0.557 MB / 0.8953 GB, free: 4.484 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.004882/0.04687, allocations: 1.038 MB / 0.8963 GB, free: 3.551 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.04709, allocations: 255.5 kB / 0.8966 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.04709, allocations: 4 kB / 0.8966 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.0472, allocations: 157.3 kB / 0.8967 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.04732, allocations: 5.297 kB / 0.8967 GB, free: 3.125 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007951/0.04812, allocations: 0.8259 MB / 0.8975 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.467e-05/0.04819, allocations: 111.2 kB / 0.8976 GB, free: 2.133 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.723e-05/0.04821, allocations: 4 kB / 0.8976 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.04823, allocations: 16.48 kB / 0.8976 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of SimCode: time 1.002e-06/0.04823, allocations: 0 / 0.8976 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of Templates: time 0.02034/0.06857, allocations: 14.45 MB / 0.9118 GB, free: 3.684 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 240] 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","",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.703130989801139]