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.0009253/0.0009253, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009492/0.0009492, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.8822/0.8822, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.279/2.279, allocations: 438.8 MB / 0.6827 GB, free: 13.54 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.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.044e-06/2.044e-06, allocations: 0 / 0.8386 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334e-05/1.538e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001037/0.001053, allocations: 0.5849 MB / 0.8392 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005674/0.006726, allocations: 5.053 MB / 0.8442 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.006749, allocations: 0 / 0.8442 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.995e-05/0.006799, allocations: 7.938 kB / 0.8442 GB, free: 8.426 MB / 0.8073 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.003165/0.009964, allocations: 1.624 MB / 0.8457 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 5.73e-05/0.01002, allocations: 35.91 kB / 0.8458 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.379e-05/0.01007, allocations: 11.92 kB / 0.8458 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.325e-05/0.0101, allocations: 3.984 kB / 0.8458 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.816e-05/0.01013, allocations: 4 kB / 0.8458 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.98e-05/0.01016, allocations: 4 kB / 0.8458 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.946e-06/0.01017, allocations: 0 / 0.8458 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.01268, allocations: 2.467 MB / 0.8482 GB, free: 4.27 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.01278, allocations: 145.2 kB / 0.8483 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.663e-05/0.0128, allocations: 3.984 kB / 0.8484 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.01465, allocations: 2.023 MB / 0.8503 GB, free: 2.098 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.01465, allocations: 3.938 kB / 0.8503 GB, free: 2.094 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.62e-07/0.01465, allocations: 0 / 0.8503 GB, free: 2.094 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.765e-06/0.01466, allocations: 0 / 0.8503 GB, free: 2.094 MB / 0.8073 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.0005197/0.01518, allocations: 0.5287 MB / 0.8508 GB, free: 1.539 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.0152, allocations: 16.62 kB / 0.8509 GB, free: 1.523 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.107e-05/0.01523, allocations: 0.9375 kB / 0.8509 GB, free: 1.523 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.315e-05/0.0153, allocations: 109.8 kB / 0.851 GB, free: 1.391 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.01531, allocations: 384 / 0.851 GB, free: 1.391 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.01532, allocations: 384 / 0.851 GB, free: 1.391 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.082e-05/0.01541, allocations: 98.17 kB / 0.8511 GB, free: 1.289 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.01541, allocations: 3.938 kB / 0.8511 GB, free: 1.285 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-06/0.01542, allocations: 0 / 0.8511 GB, free: 1.285 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.01542, allocations: 0 / 0.8511 GB, free: 1.285 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.655e-05/0.01549, allocations: 127.9 kB / 0.8512 GB, free: 1.16 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.01561, allocations: 177 kB / 0.8514 GB, free: 0.9727 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.919e-05/0.01567, allocations: 74.59 kB / 0.8514 GB, free: 0.8906 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.956e-05/0.01571, allocations: 68.89 kB / 0.8515 GB, free: 0.8203 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.811e-06/0.01571, allocations: 4 kB / 0.8515 GB, free: 0.8164 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.01573, allocations: 38.48 kB / 0.8515 GB, free: 0.7695 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 5.81e-07/0.01573, allocations: 0 / 0.8515 GB, free: 0.7695 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 0.0001597/0.01589, allocations: 205.6 kB / 0.8517 GB, free: 0.5625 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.01592, allocations: 63.33 kB / 0.8518 GB, free: 500 kB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.756e-05/0.01597, allocations: 98.72 kB / 0.8519 GB, free: 388 kB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.01598, allocations: 29.95 kB / 0.8519 GB, free: 352 kB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.928e-05/0.01599, allocations: 80.14 kB / 0.852 GB, free: 268 kB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.01602, allocations: 7.984 kB / 0.852 GB, free: 260 kB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/0.01603, allocations: 9.719 kB / 0.852 GB, free: 244 kB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.589e-05/0.01611, allocations: 310.8 kB / 0.8523 GB, free: 15.93 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.389e-05/0.01614, allocations: 63.97 kB / 0.8524 GB, free: 15.86 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.358e-05/0.01618, allocations: 63.91 kB / 0.8524 GB, free: 15.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.893e-05/0.01626, allocations: 128.8 kB / 0.8525 GB, free: 15.67 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01627, allocations: 0 / 0.8525 GB, free: 15.67 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.287e-05/0.01636, allocations: 153.7 kB / 0.8527 GB, free: 15.52 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.01637, allocations: 8.031 kB / 0.8527 GB, free: 15.51 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.01637, allocations: 0 / 0.8527 GB, free: 15.51 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.01638, allocations: 0 / 0.8527 GB, free: 15.51 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.091e-05/0.01642, allocations: 4 kB / 0.8527 GB, free: 15.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.01643, allocations: 7.922 kB / 0.8527 GB, free: 15.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.806e-06/0.01644, allocations: 4 kB / 0.8527 GB, free: 15.49 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.01644, allocations: 3.984 kB / 0.8527 GB, free: 15.49 MB / 0.823 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.594e-05/0.0165, allocations: 108.7 kB / 0.8528 GB, free: 15.37 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-06/0.0165, allocations: 7.938 kB / 0.8528 GB, free: 15.36 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.01662, allocations: 156.6 kB / 0.853 GB, free: 15.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.01663, allocations: 0 / 0.853 GB, free: 15.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.01663, allocations: 3.938 kB / 0.853 GB, free: 15.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.01663, allocations: 0 / 0.853 GB, free: 15.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.01673, allocations: 181.8 kB / 0.8532 GB, free: 15 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.01674, allocations: 0 / 0.8532 GB, free: 15 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-07/0.01674, allocations: 0 / 0.8532 GB, free: 15 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-06/0.01674, allocations: 3.938 kB / 0.8532 GB, free: 15 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.01674, allocations: 4 kB / 0.8532 GB, free: 15 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.01675, allocations: 3.984 kB / 0.8532 GB, free: 14.99 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.01675, allocations: 4 kB / 0.8532 GB, free: 14.99 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.01685, allocations: 185 kB / 0.8534 GB, free: 14.79 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-06/0.01685, allocations: 0 / 0.8534 GB, free: 14.79 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-06/0.01686, allocations: 4 kB / 0.8534 GB, free: 14.79 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.819e-06/0.01687, allocations: 0 / 0.8534 GB, free: 14.79 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.245e-06/0.01687, allocations: 0 / 0.8534 GB, free: 14.79 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.01688, allocations: 7.984 kB / 0.8534 GB, free: 14.78 MB / 0.823 GB Notification: Performance of sorting global known variables: time 9.157e-06/0.01689, allocations: 8.844 kB / 0.8534 GB, free: 14.77 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.01689, allocations: 0 / 0.8534 GB, free: 14.77 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006121/0.0175, allocations: 0.549 MB / 0.8539 GB, free: 14.21 MB / 0.823 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.001594/0.01909, allocations: 1.096 MB / 0.855 GB, free: 13.27 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.0192, allocations: 124.8 kB / 0.8551 GB, free: 13.14 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.01921, allocations: 0 / 0.8551 GB, free: 13.14 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.419e-05/0.01926, allocations: 94.47 kB / 0.8552 GB, free: 13.04 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.88e-05/0.01931, allocations: 11.97 kB / 0.8552 GB, free: 13.03 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.01989, allocations: 0.7609 MB / 0.8559 GB, free: 12.23 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.297e-05/0.01995, allocations: 115.2 kB / 0.8561 GB, free: 12.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.544e-05/0.01997, allocations: 4 kB / 0.8561 GB, free: 12.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.02, allocations: 51.38 kB / 0.8561 GB, free: 12.05 MB / 0.823 GB Notification: Performance of SimCode: time 5.51e-07/0.02, allocations: 0 / 0.8561 GB, free: 12.05 MB / 0.823 GB Notification: Performance of Templates: time 0.01393/0.03393, allocations: 13.77 MB / 0.8696 GB, free: 14.3 MB / 0.8386 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.545655756257474]