Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001296/0.001296, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001543/0.001543, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9296/0.9296, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.868/1.868, allocations: 377.9 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.706e-05, allocations: 10.69 kB / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001217/0.001245, allocations: 0.577 MB / 0.8122 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005949/0.007194, allocations: 5.075 MB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.007224, allocations: 3.938 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.843e-05/0.007292, allocations: 1.281 kB / 0.8171 GB, free: 12.02 MB / 0.7761 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.003374/0.01067, allocations: 1.622 MB / 0.8187 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 6.783e-05/0.01073, allocations: 31.89 kB / 0.8187 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.596e-05/0.01079, allocations: 4.531 kB / 0.8187 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.01083, allocations: 8.656 kB / 0.8188 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.114e-05/0.01086, allocations: 11.98 kB / 0.8188 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.721e-05/0.0109, allocations: 8.797 kB / 0.8188 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.01091, allocations: 0 / 0.8188 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003225/0.01413, allocations: 2.462 MB / 0.8212 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.01425, allocations: 153.2 kB / 0.8213 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.01427, allocations: 0 / 0.8213 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002984/0.01725, allocations: 2.055 MB / 0.8233 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.01726, allocations: 10.25 kB / 0.8233 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.463e-06/0.01726, allocations: 0 / 0.8233 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.01727, allocations: 0 / 0.8233 GB, free: 5.66 MB / 0.7761 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.0008369/0.0181, allocations: 0.6456 MB / 0.824 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.01814, allocations: 8.031 kB / 0.824 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.01818, allocations: 0.9375 kB / 0.824 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.508e-05/0.01827, allocations: 120 kB / 0.8241 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.01828, allocations: 384 / 0.8241 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.01829, allocations: 384 / 0.8241 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.01844, allocations: 150.2 kB / 0.8242 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.01845, allocations: 3.938 kB / 0.8242 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.01846, allocations: 0 / 0.8242 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.01846, allocations: 0 / 0.8242 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.0186, allocations: 247.8 kB / 0.8245 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.01876, allocations: 229.3 kB / 0.8247 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.538e-05/0.01886, allocations: 151 kB / 0.8248 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.466e-05/0.01893, allocations: 132.7 kB / 0.825 GB, free: 3.879 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.01894, allocations: 0 / 0.825 GB, free: 3.879 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.01896, allocations: 33.39 kB / 0.825 GB, free: 3.836 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.01896, allocations: 1 kB / 0.825 GB, free: 3.836 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0002987/0.01926, allocations: 401.9 kB / 0.8254 GB, free: 3.438 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.01929, allocations: 55.41 kB / 0.8254 GB, free: 3.371 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.358e-05/0.01936, allocations: 154.9 kB / 0.8256 GB, free: 3.203 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.01937, allocations: 25.7 kB / 0.8256 GB, free: 3.172 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.0194, allocations: 132.3 kB / 0.8257 GB, free: 3.039 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.01943, allocations: 8.297 kB / 0.8257 GB, free: 3.031 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.01946, allocations: 15.38 kB / 0.8258 GB, free: 3.008 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.01956, allocations: 492.1 kB / 0.8262 GB, free: 2.516 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.664e-05/0.01963, allocations: 124.5 kB / 0.8263 GB, free: 2.395 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.555e-05/0.0197, allocations: 120.7 kB / 0.8265 GB, free: 2.277 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.01984, allocations: 260.7 kB / 0.8267 GB, free: 2.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01984, allocations: 0 / 0.8267 GB, free: 2.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001649/0.02001, allocations: 278.2 kB / 0.827 GB, free: 1.742 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.02002, allocations: 4 kB / 0.827 GB, free: 1.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.02003, allocations: 1.312 kB / 0.827 GB, free: 1.738 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.02005, allocations: 3.938 kB / 0.827 GB, free: 1.734 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.322e-05/0.02011, allocations: 4 kB / 0.827 GB, free: 1.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.02011, allocations: 0 / 0.827 GB, free: 1.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.796e-06/0.02012, allocations: 3.844 kB / 0.827 GB, free: 1.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.02013, allocations: 3.984 kB / 0.827 GB, free: 1.727 MB / 0.7761 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.896e-05/0.02019, allocations: 156.6 kB / 0.8271 GB, free: 1.562 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-06/0.0202, allocations: 0 / 0.8271 GB, free: 1.562 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.02041, allocations: 284.5 kB / 0.8274 GB, free: 1.281 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.02042, allocations: 3.938 kB / 0.8274 GB, free: 1.277 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.02042, allocations: 0 / 0.8274 GB, free: 1.277 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.02042, allocations: 0 / 0.8274 GB, free: 1.277 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.02054, allocations: 228.6 kB / 0.8276 GB, free: 1.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.02054, allocations: 0.9375 kB / 0.8276 GB, free: 1.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-07/0.02054, allocations: 0 / 0.8276 GB, free: 1.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.02054, allocations: 8.969 kB / 0.8276 GB, free: 1.012 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-06/0.02055, allocations: 0 / 0.8276 GB, free: 1.012 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.02055, allocations: 0 / 0.8276 GB, free: 1.012 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.02056, allocations: 9.047 kB / 0.8277 GB, free: 1.004 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.02086, allocations: 308.3 kB / 0.8279 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-06/0.02087, allocations: 4 kB / 0.8279 GB, free: 0.6758 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.02088, allocations: 3.469 kB / 0.828 GB, free: 0.6758 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-06/0.02088, allocations: 0 / 0.828 GB, free: 0.6758 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.0209, allocations: 11.86 kB / 0.828 GB, free: 0.6641 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.0209, allocations: 0 / 0.828 GB, free: 0.6641 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.002e-05/0.02093, allocations: 123.2 kB / 0.8281 GB, free: 0.543 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.02093, allocations: 0 / 0.8281 GB, free: 0.543 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0009833/0.02192, allocations: 0.5492 MB / 0.8286 GB, free: 15.99 MB / 0.7917 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.001808/0.02372, allocations: 1.043 MB / 0.8296 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.02393, allocations: 251.6 kB / 0.8299 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.02393, allocations: 0 / 0.8299 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 8.767e-05/0.02402, allocations: 153.3 kB / 0.83 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001104/0.02413, allocations: 11.98 kB / 0.83 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007167/0.02485, allocations: 0.8221 MB / 0.8308 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.899e-05/0.02492, allocations: 119.1 kB / 0.831 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 1.929e-05/0.02494, allocations: 7.938 kB / 0.831 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.02496, allocations: 12.5 kB / 0.831 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of SimCode: time 1.082e-06/0.02496, allocations: 0 / 0.831 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of Templates: time 0.01501/0.03998, allocations: 12.66 MB / 0.8433 GB, free: 0.9688 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.65812180377543]