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.0009018/0.0009018, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009173/0.0009173, allocations: 169 kB / 23.02 MB, free: 1.547 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.8986/0.8986, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.09/2.09, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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.242e-06/1.242e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.445e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.0009513/0.0009657, allocations: 0.5941 MB / 0.8788 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005204/0.00617, allocations: 5.068 MB / 0.8838 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.288e-05/0.006193, allocations: 0 / 0.8838 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.345e-05/0.006246, allocations: 0 / 0.8838 GB, free: 0.6211 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.002641/0.008888, allocations: 1.623 MB / 0.8853 GB, free: 15 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 5.263e-05/0.00894, allocations: 31.91 kB / 0.8854 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.473e-05/0.008985, allocations: 11.98 kB / 0.8854 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.118e-05/0.009016, allocations: 0 / 0.8854 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.651e-05/0.009043, allocations: 4 kB / 0.8854 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.129e-05/0.009074, allocations: 11.98 kB / 0.8854 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.009085, allocations: 4 kB / 0.8854 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/0.01143, allocations: 2.456 MB / 0.8878 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.01153, allocations: 153.2 kB / 0.8879 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.891e-05/0.01155, allocations: 0 / 0.8879 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.0135, allocations: 2.061 MB / 0.89 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.0135, allocations: 4 kB / 0.89 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.81e-07/0.0135, allocations: 0 / 0.89 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.0135, allocations: 0 / 0.89 GB, free: 10.25 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.0006116/0.01412, allocations: 0.6498 MB / 0.8906 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.01415, allocations: 12.03 kB / 0.8906 GB, free: 9.555 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.01419, allocations: 4.891 kB / 0.8906 GB, free: 9.551 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.642e-05/0.01427, allocations: 112.6 kB / 0.8907 GB, free: 9.414 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.01428, allocations: 384 / 0.8907 GB, free: 9.414 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-06/0.01429, allocations: 384 / 0.8907 GB, free: 9.414 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.01443, allocations: 150.2 kB / 0.8909 GB, free: 9.262 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.01444, allocations: 7.938 kB / 0.8909 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.01445, allocations: 0 / 0.8909 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.01446, allocations: 0 / 0.8909 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.01458, allocations: 243.9 kB / 0.8911 GB, free: 9.016 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.01474, allocations: 232.6 kB / 0.8913 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.982e-05/0.01484, allocations: 151 kB / 0.8915 GB, free: 8.594 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.339e-05/0.01492, allocations: 127.7 kB / 0.8916 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.01492, allocations: 0 / 0.8916 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.01494, allocations: 41.38 kB / 0.8916 GB, free: 8.414 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.01494, allocations: 0 / 0.8916 GB, free: 8.414 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0002971/0.01524, allocations: 397.5 kB / 0.892 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.01527, allocations: 59.34 kB / 0.8921 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.01533, allocations: 153.9 kB / 0.8922 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.01534, allocations: 25.7 kB / 0.8922 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.579e-05/0.01537, allocations: 126.9 kB / 0.8924 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.01539, allocations: 0 / 0.8924 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.01541, allocations: 23.36 kB / 0.8924 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.01551, allocations: 492.1 kB / 0.8928 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/0.01558, allocations: 131.9 kB / 0.893 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.023e-05/0.01564, allocations: 116.2 kB / 0.8931 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.01577, allocations: 255.6 kB / 0.8933 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01577, allocations: 0 / 0.8933 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001492/0.01592, allocations: 269.6 kB / 0.8936 GB, free: 6.332 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.01593, allocations: 15.92 kB / 0.8936 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.01594, allocations: 0 / 0.8936 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.01595, allocations: 3.938 kB / 0.8936 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.727e-05/0.016, allocations: 0 / 0.8936 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.016, allocations: 0 / 0.8936 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.713e-06/0.01601, allocations: 4 kB / 0.8936 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.01602, allocations: 0 / 0.8936 GB, free: 6.309 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.201e-05/0.01607, allocations: 156.6 kB / 0.8938 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-06/0.01607, allocations: 0 / 0.8938 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/0.01627, allocations: 288.5 kB / 0.894 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01627, allocations: 3.938 kB / 0.894 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.01627, allocations: 0 / 0.894 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.01627, allocations: 0 / 0.894 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.01638, allocations: 228.6 kB / 0.8943 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.01638, allocations: 0 / 0.8943 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.01638, allocations: 0 / 0.8943 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.01639, allocations: 3.984 kB / 0.8943 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.01639, allocations: 4.031 kB / 0.8943 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01639, allocations: 3.938 kB / 0.8943 GB, free: 5.578 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.0164, allocations: 7.938 kB / 0.8943 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.01656, allocations: 308.3 kB / 0.8946 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-06/0.01656, allocations: 0 / 0.8946 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.01657, allocations: 4 kB / 0.8946 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.179e-06/0.01657, allocations: 4 kB / 0.8946 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.221e-05/0.01658, allocations: 3.938 kB / 0.8946 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.01659, allocations: 0 / 0.8946 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.15e-05/0.01662, allocations: 127.2 kB / 0.8947 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01662, allocations: 0 / 0.8947 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006543/0.01727, allocations: 0.549 MB / 0.8952 GB, free: 4.559 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.001562/0.01883, allocations: 1.036 MB / 0.8962 GB, free: 3.625 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001947/0.01903, allocations: 263.5 kB / 0.8965 GB, free: 3.363 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01903, allocations: 0 / 0.8965 GB, free: 3.363 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.892e-05/0.01912, allocations: 157.4 kB / 0.8967 GB, free: 3.199 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.718e-05/0.01922, allocations: 4.062 kB / 0.8967 GB, free: 3.195 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006572/0.01987, allocations: 0.8241 MB / 0.8975 GB, free: 2.336 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.302e-05/0.01994, allocations: 115.2 kB / 0.8976 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.211e-05/0.01995, allocations: 0 / 0.8976 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.01997, allocations: 20.42 kB / 0.8976 GB, free: 2.184 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.01997, allocations: 4 kB / 0.8976 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of Templates: time 0.01302/0.03299, allocations: 12.64 MB / 0.9099 GB, free: 5.559 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.884023361373693]