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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001362/0.001362, allocations: 111 kB / 16.37 MB, free: 6.012 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.00138/0.00138, allocations: 190.1 kB / 17.31 MB, free: 5.613 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.421/2.421, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 65.19 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3176, allocations: 153 MB / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00261/0.3203, allocations: 1.267 MB / 1.028 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.006811/0.3271, allocations: 4.484 MB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.883e-05/0.3272, allocations: 8 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.27e-05/0.3273, allocations: 0 / 1.032 GB, free: 12.22 MB / 0.8106 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.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.0041/0.3314, allocations: 1.492 MB / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.419e-05/0.3315, allocations: 39.89 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.077e-05/0.3316, allocations: 15.88 kB / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.052e-05/0.3316, allocations: 0 / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.29e-05/0.3317, allocations: 4 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.545e-05/0.3317, allocations: 29.25 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.3318, allocations: 0 / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003407/0.3352, allocations: 2.282 MB / 1.036 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.3353, allocations: 153.2 kB / 1.036 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.3354, allocations: 0 / 1.036 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00247/0.3378, allocations: 1.727 MB / 1.038 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3379, allocations: 0 / 1.038 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3379, allocations: 4 kB / 1.038 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3379, allocations: 0 / 1.038 GB, free: 6.469 MB / 0.8106 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.0008515/0.3387, allocations: 0.6164 MB / 1.039 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3388, allocations: 8.031 kB / 1.039 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.3388, allocations: 0.9375 kB / 1.039 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.3389, allocations: 176.4 kB / 1.039 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.339, allocations: 384 / 1.039 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.339, allocations: 4.125 kB / 1.039 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.3392, allocations: 173.6 kB / 1.039 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.3392, allocations: 0 / 1.039 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.3392, allocations: 4 kB / 1.039 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3392, allocations: 0 / 1.039 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.3394, allocations: 283.8 kB / 1.039 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002545/0.3397, allocations: 281.6 kB / 1.039 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.3398, allocations: 162.5 kB / 1.04 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3399, allocations: 148.8 kB / 1.04 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.3399, allocations: 0 / 1.04 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.34, allocations: 38.56 kB / 1.04 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.34, allocations: 0 / 1.04 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0004042/0.3404, allocations: 449.5 kB / 1.04 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.3404, allocations: 55.39 kB / 1.04 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.3405, allocations: 169.8 kB / 1.04 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.3406, allocations: 25.7 kB / 1.04 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.3406, allocations: 80.14 kB / 1.041 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.3406, allocations: 16.03 kB / 1.041 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.3407, allocations: 13.72 kB / 1.041 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.3408, allocations: 314.8 kB / 1.041 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.3409, allocations: 143.9 kB / 1.041 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.3411, allocations: 139.9 kB / 1.041 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.3413, allocations: 284.8 kB / 1.041 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3413, allocations: 0 / 1.041 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002503/0.3415, allocations: 321.5 kB / 1.042 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3416, allocations: 8.094 kB / 1.042 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3416, allocations: 0 / 1.042 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3416, allocations: 0 / 1.042 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.355e-05/0.3417, allocations: 4 kB / 1.042 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.3417, allocations: 0 / 1.042 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.737e-05/0.3418, allocations: 0 / 1.042 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3418, allocations: 0 / 1.042 GB, free: 2.395 MB / 0.8106 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.0001271/0.3419, allocations: 173.8 kB / 1.042 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.3419, allocations: 7.938 kB / 1.042 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002989/0.3422, allocations: 324.6 kB / 1.042 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3422, allocations: 0 / 1.042 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3422, allocations: 0 / 1.042 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3423, allocations: 0 / 1.042 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.3425, allocations: 301.5 kB / 1.043 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.3425, allocations: 0 / 1.043 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.3425, allocations: 0 / 1.043 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.3425, allocations: 0 / 1.043 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.3425, allocations: 4 kB / 1.043 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3425, allocations: 3.938 kB / 1.043 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3425, allocations: 32 / 1.043 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.3428, allocations: 345 kB / 1.043 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.822e-05/0.3428, allocations: 77.11 kB / 1.043 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.44e-05/0.3429, allocations: 8 kB / 1.043 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.421e-05/0.3429, allocations: 0 / 1.043 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.343, allocations: 3.984 kB / 1.043 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.343, allocations: 0 / 1.043 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.723e-05/0.343, allocations: 159.2 kB / 1.043 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.432e-06/0.3431, allocations: 0 / 1.043 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001241/0.3443, allocations: 0.5739 MB / 1.044 GB, free: 344 kB / 0.8106 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.002018/0.3463, allocations: 0.9089 MB / 1.045 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002557/0.3466, allocations: 283.9 kB / 1.045 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3466, allocations: 0 / 1.045 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.3467, allocations: 169.6 kB / 1.045 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.3469, allocations: 8.641 kB / 1.045 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.3481, allocations: 0.9299 MB / 1.046 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.3485, allocations: 0.8184 MB / 1.047 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.164e-05/0.3485, allocations: 8 kB / 1.047 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.3485, allocations: 15.42 kB / 1.047 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.3485, allocations: 0 / 1.047 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of Templates: time 0.01918/0.3677, allocations: 12.24 MB / 1.059 GB, free: 1.051 MB / 0.8262 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 -s gbode -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