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.001733/0.001733, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001864/0.001864, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.499/1.499, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.834/2.834, allocations: 482.2 MB / 0.7548 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001939, allocations: 67.67 kB / 0.9238 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9977/0.9996, allocations: 162.2 MB / 1.082 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002783/1.002, allocations: 1.325 MB / 1.083 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009532/1.012, allocations: 4.501 MB / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/1.012, allocations: 1 kB / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.634e-05/1.012, allocations: 0.8438 kB / 1.088 GB, free: 13.82 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 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.006155/1.018, allocations: 1.343 MB / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/1.019, allocations: 33.42 kB / 1.089 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.455e-05/1.019, allocations: 13.5 kB / 1.089 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.338e-05/1.019, allocations: 2.219 kB / 1.089 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.486e-05/1.019, allocations: 5.359 kB / 1.089 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/1.019, allocations: 70.95 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/1.019, allocations: 0 / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005136/1.024, allocations: 2.244 MB / 1.091 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002205/1.024, allocations: 157.5 kB / 1.092 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.581e-05/1.024, allocations: 25.41 kB / 1.092 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003841/1.028, allocations: 1.241 MB / 1.093 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/1.028, allocations: 4 kB / 1.093 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.745e-06/1.028, allocations: 5.25 kB / 1.093 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.833e-06/1.028, allocations: 0 / 1.093 GB, free: 12.33 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.001829/1.03, allocations: 0.6178 MB / 1.093 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/1.03, allocations: 11.05 kB / 1.094 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/1.03, allocations: 0.9375 kB / 1.094 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/1.03, allocations: 167.6 kB / 1.094 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/1.03, allocations: 1.469 kB / 1.094 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/1.03, allocations: 4.125 kB / 1.094 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/1.031, allocations: 176.8 kB / 1.094 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/1.031, allocations: 0 / 1.094 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/1.031, allocations: 1.062 kB / 1.094 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/1.031, allocations: 0 / 1.094 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003372/1.031, allocations: 284.5 kB / 1.094 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/1.032, allocations: 288 kB / 1.094 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/1.032, allocations: 161.1 kB / 1.095 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/1.032, allocations: 148.9 kB / 1.095 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/1.032, allocations: 5.969 kB / 1.095 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/1.032, allocations: 31.17 kB / 1.095 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/1.032, allocations: 0 / 1.095 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.000614/1.033, allocations: 454.1 kB / 1.095 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/1.033, allocations: 51.41 kB / 1.095 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/1.033, allocations: 169.5 kB / 1.095 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/1.033, allocations: 25.95 kB / 1.095 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/1.033, allocations: 85.3 kB / 1.095 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/1.033, allocations: 0.7969 kB / 1.095 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/1.033, allocations: 12.16 kB / 1.095 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001733/1.033, allocations: 316.5 kB / 1.096 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/1.033, allocations: 140.1 kB / 1.096 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/1.033, allocations: 141.1 kB / 1.096 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/1.034, allocations: 290.2 kB / 1.096 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.034, allocations: 4.062 kB / 1.096 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003763/1.034, allocations: 314.6 kB / 1.097 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/1.034, allocations: 5.906 kB / 1.097 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/1.034, allocations: 0 / 1.097 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/1.034, allocations: 1.344 kB / 1.097 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.883e-05/1.034, allocations: 5.594 kB / 1.097 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/1.034, allocations: 5.531 kB / 1.097 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.29e-05/1.034, allocations: 0 / 1.097 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/1.034, allocations: 1.125 kB / 1.097 GB, free: 10.56 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.000177/1.035, allocations: 171.6 kB / 1.097 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/1.035, allocations: 13.16 kB / 1.097 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004554/1.035, allocations: 320.2 kB / 1.097 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/1.035, allocations: 1.578 kB / 1.097 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.035, allocations: 0 / 1.097 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/1.035, allocations: 5.172 kB / 1.097 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/1.036, allocations: 292.6 kB / 1.097 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/1.036, allocations: 0 / 1.097 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-06/1.036, allocations: 2.094 kB / 1.097 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/1.036, allocations: 4.031 kB / 1.097 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/1.036, allocations: 8.734 kB / 1.097 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/1.036, allocations: 2.156 kB / 1.097 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.036, allocations: 0 / 1.097 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/1.036, allocations: 335.5 kB / 1.098 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/1.036, allocations: 77.91 kB / 1.098 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.658e-05/1.036, allocations: 1.062 kB / 1.098 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/1.036, allocations: 5.906 kB / 1.098 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/1.036, allocations: 4 kB / 1.098 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/1.036, allocations: 1.094 kB / 1.098 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001264/1.036, allocations: 154.3 kB / 1.098 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/1.036, allocations: 0 / 1.098 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00272/1.039, allocations: 0.5661 MB / 1.099 GB, free: 9.809 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.003519/1.043, allocations: 0.925 MB / 1.099 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003627/1.043, allocations: 283.7 kB / 1.1 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.043, allocations: 0 / 1.1 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001829/1.043, allocations: 167.9 kB / 1.1 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/1.043, allocations: 13.33 kB / 1.1 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005738/1.044, allocations: 332.5 kB / 1.1 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/1.044, allocations: 0.6733 MB / 1.101 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/1.044, allocations: 16.7 kB / 1.101 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/1.044, allocations: 0 / 1.101 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of Templates: time 0.0313/1.076, allocations: 12.1 MB / 1.113 GB, free: 5.602 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