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.001277/0.001277, allocations: 104 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.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.487/2.487, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 63.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.005, allocations: 151.7 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.003044/1.008, allocations: 1.253 MB / 1.169 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007641/1.016, allocations: 4.49 MB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/1.016, allocations: 0 / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 6.362e-05/1.016, allocations: 0 / 1.173 GB, free: 14.08 MB / 0.9044 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.005173/1.022, allocations: 1.503 MB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/1.022, allocations: 39.89 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 6.442e-05/1.022, allocations: 4 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/1.022, allocations: 8 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 2.759e-05/1.022, allocations: 7.938 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.223e-05/1.022, allocations: 25.27 kB / 1.175 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/1.022, allocations: 0 / 1.175 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004076/1.026, allocations: 2.278 MB / 1.177 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000149/1.026, allocations: 149.2 kB / 1.177 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/1.026, allocations: 7.922 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003862/1.03, allocations: 1.725 MB / 1.179 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.03, allocations: 0 / 1.179 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.567e-06/1.03, allocations: 0 / 1.179 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.496e-05/1.03, allocations: 3.938 kB / 1.179 GB, free: 8.328 MB / 0.9044 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.001396/1.032, allocations: 0.6281 MB / 1.179 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/1.032, allocations: 12.58 kB / 1.179 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/1.032, allocations: 8.844 kB / 1.179 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/1.032, allocations: 172.4 kB / 1.179 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/1.032, allocations: 4.375 kB / 1.179 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/1.032, allocations: 4.125 kB / 1.179 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/1.032, allocations: 169.6 kB / 1.18 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/1.032, allocations: 0 / 1.18 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/1.032, allocations: 0 / 1.18 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/1.032, allocations: 0 / 1.18 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/1.032, allocations: 275.9 kB / 1.18 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/1.033, allocations: 293.6 kB / 1.18 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/1.033, allocations: 170.4 kB / 1.18 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/1.033, allocations: 148.8 kB / 1.18 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/1.033, allocations: 0 / 1.18 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/1.033, allocations: 30.56 kB / 1.18 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/1.033, allocations: 0 / 1.18 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0004587/1.034, allocations: 453.5 kB / 1.181 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/1.034, allocations: 59.33 kB / 1.181 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/1.034, allocations: 170 kB / 1.181 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/1.034, allocations: 25.7 kB / 1.181 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/1.034, allocations: 84.14 kB / 1.181 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/1.034, allocations: 0 / 1.181 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/1.034, allocations: 13.72 kB / 1.181 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.034, allocations: 310.8 kB / 1.181 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/1.034, allocations: 139.9 kB / 1.182 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/1.034, allocations: 144.1 kB / 1.182 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/1.034, allocations: 288.8 kB / 1.182 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.034, allocations: 0 / 1.182 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002737/1.035, allocations: 321.5 kB / 1.182 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.035, allocations: 8 kB / 1.182 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.035, allocations: 0 / 1.182 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/1.035, allocations: 0 / 1.182 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.594e-05/1.035, allocations: 0 / 1.182 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/1.035, allocations: 0 / 1.182 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.168e-05/1.035, allocations: 4 kB / 1.182 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/1.035, allocations: 8.016 kB / 1.182 GB, free: 4.23 MB / 0.9044 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.0001241/1.035, allocations: 165.8 kB / 1.183 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/1.035, allocations: 3.938 kB / 1.183 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000317/1.035, allocations: 320.7 kB / 1.183 GB, free: 3.73 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/1.035, allocations: 4 kB / 1.183 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.035, allocations: 0 / 1.183 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.035, allocations: 0 / 1.183 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/1.036, allocations: 289.5 kB / 1.183 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/1.036, allocations: 8.031 kB / 1.183 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-06/1.036, allocations: 3.938 kB / 1.183 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/1.036, allocations: 4 kB / 1.183 GB, free: 3.379 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/1.036, allocations: 0 / 1.183 GB, free: 3.379 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.036, allocations: 3.938 kB / 1.183 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.036, allocations: 0 / 1.183 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/1.036, allocations: 344.9 kB / 1.183 GB, free: 3.02 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/1.036, allocations: 77.11 kB / 1.184 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/1.036, allocations: 4.031 kB / 1.184 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.785e-05/1.036, allocations: 3.938 kB / 1.184 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/1.036, allocations: 4 kB / 1.184 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/1.036, allocations: 0 / 1.184 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.918e-05/1.036, allocations: 155.2 kB / 1.184 GB, free: 2.762 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/1.036, allocations: 0 / 1.184 GB, free: 2.762 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001504/1.038, allocations: 0.5661 MB / 1.184 GB, free: 2.195 MB / 0.9044 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.002994/1.041, allocations: 0.9209 MB / 1.185 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000304/1.041, allocations: 283.8 kB / 1.185 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.041, allocations: 0 / 1.185 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/1.041, allocations: 173.6 kB / 1.186 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/1.042, allocations: 3.938 kB / 1.186 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006693/1.042, allocations: 427.3 kB / 1.186 GB, free: 472 kB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/1.043, allocations: 0.6729 MB / 1.187 GB, free: 15.76 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/1.043, allocations: 11.44 kB / 1.187 GB, free: 15.75 MB / 0.92 GB Notification: Performance of SimCode: time 3.21e-07/1.043, allocations: 0 / 1.187 GB, free: 15.75 MB / 0.92 GB Notification: Performance of Templates: time 0.02254/1.065, allocations: 12.11 MB / 1.198 GB, free: 3.645 MB / 0.92 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=480 -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/jenkins1/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