Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_10_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=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 193.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.716/2.716, allocations: 437 MB / 0.7104 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 67.89 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6492/0.651, allocations: 151.6 MB / 1.017 GB, free: 2.422 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002538/0.6536, allocations: 1.253 MB / 1.019 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.007483/0.6611, allocations: 4.488 MB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.6612, allocations: 8 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.95e-05/0.6613, allocations: 3.938 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeBindings: time 0.004551/0.6659, allocations: 1.504 MB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.6661, allocations: 35.91 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.786e-05/0.6661, allocations: 11.98 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.6662, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.237e-05/0.6662, allocations: 4 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.676e-05/0.6663, allocations: 29.2 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.337e-06/0.6663, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003744/0.6701, allocations: 2.204 MB / 1.027 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.6702, allocations: 149.2 kB / 1.027 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.6703, allocations: 4 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003199/0.6735, allocations: 1.737 MB / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.6735, allocations: 0 / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6735, allocations: 3.938 kB / 1.028 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.6735, allocations: 0 / 1.028 GB, free: 6.957 MB / 0.7794 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.001023/0.6746, allocations: 0.6281 MB / 1.029 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.6746, allocations: 11.98 kB / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.6747, allocations: 0.9375 kB / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.6749, allocations: 164.4 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.6749, allocations: 4.375 kB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.6749, allocations: 4.125 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.6751, allocations: 169.6 kB / 1.029 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.6752, allocations: 0 / 1.029 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.6752, allocations: 8 kB / 1.029 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.6752, allocations: 0 / 1.029 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.6755, allocations: 279.9 kB / 1.03 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.6759, allocations: 289.6 kB / 1.03 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.6762, allocations: 154.5 kB / 1.03 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.6763, allocations: 152.8 kB / 1.03 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.6763, allocations: 0 / 1.03 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.6764, allocations: 38.5 kB / 1.03 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.6764, allocations: 0 / 1.03 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0006242/0.677, allocations: 453.5 kB / 1.031 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.6771, allocations: 51.41 kB / 1.031 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.6772, allocations: 165.8 kB / 1.031 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.6772, allocations: 25.7 kB / 1.031 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.6773, allocations: 80.14 kB / 1.031 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.6773, allocations: 12.16 kB / 1.031 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.6774, allocations: 17.7 kB / 1.031 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6775, allocations: 310.8 kB / 1.031 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.6777, allocations: 136 kB / 1.032 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.6778, allocations: 143.9 kB / 1.032 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.6781, allocations: 292.7 kB / 1.032 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.6781, allocations: 0 / 1.032 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002997/0.6784, allocations: 313.6 kB / 1.032 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.6784, allocations: 9.594 kB / 1.032 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.6784, allocations: 7.984 kB / 1.032 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.6785, allocations: 0 / 1.032 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.808e-05/0.6785, allocations: 3.938 kB / 1.032 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.6785, allocations: 0 / 1.032 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.141e-05/0.6786, allocations: 0 / 1.032 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.6786, allocations: 4 kB / 1.032 GB, free: 2.875 MB / 0.7794 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 0.0001289/0.6788, allocations: 165.8 kB / 1.032 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.6788, allocations: 3.938 kB / 1.032 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003359/0.6791, allocations: 328.6 kB / 1.033 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.6791, allocations: 3.938 kB / 1.033 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6791, allocations: 0 / 1.033 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.6791, allocations: 4 kB / 1.033 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.6794, allocations: 285.6 kB / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.6794, allocations: 0 / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.6794, allocations: 0 / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.6794, allocations: 7.984 kB / 1.033 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.6795, allocations: 4 kB / 1.033 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6795, allocations: 32 / 1.033 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6795, allocations: 4 kB / 1.033 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.6798, allocations: 344.9 kB / 1.033 GB, free: 1.664 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.6798, allocations: 77.11 kB / 1.033 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.88e-05/0.6799, allocations: 0 / 1.033 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.68, allocations: 0 / 1.033 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.68, allocations: 0 / 1.033 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.68, allocations: 4 kB / 1.033 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000139/0.6802, allocations: 151.3 kB / 1.034 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6802, allocations: 0 / 1.034 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001375/0.6816, allocations: 0.5661 MB / 1.034 GB, free: 0.8516 MB / 0.7794 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.002643/0.6842, allocations: 0.9211 MB / 1.035 GB, free: 24 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000331/0.6846, allocations: 283.9 kB / 1.035 GB, free: 15.74 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6846, allocations: 4.062 kB / 1.035 GB, free: 15.74 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.6847, allocations: 173.6 kB / 1.035 GB, free: 15.56 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.685, allocations: 10.06 kB / 1.035 GB, free: 15.56 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.6862, allocations: 0.9377 MB / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005525/0.6868, allocations: 0.8185 MB / 1.037 GB, free: 13.74 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.3e-05/0.6868, allocations: 8 kB / 1.037 GB, free: 13.73 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.6868, allocations: 11.44 kB / 1.037 GB, free: 13.72 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.6869, allocations: 0 / 1.037 GB, free: 13.72 MB / 0.795 GB Notification: Performance of Templates: time 0.02222/0.7091, allocations: 12.23 MB / 1.049 GB, free: 1.535 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches