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.00089/0.00089, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009353/0.0009353, allocations: 163 kB / 24.86 MB, free: 9.289 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.9357/0.9357, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.817/1.817, allocations: 377.9 MB / 0.6247 GB, free: 8.438 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.273e-06/1.273e-06, allocations: 0.9844 kB / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.189e-05, allocations: 4.844 kB / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001216/0.001238, allocations: 0.5976 MB / 0.8134 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005314/0.006551, allocations: 4.98 MB / 0.8183 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.671e-05/0.006578, allocations: 1.375 kB / 0.8183 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.22e-05/0.00663, allocations: 0 / 0.8183 GB, free: 11.84 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.003926/0.01056, allocations: 1.646 MB / 0.8199 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 7.644e-05/0.01063, allocations: 35.89 kB / 0.8199 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 4.798e-05/0.01068, allocations: 8 kB / 0.8199 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.01072, allocations: 3.984 kB / 0.8199 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.077e-05/0.01075, allocations: 7.938 kB / 0.8199 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.725e-05/0.01079, allocations: 4.5 kB / 0.8199 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.0108, allocations: 0.5312 kB / 0.8199 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003616/0.01441, allocations: 2.481 MB / 0.8224 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.01455, allocations: 153.2 kB / 0.8225 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.701e-05/0.01457, allocations: 1.969 kB / 0.8225 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002828/0.0174, allocations: 2.026 MB / 0.8245 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.0174, allocations: 0 / 0.8245 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.143e-06/0.0174, allocations: 0.9375 kB / 0.8245 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.01741, allocations: 3.938 kB / 0.8245 GB, free: 5.496 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.0007017/0.01811, allocations: 0.6506 MB / 0.8251 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.01814, allocations: 8.031 kB / 0.8251 GB, free: 4.801 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.01817, allocations: 4.938 kB / 0.8251 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.839e-05/0.01825, allocations: 105.8 kB / 0.8252 GB, free: 4.668 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.01826, allocations: 4.359 kB / 0.8252 GB, free: 4.664 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.01827, allocations: 8.359 kB / 0.8253 GB, free: 4.656 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.01838, allocations: 91.23 kB / 0.8253 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.01839, allocations: 3.938 kB / 0.8253 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-06/0.01839, allocations: 0.8438 kB / 0.8253 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.0184, allocations: 0 / 0.8253 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.73e-05/0.01848, allocations: 125.3 kB / 0.8255 GB, free: 4.438 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.01865, allocations: 213.2 kB / 0.8257 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.61e-05/0.01873, allocations: 87.02 kB / 0.8258 GB, free: 4.105 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.074e-05/0.01878, allocations: 71.72 kB / 0.8258 GB, free: 4.031 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-06/0.01879, allocations: 1.812 kB / 0.8258 GB, free: 4.031 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.01881, allocations: 45.31 kB / 0.8259 GB, free: 3.977 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.01881, allocations: 0 / 0.8259 GB, free: 3.977 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0002171/0.01903, allocations: 205.6 kB / 0.8261 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.01906, allocations: 64.67 kB / 0.8261 GB, free: 3.695 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.52e-05/0.01913, allocations: 149.9 kB / 0.8263 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.01914, allocations: 26.42 kB / 0.8263 GB, free: 3.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.01917, allocations: 126.9 kB / 0.8264 GB, free: 3.371 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.01919, allocations: 4.953 kB / 0.8264 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.01922, allocations: 19.38 kB / 0.8264 GB, free: 3.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.01934, allocations: 498.5 kB / 0.8269 GB, free: 2.844 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.263e-05/0.01939, allocations: 63.97 kB / 0.827 GB, free: 2.781 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.568e-05/0.01944, allocations: 63.91 kB / 0.827 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.01954, allocations: 135.6 kB / 0.8272 GB, free: 2.582 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01955, allocations: 0 / 0.8272 GB, free: 2.582 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001361/0.01968, allocations: 155.5 kB / 0.8273 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.01969, allocations: 4 kB / 0.8273 GB, free: 2.422 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.0197, allocations: 0 / 0.8273 GB, free: 2.422 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.01971, allocations: 0 / 0.8273 GB, free: 2.422 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.912e-05/0.01976, allocations: 11.94 kB / 0.8273 GB, free: 2.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.01976, allocations: 0.5938 kB / 0.8273 GB, free: 2.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.829e-06/0.01977, allocations: 352 / 0.8273 GB, free: 2.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.01977, allocations: 4 kB / 0.8273 GB, free: 2.406 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 6.884e-05/0.01984, allocations: 160.5 kB / 0.8275 GB, free: 2.238 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-06/0.01985, allocations: 4 kB / 0.8275 GB, free: 2.234 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.02001, allocations: 160.6 kB / 0.8276 GB, free: 2.074 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.02001, allocations: 0 / 0.8276 GB, free: 2.074 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.02001, allocations: 3.938 kB / 0.8276 GB, free: 2.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.02001, allocations: 0 / 0.8276 GB, free: 2.07 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.02016, allocations: 213.2 kB / 0.8278 GB, free: 1.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.02016, allocations: 0 / 0.8278 GB, free: 1.836 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-07/0.02016, allocations: 0 / 0.8278 GB, free: 1.836 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.02017, allocations: 4.031 kB / 0.8279 GB, free: 1.832 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-06/0.02017, allocations: 0 / 0.8279 GB, free: 1.832 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.02017, allocations: 3.938 kB / 0.8279 GB, free: 1.828 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.02017, allocations: 0 / 0.8279 GB, free: 1.828 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.02031, allocations: 200.3 kB / 0.828 GB, free: 1.609 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-06/0.02032, allocations: 0 / 0.828 GB, free: 1.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-06/0.02032, allocations: 0 / 0.828 GB, free: 1.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-06/0.02033, allocations: 0 / 0.828 GB, free: 1.609 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.338e-06/0.02034, allocations: 0 / 0.828 GB, free: 1.609 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.02034, allocations: 4 kB / 0.8281 GB, free: 1.605 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.549e-05/0.02038, allocations: 127.2 kB / 0.8282 GB, free: 1.48 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02038, allocations: 0 / 0.8282 GB, free: 1.48 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0009713/0.02135, allocations: 0.5491 MB / 0.8287 GB, free: 0.9297 MB / 0.7761 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.002122/0.02347, allocations: 1.041 MB / 0.8297 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.02362, allocations: 131.6 kB / 0.8299 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.02362, allocations: 0 / 0.8299 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 7.245e-05/0.02369, allocations: 105.4 kB / 0.83 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.02382, allocations: 4.812 kB / 0.83 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007696/0.02459, allocations: 0.7597 MB / 0.8307 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.949e-05/0.02468, allocations: 123 kB / 0.8308 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 2.044e-05/0.0247, allocations: 0 / 0.8308 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.02475, allocations: 74.2 kB / 0.8309 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of SimCode: time 7.61e-07/0.02475, allocations: 4 kB / 0.8309 GB, free: 14.72 MB / 0.7917 GB Notification: Performance of Templates: time 0.01982/0.04457, allocations: 14.04 MB / 0.8446 GB, free: 0.6992 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.432567370124161]