Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005146/0.005146, allocations: 101.7 kB / 15.73 MB, free: 6.062 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.001245/0.001245, allocations: 194.5 kB / 16.67 MB, free: 5.969 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.619/2.619, allocations: 469.8 MB / 0.7425 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 71.89 kB / 1.065 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.727/0.7282, allocations: 159.1 MB / 1.221 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00202/0.7302, allocations: 1.249 MB / 1.222 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006472/0.7367, allocations: 4.5 MB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.7367, allocations: 7.938 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.944e-05/0.7368, allocations: 3.938 kB / 1.226 GB, free: 12.3 MB / 0.9512 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 11.1.0-maint.11.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.003549/0.7403, allocations: 1.511 MB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 8.982e-05/0.7404, allocations: 35.89 kB / 1.228 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.356e-05/0.7405, allocations: 15.94 kB / 1.228 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.123e-05/0.7405, allocations: 0 / 1.228 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.943e-05/0.7405, allocations: 7.984 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.454e-05/0.7406, allocations: 25.27 kB / 1.228 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.866e-06/0.7406, allocations: 4 kB / 1.228 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002808/0.7434, allocations: 2.282 MB / 1.23 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.7435, allocations: 153.2 kB / 1.23 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.7435, allocations: 3.938 kB / 1.23 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001925/0.7455, allocations: 1.735 MB / 1.232 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.7455, allocations: 0 / 1.232 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7455, allocations: 7.984 kB / 1.232 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.7455, allocations: 0 / 1.232 GB, free: 6.523 MB / 0.9512 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.0007465/0.7462, allocations: 0.6331 MB / 1.233 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.7462, allocations: 8.031 kB / 1.233 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.7463, allocations: 0.9375 kB / 1.233 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.7464, allocations: 172.4 kB / 1.233 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.7464, allocations: 384 / 1.233 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.7464, allocations: 4.125 kB / 1.233 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.7466, allocations: 173.6 kB / 1.233 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.7466, allocations: 0 / 1.233 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.7466, allocations: 3.938 kB / 1.233 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.7466, allocations: 0 / 1.233 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.7468, allocations: 279.8 kB / 1.233 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/0.7471, allocations: 293.6 kB / 1.233 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.7472, allocations: 154.6 kB / 1.234 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.7473, allocations: 148.8 kB / 1.234 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.924e-06/0.7473, allocations: 4 kB / 1.234 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.7473, allocations: 30.56 kB / 1.234 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.7473, allocations: 0 / 1.234 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.000396/0.7477, allocations: 457.5 kB / 1.234 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.7478, allocations: 55.41 kB / 1.234 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.7479, allocations: 165.8 kB / 1.234 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.7479, allocations: 25.7 kB / 1.234 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.352e-05/0.7479, allocations: 84.39 kB / 1.234 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.7479, allocations: 11.86 kB / 1.235 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.748, allocations: 17.72 kB / 1.235 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.112e-05/0.7481, allocations: 310.8 kB / 1.235 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.511e-05/0.7482, allocations: 139.9 kB / 1.235 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.555e-05/0.7482, allocations: 143.9 kB / 1.235 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.7484, allocations: 284.8 kB / 1.235 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7484, allocations: 4 kB / 1.235 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002374/0.7487, allocations: 321.5 kB / 1.236 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.7487, allocations: 9.875 kB / 1.236 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.7487, allocations: 0 / 1.236 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.7487, allocations: 0 / 1.236 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.928e-05/0.7488, allocations: 0 / 1.236 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.7488, allocations: 0 / 1.236 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.856e-05/0.7488, allocations: 4 kB / 1.236 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.7489, allocations: 4 kB / 1.236 GB, free: 2.426 MB / 0.9512 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 9.15e-05/0.7489, allocations: 170.4 kB / 1.236 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.749, allocations: 7.922 kB / 1.236 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.7492, allocations: 320.6 kB / 1.236 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.7492, allocations: 4 kB / 1.236 GB, free: 1.918 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.7492, allocations: 0 / 1.236 GB, free: 1.918 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.7492, allocations: 0 / 1.236 GB, free: 1.918 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.7494, allocations: 289.6 kB / 1.236 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.7495, allocations: 3.938 kB / 1.236 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-06/0.7495, allocations: 8 kB / 1.236 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.7495, allocations: 0 / 1.236 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.7495, allocations: 4.031 kB / 1.236 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.7495, allocations: 0 / 1.236 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.7495, allocations: 0 / 1.236 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.7497, allocations: 341 kB / 1.237 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.7497, allocations: 77.11 kB / 1.237 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.115e-05/0.7498, allocations: 3.984 kB / 1.237 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.7499, allocations: 0 / 1.237 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.7499, allocations: 11.95 kB / 1.237 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.7499, allocations: 4 kB / 1.237 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.637e-05/0.75, allocations: 151.2 kB / 1.237 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.75, allocations: 0 / 1.237 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001211/0.7512, allocations: 0.5687 MB / 1.238 GB, free: 396 kB / 0.9512 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.002011/0.7532, allocations: 0.9419 MB / 1.238 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.7534, allocations: 279.9 kB / 1.239 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7535, allocations: 0 / 1.239 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.7536, allocations: 169.6 kB / 1.239 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.7538, allocations: 3.938 kB / 1.239 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.7549, allocations: 0.9451 MB / 1.24 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.7553, allocations: 0.8146 MB / 1.241 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.108e-05/0.7553, allocations: 7.984 kB / 1.241 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.7553, allocations: 11.44 kB / 1.241 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of SimCode: time 4.81e-07/0.7553, allocations: 0 / 1.241 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of Templates: time 0.01844/0.7738, allocations: 12.28 MB / 1.253 GB, free: 1.023 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches