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.00694/0.00694, allocations: 98.72 kB / 15.73 MB, free: 6.004 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.001631/0.001631, allocations: 193 kB / 16.67 MB, free: 5.93 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.354/2.354, allocations: 437 MB / 0.7105 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8275/0.8287, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002094/0.8309, allocations: 1.249 MB / 1.168 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006383/0.8373, allocations: 4.494 MB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.361e-05/0.8373, allocations: 0 / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 4.508e-05/0.8374, allocations: 3.984 kB / 1.172 GB, free: 14.06 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.003931/0.8413, allocations: 1.506 MB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 8.438e-05/0.8414, allocations: 31.91 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 5.871e-05/0.8415, allocations: 15.97 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.8415, allocations: 0 / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 2e-05/0.8415, allocations: 4 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.281e-05/0.8416, allocations: 25.28 kB / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.8416, allocations: 0 / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003012/0.8446, allocations: 2.281 MB / 1.176 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.8448, allocations: 149.2 kB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.8448, allocations: 4 kB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.847, allocations: 1.743 MB / 1.178 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.847, allocations: 0 / 1.178 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.673e-06/0.847, allocations: 0 / 1.178 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.847, allocations: 4 kB / 1.178 GB, free: 8.289 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.0008145/0.8479, allocations: 0.637 MB / 1.179 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.8479, allocations: 16.88 kB / 1.179 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.8479, allocations: 4.938 kB / 1.179 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.8481, allocations: 164.3 kB / 1.179 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.8481, allocations: 4.312 kB / 1.179 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.8481, allocations: 4.125 kB / 1.179 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.8483, allocations: 173.6 kB / 1.179 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.8483, allocations: 4 kB / 1.179 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.8483, allocations: 0 / 1.179 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.8483, allocations: 0 / 1.179 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.8485, allocations: 283.9 kB / 1.179 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.8488, allocations: 281.6 kB / 1.179 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.849, allocations: 162.5 kB / 1.18 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.8491, allocations: 148.8 kB / 1.18 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-06/0.8491, allocations: 7.984 kB / 1.18 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.8491, allocations: 34.56 kB / 1.18 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.8491, allocations: 0 / 1.18 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0004001/0.8495, allocations: 445.5 kB / 1.18 GB, free: 5.785 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.8496, allocations: 55.41 kB / 1.18 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.8497, allocations: 165.8 kB / 1.18 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.8497, allocations: 29.7 kB / 1.18 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 2.681e-05/0.8497, allocations: 80.39 kB / 1.18 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.8498, allocations: 7.938 kB / 1.18 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.8498, allocations: 13.7 kB / 1.181 GB, free: 5.402 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.8499, allocations: 322.7 kB / 1.181 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.85, allocations: 136 kB / 1.181 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.884e-05/0.8501, allocations: 143.9 kB / 1.181 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.8503, allocations: 288.7 kB / 1.181 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.8503, allocations: 0 / 1.181 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002275/0.8506, allocations: 317.6 kB / 1.182 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.8506, allocations: 4 kB / 1.182 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.8506, allocations: 0 / 1.182 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.8506, allocations: 3.984 kB / 1.182 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.714e-05/0.8507, allocations: 4 kB / 1.182 GB, free: 4.191 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.8507, allocations: 0 / 1.182 GB, free: 4.191 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.221e-05/0.8508, allocations: 7.922 kB / 1.182 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.8508, allocations: 0 / 1.182 GB, free: 4.184 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.0001005/0.8509, allocations: 169.8 kB / 1.182 GB, free: 4.008 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.8509, allocations: 11.92 kB / 1.182 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.8512, allocations: 324.6 kB / 1.182 GB, free: 3.668 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.8512, allocations: 0 / 1.182 GB, free: 3.668 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8512, allocations: 0 / 1.182 GB, free: 3.668 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.8512, allocations: 0 / 1.182 GB, free: 3.668 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.8514, allocations: 289.6 kB / 1.182 GB, free: 3.336 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8514, allocations: 0 / 1.182 GB, free: 3.336 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.8514, allocations: 0 / 1.182 GB, free: 3.336 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.8514, allocations: 0 / 1.182 GB, free: 3.336 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.8515, allocations: 7.984 kB / 1.182 GB, free: 3.328 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.8515, allocations: 4.031 kB / 1.182 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8515, allocations: 4 kB / 1.182 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.8517, allocations: 340.9 kB / 1.183 GB, free: 2.969 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 2.724e-05/0.8518, allocations: 81.09 kB / 1.183 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.8e-05/0.8518, allocations: 0 / 1.183 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.007e-05/0.8519, allocations: 0 / 1.183 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.8519, allocations: 0 / 1.183 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.8519, allocations: 0 / 1.183 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.065e-05/0.852, allocations: 159.3 kB / 1.183 GB, free: 2.715 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.852, allocations: 0 / 1.183 GB, free: 2.715 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001083/0.8531, allocations: 0.5726 MB / 1.184 GB, free: 2.141 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.002041/0.8552, allocations: 0.9428 MB / 1.184 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002522/0.8554, allocations: 287.9 kB / 1.185 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8554, allocations: 3.938 kB / 1.185 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.8556, allocations: 169.6 kB / 1.185 GB, free: 0.8359 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.8558, allocations: 3.938 kB / 1.185 GB, free: 0.832 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.8569, allocations: 0.9335 MB / 1.186 GB, free: 15.87 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.8573, allocations: 0.8224 MB / 1.187 GB, free: 15.02 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.975e-05/0.8573, allocations: 4 kB / 1.187 GB, free: 15.02 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.8573, allocations: 11.44 kB / 1.187 GB, free: 15.01 MB / 0.92 GB Notification: Performance of SimCode: time 2e-07/0.8573, allocations: 0 / 1.187 GB, free: 15.01 MB / 0.92 GB Notification: Performance of Templates: time 0.01917/0.8765, allocations: 12.24 MB / 1.199 GB, free: 2.809 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/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