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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001136/0.001136, allocations: 106.5 kB / 16.41 MB, free: 6.469 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.001161/0.001161, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.341/1.341, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.635/2.635, allocations: 472.7 MB / 0.746 GB, free: 484 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.91 kB / 1.07 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7612/0.7626, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002506/0.7651, allocations: 1.255 MB / 1.228 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009022/0.7742, allocations: 4.48 MB / 1.232 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.999e-05/0.7742, allocations: 0 / 1.232 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 6.192e-05/0.7743, allocations: 3.938 kB / 1.232 GB, free: 7.758 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 12.0.0-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.006418/0.7808, allocations: 1.517 MB / 1.233 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.7809, allocations: 35.91 kB / 1.234 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.392e-05/0.781, allocations: 11.98 kB / 1.234 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.163e-05/0.7811, allocations: 3.984 kB / 1.234 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.957e-05/0.7811, allocations: 4 kB / 1.234 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.885e-05/0.7812, allocations: 21.28 kB / 1.234 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.7812, allocations: 0 / 1.234 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005851/0.7871, allocations: 2.285 MB / 1.236 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.7873, allocations: 153.2 kB / 1.236 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.7874, allocations: 3.984 kB / 1.236 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004679/0.7921, allocations: 1.743 MB / 1.238 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.7921, allocations: 0 / 1.238 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7921, allocations: 0 / 1.238 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.7921, allocations: 0 / 1.238 GB, free: 1.98 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.001475/0.7936, allocations: 0.6331 MB / 1.238 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.7937, allocations: 12.03 kB / 1.238 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.7937, allocations: 4.938 kB / 1.238 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.7939, allocations: 164.4 kB / 1.238 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.7939, allocations: 384 / 1.238 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.7939, allocations: 4.125 kB / 1.238 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.7942, allocations: 177.5 kB / 1.239 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.7942, allocations: 0 / 1.239 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.7943, allocations: 0 / 1.239 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.7943, allocations: 0 / 1.239 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.7946, allocations: 283.9 kB / 1.239 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.7951, allocations: 289.6 kB / 1.239 GB, free: 296 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.7953, allocations: 154.6 kB / 1.239 GB, free: 132 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.7955, allocations: 148.8 kB / 1.239 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.7955, allocations: 3.938 kB / 1.239 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.7955, allocations: 34.56 kB / 1.239 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.983e-06/0.7956, allocations: 4 kB / 1.239 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0006458/0.7962, allocations: 453.5 kB / 1.24 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.7963, allocations: 51.41 kB / 1.24 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.7964, allocations: 165.8 kB / 1.24 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.7965, allocations: 25.7 kB / 1.24 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.7966, allocations: 80.14 kB / 1.24 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.7966, allocations: 7.938 kB / 1.24 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.7966, allocations: 13.97 kB / 1.24 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.7968, allocations: 314.8 kB / 1.241 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.797, allocations: 143.9 kB / 1.241 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.7972, allocations: 147.8 kB / 1.241 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.7975, allocations: 284.8 kB / 1.241 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.7975, allocations: 0 / 1.241 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004153/0.798, allocations: 325.5 kB / 1.241 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.798, allocations: 4 kB / 1.241 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.798, allocations: 96 / 1.241 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.798, allocations: 4 kB / 1.241 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.798e-05/0.7981, allocations: 4 kB / 1.241 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.7981, allocations: 0 / 1.241 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.7982, allocations: 0 / 1.241 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.7983, allocations: 3.984 kB / 1.241 GB, free: 13.88 MB / 0.9669 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.0001654/0.7984, allocations: 166.4 kB / 1.242 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.7985, allocations: 7.922 kB / 1.242 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004497/0.7989, allocations: 324.6 kB / 1.242 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.7989, allocations: 4.031 kB / 1.242 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.799, allocations: 0 / 1.242 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.799, allocations: 85.05 kB / 1.242 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.731e-05/0.7991, allocations: 0 / 1.242 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.7993, allocations: 4 kB / 1.242 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.7993, allocations: 0 / 1.242 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004412/0.7998, allocations: 392.7 kB / 1.242 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004944/0.8003, allocations: 486.8 kB / 1.243 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001699/0.8004, allocations: 143.9 kB / 1.243 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001558/0.8006, allocations: 143.3 kB / 1.243 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of Backend: time 8.01e-07/0.8006, allocations: 0 / 1.243 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004846/0.8055, allocations: 1.058 MB / 1.244 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001963/0.8075, allocations: 1.286 MB / 1.245 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of Templates: time 0.02538/0.8329, allocations: 12.25 MB / 1.257 GB, free: 13.59 MB / 0.9825 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