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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_latest_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.001189/0.001189, allocations: 110.1 kB / 16.27 MB, free: 6.352 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.001167/0.001167, allocations: 188.6 kB / 17.2 MB, free: 5.953 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.399/1.399, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.718/2.718, allocations: 469.4 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 71.94 kB / 0.9089 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.402, allocations: 159.1 MB / 1.064 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00439/0.4065, allocations: 1.253 MB / 1.065 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01238/0.4189, allocations: 4.483 MB / 1.07 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.817e-05/0.419, allocations: 0 / 1.07 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.107e-05/0.4192, allocations: 3.984 kB / 1.07 GB, free: 9.195 MB / 0.8419 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.0.1-master/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.008003/0.4272, allocations: 1.494 MB / 1.071 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.4274, allocations: 35.91 kB / 1.071 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.585e-05/0.4275, allocations: 11.98 kB / 1.071 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.375e-05/0.4276, allocations: 0 / 1.071 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.075e-05/0.4276, allocations: 15.98 kB / 1.071 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.817e-05/0.4277, allocations: 21.22 kB / 1.071 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.4278, allocations: 0 / 1.071 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007186/0.4349, allocations: 2.204 MB / 1.074 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.4353, allocations: 153.2 kB / 1.074 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.192e-05/0.4354, allocations: 0 / 1.074 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005459/0.4409, allocations: 1.739 MB / 1.075 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.4409, allocations: 0 / 1.075 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.456e-06/0.4409, allocations: 0 / 1.075 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.4409, allocations: 4 kB / 1.075 GB, free: 3.512 MB / 0.8419 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.001781/0.4427, allocations: 0.6163 MB / 1.076 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.892e-05/0.4428, allocations: 8.625 kB / 1.076 GB, free: 2.84 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.295e-05/0.4429, allocations: 0.9375 kB / 1.076 GB, free: 2.84 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.4431, allocations: 172.4 kB / 1.076 GB, free: 2.633 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.4432, allocations: 4.375 kB / 1.076 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.4432, allocations: 8.062 kB / 1.076 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.4435, allocations: 169.6 kB / 1.076 GB, free: 2.449 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.4435, allocations: 0 / 1.076 GB, free: 2.449 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.4436, allocations: 0 / 1.076 GB, free: 2.449 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.4436, allocations: 0 / 1.076 GB, free: 2.449 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003375/0.4439, allocations: 279.9 kB / 1.077 GB, free: 2.176 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.4444, allocations: 285.6 kB / 1.077 GB, free: 1.848 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.4447, allocations: 162.6 kB / 1.077 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.4449, allocations: 152.7 kB / 1.077 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.4449, allocations: 0 / 1.077 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.445, allocations: 34.55 kB / 1.077 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.843e-06/0.445, allocations: 4 kB / 1.077 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0007329/0.4457, allocations: 453.4 kB / 1.078 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.4458, allocations: 55.53 kB / 1.078 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.446, allocations: 169.8 kB / 1.078 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.4461, allocations: 25.7 kB / 1.078 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.4461, allocations: 80.14 kB / 1.078 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.4462, allocations: 7.938 kB / 1.078 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.4462, allocations: 9.719 kB / 1.078 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4464, allocations: 314.8 kB / 1.078 GB, free: 344 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.4466, allocations: 148 kB / 1.078 GB, free: 196 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.4468, allocations: 143.9 kB / 1.079 GB, free: 52 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6269/1.074, allocations: 282.9 kB / 1.079 GB, free: 21.79 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.074, allocations: 0 / 1.079 GB, free: 21.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005635/1.074, allocations: 313 kB / 1.079 GB, free: 21.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/1.074, allocations: 5.562 kB / 1.079 GB, free: 21.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.074, allocations: 0.7188 kB / 1.079 GB, free: 21.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/1.074, allocations: 0.5 kB / 1.079 GB, free: 21.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.7e-05/1.075, allocations: 2.984 kB / 1.079 GB, free: 21.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/1.075, allocations: 2.625 kB / 1.079 GB, free: 21.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/1.075, allocations: 0 / 1.079 GB, free: 21.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/1.075, allocations: 5.125 kB / 1.079 GB, free: 21.75 MB / 0.8419 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.0001431/1.075, allocations: 176.3 kB / 1.079 GB, free: 21.64 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/1.075, allocations: 0.7031 kB / 1.079 GB, free: 21.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004837/1.075, allocations: 321.7 kB / 1.08 GB, free: 21.61 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.075, allocations: 0.9688 kB / 1.08 GB, free: 21.61 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.075, allocations: 0.5156 kB / 1.08 GB, free: 21.61 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/1.075, allocations: 4.312 kB / 1.08 GB, free: 21.61 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/1.076, allocations: 293.2 kB / 1.08 GB, free: 21.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.076, allocations: 3.188 kB / 1.08 GB, free: 21.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.422e-06/1.076, allocations: 3.094 kB / 1.08 GB, free: 21.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/1.076, allocations: 0.7031 kB / 1.08 GB, free: 21.42 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/1.076, allocations: 0 / 1.08 GB, free: 21.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.076, allocations: 1.188 kB / 1.08 GB, free: 21.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.076, allocations: 2.953 kB / 1.08 GB, free: 21.42 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/1.076, allocations: 347.6 kB / 1.08 GB, free: 21.35 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/1.076, allocations: 77.86 kB / 1.08 GB, free: 21.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.057e-05/1.076, allocations: 1.891 kB / 1.08 GB, free: 21.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/1.076, allocations: 0.5 kB / 1.08 GB, free: 21.26 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/1.076, allocations: 2.609 kB / 1.08 GB, free: 21.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/1.076, allocations: 0.7031 kB / 1.08 GB, free: 21.26 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001056/1.076, allocations: 154.4 kB / 1.08 GB, free: 21.18 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/1.076, allocations: 0 / 1.08 GB, free: 21.18 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001786/1.078, allocations: 0.5698 MB / 1.081 GB, free: 21.17 MB / 0.8419 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.002413/1.081, allocations: 0.9226 MB / 1.082 GB, free: 21 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000354/1.081, allocations: 285.5 kB / 1.082 GB, free: 21 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/1.081, allocations: 1.125 kB / 1.082 GB, free: 21 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/1.081, allocations: 173.6 kB / 1.082 GB, free: 20.97 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/1.081, allocations: 6.375 kB / 1.082 GB, free: 20.97 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007449/1.082, allocations: 421.5 kB / 1.083 GB, free: 20.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/1.082, allocations: 0.6727 MB / 1.083 GB, free: 20.15 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/1.082, allocations: 16.77 kB / 1.083 GB, free: 20.14 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/1.082, allocations: 3.938 kB / 1.083 GB, free: 20.13 MB / 0.8419 GB Notification: Performance of Templates: time 0.03107/1.113, allocations: 12.1 MB / 1.095 GB, free: 18.27 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches