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.0009818/0.0009818, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001097/0.001097, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9257/0.9257, allocations: 177.2 MB / 204.5 MB, free: 5.516 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.04/2.04, allocations: 429.5 MB / 0.6743 GB, free: 3.879 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.603e-06/1.603e-06, allocations: 0 / 0.8795 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.367e-05, allocations: 7.344 kB / 0.8795 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00135/0.001373, allocations: 0.5838 MB / 0.88 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006219/0.007593, allocations: 4.98 MB / 0.8849 GB, free: 420 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/0.007622, allocations: 0 / 0.8849 GB, free: 420 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.711e-05/0.007679, allocations: 3.938 kB / 0.8849 GB, free: 416 kB / 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.003349/0.01103, allocations: 1.632 MB / 0.8865 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 6.787e-05/0.0111, allocations: 39.89 kB / 0.8865 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.809e-05/0.01114, allocations: 7.984 kB / 0.8865 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.01118, allocations: 0 / 0.8865 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.858e-05/0.01121, allocations: 7.938 kB / 0.8865 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.411e-05/0.01125, allocations: 4 kB / 0.8866 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.01126, allocations: 0 / 0.8866 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/0.01428, allocations: 2.475 MB / 0.889 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.01439, allocations: 153.2 kB / 0.8891 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.01441, allocations: 0 / 0.8891 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002883/0.01729, allocations: 2.03 MB / 0.8911 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01729, allocations: 8 kB / 0.8911 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.262e-06/0.01729, allocations: 0 / 0.8911 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.0173, allocations: 0 / 0.8911 GB, free: 10.06 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.0007964/0.0181, allocations: 0.6498 MB / 0.8917 GB, free: 9.375 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.01813, allocations: 8.031 kB / 0.8917 GB, free: 9.367 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.01816, allocations: 4.891 kB / 0.8918 GB, free: 9.363 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.93e-05/0.01824, allocations: 108.6 kB / 0.8919 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.01825, allocations: 384 / 0.8919 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-06/0.01825, allocations: 384 / 0.8919 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.586e-05/0.01835, allocations: 98.17 kB / 0.8919 GB, free: 9.129 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.01836, allocations: 11.92 kB / 0.892 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.01837, allocations: 3.984 kB / 0.892 GB, free: 9.113 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.01837, allocations: 0 / 0.892 GB, free: 9.113 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.581e-05/0.01844, allocations: 120 kB / 0.8921 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.01859, allocations: 217.2 kB / 0.8923 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.875e-05/0.01866, allocations: 83.06 kB / 0.8924 GB, free: 8.664 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.326e-05/0.0187, allocations: 71.72 kB / 0.8924 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.972e-06/0.01871, allocations: 0 / 0.8924 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.01873, allocations: 41.31 kB / 0.8925 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.01873, allocations: 0 / 0.8925 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001927/0.01892, allocations: 217.6 kB / 0.8927 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.01895, allocations: 63.28 kB / 0.8927 GB, free: 8.246 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.051e-05/0.01902, allocations: 157.9 kB / 0.8929 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.01903, allocations: 25.7 kB / 0.8929 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/0.01906, allocations: 126.9 kB / 0.893 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.01908, allocations: 0 / 0.893 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.01911, allocations: 19.38 kB / 0.8931 GB, free: 7.887 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.01922, allocations: 492.1 kB / 0.8935 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.716e-05/0.01925, allocations: 59.97 kB / 0.8936 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.759e-05/0.01929, allocations: 68.16 kB / 0.8936 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.08e-05/0.01937, allocations: 135.7 kB / 0.8938 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01937, allocations: 0 / 0.8938 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001055/0.01948, allocations: 149.6 kB / 0.8939 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.01949, allocations: 8 kB / 0.8939 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.01949, allocations: 0 / 0.8939 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/0.0195, allocations: 0 / 0.8939 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.919e-05/0.01955, allocations: 3.938 kB / 0.8939 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.01955, allocations: 4 kB / 0.8939 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.815e-06/0.01956, allocations: 0 / 0.8939 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.01957, allocations: 0 / 0.8939 GB, free: 6.965 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.132e-05/0.01963, allocations: 160.6 kB / 0.8941 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-06/0.01964, allocations: 3.938 kB / 0.8941 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.01978, allocations: 164.6 kB / 0.8942 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01978, allocations: 0 / 0.8942 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.01979, allocations: 7.938 kB / 0.8943 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.01979, allocations: 0 / 0.8943 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.01991, allocations: 213.2 kB / 0.8945 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.01992, allocations: 4 kB / 0.8945 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.01992, allocations: 0 / 0.8945 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01992, allocations: 4.031 kB / 0.8945 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-06/0.01992, allocations: 0 / 0.8945 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01993, allocations: 0 / 0.8945 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01993, allocations: 0 / 0.8945 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.02005, allocations: 196.3 kB / 0.8947 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.331e-06/0.02006, allocations: 4 kB / 0.8947 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.02007, allocations: 3.984 kB / 0.8947 GB, free: 6.148 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-06/0.02007, allocations: 4 kB / 0.8947 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-06/0.02008, allocations: 3.938 kB / 0.8947 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.02009, allocations: 0 / 0.8947 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.386e-05/0.02012, allocations: 131.2 kB / 0.8948 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02012, allocations: 0 / 0.8948 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001065/0.02119, allocations: 0.5452 MB / 0.8953 GB, free: 5.465 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.001706/0.02289, allocations: 1.027 MB / 0.8963 GB, free: 4.539 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.02304, allocations: 131.6 kB / 0.8965 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.02304, allocations: 3.938 kB / 0.8965 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.246e-05/0.0231, allocations: 105.4 kB / 0.8966 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001045/0.02321, allocations: 0.7031 kB / 0.8966 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006565/0.02386, allocations: 0.7596 MB / 0.8973 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.057e-05/0.02393, allocations: 119.2 kB / 0.8974 GB, free: 3.355 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.954e-05/0.02395, allocations: 4 kB / 0.8974 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.02399, allocations: 70.2 kB / 0.8975 GB, free: 3.281 MB / 0.8542 GB Notification: Performance of SimCode: time 7.62e-07/0.024, allocations: 4 kB / 0.8975 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of Templates: time 0.01606/0.04005, allocations: 14.03 MB / 0.9112 GB, free: 5.266 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.7708980231545866]