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.001026/0.001026, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001237/0.001237, allocations: 173 kB / 23.49 MB, free: 1.055 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.9522/0.9522, allocations: 177.1 MB / 203.8 MB, free: 5.605 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 2.057/2.057, allocations: 429.5 MB / 0.6736 GB, free: 4.008 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.433e-06/1.433e-06, allocations: 0 / 0.8782 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.417e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001183/0.001207, allocations: 0.5848 MB / 0.8788 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005251/0.006457, allocations: 5.048 MB / 0.8837 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.006487, allocations: 3.938 kB / 0.8838 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.468e-05/0.006541, allocations: 11.92 kB / 0.8838 GB, free: 0.9414 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.002826/0.009368, allocations: 1.597 MB / 0.8853 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 6.041e-05/0.009428, allocations: 35.84 kB / 0.8854 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.806e-05/0.009476, allocations: 7.984 kB / 0.8854 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.403e-05/0.00951, allocations: 7.984 kB / 0.8854 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.751e-05/0.009538, allocations: 4 kB / 0.8854 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.435e-05/0.009572, allocations: 7.938 kB / 0.8854 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.009583, allocations: 0 / 0.8854 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002882/0.01246, allocations: 2.448 MB / 0.8878 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.01257, allocations: 149.2 kB / 0.8879 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.01259, allocations: 4 kB / 0.8879 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.01471, allocations: 2.049 MB / 0.8899 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.01471, allocations: 0 / 0.8899 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.453e-06/0.01471, allocations: 4 kB / 0.8899 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.01472, allocations: 4 kB / 0.8899 GB, free: 10.61 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.000588/0.0153, allocations: 0.6498 MB / 0.8906 GB, free: 9.926 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.01534, allocations: 8.031 kB / 0.8906 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.01538, allocations: 4.891 kB / 0.8906 GB, free: 9.914 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.596e-05/0.01546, allocations: 108.6 kB / 0.8907 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.01547, allocations: 384 / 0.8907 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.01548, allocations: 384 / 0.8907 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.01562, allocations: 150.2 kB / 0.8908 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.01563, allocations: 7.875 kB / 0.8908 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.01564, allocations: 0 / 0.8908 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.01565, allocations: 4 kB / 0.8908 GB, free: 9.617 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.01578, allocations: 247.9 kB / 0.8911 GB, free: 9.375 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.01594, allocations: 228.6 kB / 0.8913 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.609e-05/0.01603, allocations: 147 kB / 0.8914 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.917e-05/0.01611, allocations: 127.7 kB / 0.8916 GB, free: 8.832 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.01612, allocations: 0 / 0.8916 GB, free: 8.832 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.01614, allocations: 37.38 kB / 0.8916 GB, free: 8.785 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.01614, allocations: 0 / 0.8916 GB, free: 8.785 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0002933/0.01643, allocations: 401.4 kB / 0.892 GB, free: 8.387 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.01646, allocations: 51.53 kB / 0.892 GB, free: 8.324 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.672e-05/0.01653, allocations: 157.9 kB / 0.8922 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.01653, allocations: 25.7 kB / 0.8922 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.5e-05/0.01656, allocations: 126.9 kB / 0.8923 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.01658, allocations: 0 / 0.8923 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.01661, allocations: 23.36 kB / 0.8923 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.01671, allocations: 496.1 kB / 0.8928 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.861e-05/0.01678, allocations: 123.9 kB / 0.8929 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.246e-05/0.01684, allocations: 119.9 kB / 0.893 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.01698, allocations: 259.7 kB / 0.8933 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01698, allocations: 8 kB / 0.8933 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001577/0.01714, allocations: 269.6 kB / 0.8936 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.01716, allocations: 7.984 kB / 0.8936 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.01716, allocations: 0 / 0.8936 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.01717, allocations: 3.938 kB / 0.8936 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.491e-05/0.01723, allocations: 4 kB / 0.8936 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.01723, allocations: 0 / 0.8936 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.185e-06/0.01724, allocations: 0 / 0.8936 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.01725, allocations: 0 / 0.8936 GB, free: 6.676 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 5.68e-05/0.01731, allocations: 156.6 kB / 0.8937 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-06/0.01731, allocations: 8 kB / 0.8937 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.01753, allocations: 288.5 kB / 0.894 GB, free: 6.211 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.01753, allocations: 3.938 kB / 0.894 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.01753, allocations: 0 / 0.894 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01754, allocations: 0 / 0.894 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.01766, allocations: 232.6 kB / 0.8942 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.01767, allocations: 0 / 0.8942 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-07/0.01767, allocations: 0 / 0.8942 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.01767, allocations: 0 / 0.8942 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.01768, allocations: 7.984 kB / 0.8942 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01768, allocations: 4.031 kB / 0.8942 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.01768, allocations: 3.938 kB / 0.8942 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.01786, allocations: 308.3 kB / 0.8945 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-06/0.01787, allocations: 4 kB / 0.8945 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-06/0.01788, allocations: 0 / 0.8945 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.77e-06/0.01788, allocations: 0 / 0.8945 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.0179, allocations: 3.938 kB / 0.8945 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.0179, allocations: 0 / 0.8945 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.366e-05/0.01793, allocations: 123.2 kB / 0.8947 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01793, allocations: 0 / 0.8947 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008555/0.01879, allocations: 0.5531 MB / 0.8952 GB, free: 4.922 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.001692/0.02048, allocations: 1.036 MB / 0.8962 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.02068, allocations: 255.6 kB / 0.8965 GB, free: 3.734 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.02068, allocations: 0 / 0.8965 GB, free: 3.734 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.102e-05/0.02077, allocations: 157.3 kB / 0.8966 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.02092, allocations: 1.172 kB / 0.8966 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009816/0.0219, allocations: 0.8298 MB / 0.8974 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.565e-05/0.02199, allocations: 115.2 kB / 0.8975 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.618e-05/0.022, allocations: 0 / 0.8975 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.02203, allocations: 20.42 kB / 0.8975 GB, free: 2.551 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.02203, allocations: 0 / 0.8975 GB, free: 2.551 MB / 0.8542 GB Notification: Performance of Templates: time 0.01767/0.03969, allocations: 12.62 MB / 0.9099 GB, free: 5.953 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.745723214931786]