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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001144/0.001148, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.518/1.518, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.804/2.804, allocations: 437.8 MB / 0.7128 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003948, allocations: 8.234 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8579/0.8583, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001564/0.86, allocations: 0.9873 MB / 1.025 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.007189/0.8672, allocations: 4.68 MB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.8673, allocations: 0 / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.615e-05/0.8674, allocations: 0 / 1.029 GB, free: 10.21 MB / 0.7794 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‘. Notification: Performance of NFTyping.typeBindings: time 0.004125/0.8715, allocations: 1.182 MB / 1.03 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001022/0.8716, allocations: 27.89 kB / 1.03 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.87e-05/0.8717, allocations: 31.97 kB / 1.03 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.567e-05/0.8718, allocations: 4 kB / 1.03 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.498e-05/0.8718, allocations: 4 kB / 1.03 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.8719, allocations: 70.55 kB / 1.031 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.8719, allocations: 3.938 kB / 1.031 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004234/0.8762, allocations: 2.242 MB / 1.033 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.8763, allocations: 157.2 kB / 1.033 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.153e-05/0.8764, allocations: 50.98 kB / 1.033 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002551/0.879, allocations: 1.3 MB / 1.034 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.879, allocations: 0 / 1.034 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.936e-06/0.879, allocations: 4 kB / 1.034 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.879, allocations: 0 / 1.034 GB, free: 5.133 MB / 0.7794 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.001168/0.8802, allocations: 0.6048 MB / 1.035 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.8803, allocations: 19.98 kB / 1.035 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.8803, allocations: 0.9375 kB / 1.035 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.8804, allocations: 172.3 kB / 1.035 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.8804, allocations: 384 / 1.035 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.8805, allocations: 4.125 kB / 1.035 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.8807, allocations: 169.6 kB / 1.035 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.8807, allocations: 0 / 1.035 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.8807, allocations: 3.938 kB / 1.035 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.8807, allocations: 0 / 1.035 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.8809, allocations: 279.9 kB / 1.035 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.8812, allocations: 297.6 kB / 1.036 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.8814, allocations: 154.5 kB / 1.036 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.8815, allocations: 152.8 kB / 1.036 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.8815, allocations: 0 / 1.036 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.8816, allocations: 30.56 kB / 1.036 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.8816, allocations: 0 / 1.036 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0004339/0.882, allocations: 457.5 kB / 1.036 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.8821, allocations: 51.41 kB / 1.037 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.8822, allocations: 173.8 kB / 1.037 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.8822, allocations: 25.7 kB / 1.037 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.8823, allocations: 84.12 kB / 1.037 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.8823, allocations: 0 / 1.037 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/0.8823, allocations: 9.719 kB / 1.037 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.306e-05/0.8824, allocations: 315.1 kB / 1.037 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.8825, allocations: 147.9 kB / 1.037 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.8826, allocations: 139.9 kB / 1.037 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.8829, allocations: 284.8 kB / 1.038 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8829, allocations: 0 / 1.038 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002584/0.8831, allocations: 317.4 kB / 1.038 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.8832, allocations: 8 kB / 1.038 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.8832, allocations: 3.984 kB / 1.038 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.8832, allocations: 0 / 1.038 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/0.8833, allocations: 8.031 kB / 1.038 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.8833, allocations: 7.984 kB / 1.038 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.087e-05/0.8834, allocations: 7.938 kB / 1.038 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.8834, allocations: 0 / 1.038 GB, free: 1.051 MB / 0.7794 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.0001143/0.8835, allocations: 170.3 kB / 1.038 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.8835, allocations: 7.922 kB / 1.038 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.8838, allocations: 320.7 kB / 1.038 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.8838, allocations: 0 / 1.038 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.8838, allocations: 4.031 kB / 1.038 GB, free: 0.543 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.8839, allocations: 0 / 1.038 GB, free: 0.543 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.8841, allocations: 289.6 kB / 1.039 GB, free: 216 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.8841, allocations: 7.938 kB / 1.039 GB, free: 208 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-06/0.8841, allocations: 0 / 1.039 GB, free: 208 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.8841, allocations: 0 / 1.039 GB, free: 208 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.8841, allocations: 0 / 1.039 GB, free: 208 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.8841, allocations: 0 / 1.039 GB, free: 208 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.8841, allocations: 3.938 kB / 1.039 GB, free: 204 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.8844, allocations: 341 kB / 1.039 GB, free: 15.85 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.8845, allocations: 81.11 kB / 1.039 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.037e-05/0.8845, allocations: 7.984 kB / 1.039 GB, free: 15.74 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.8846, allocations: 0 / 1.039 GB, free: 15.74 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.8846, allocations: 0 / 1.039 GB, free: 15.74 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.8846, allocations: 0 / 1.039 GB, free: 15.74 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.644e-05/0.8847, allocations: 151.2 kB / 1.039 GB, free: 15.59 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8847, allocations: 0 / 1.039 GB, free: 15.59 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001712/0.8864, allocations: 0.5741 MB / 1.04 GB, free: 15.02 MB / 0.795 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.002971/0.8894, allocations: 0.9268 MB / 1.041 GB, free: 14.19 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002904/0.8897, allocations: 287.8 kB / 1.041 GB, free: 13.91 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.8897, allocations: 0 / 1.041 GB, free: 13.91 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.8899, allocations: 169.6 kB / 1.041 GB, free: 13.74 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.8901, allocations: 4.062 kB / 1.041 GB, free: 13.73 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/0.8906, allocations: 328.3 kB / 1.042 GB, free: 13.38 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.8908, allocations: 0.6692 MB / 1.042 GB, free: 12.69 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.8908, allocations: 15.42 kB / 1.042 GB, free: 12.67 MB / 0.795 GB Notification: Performance of SimCode: time 3.4e-07/0.8908, allocations: 0 / 1.042 GB, free: 12.67 MB / 0.795 GB Notification: Performance of Templates: time 0.02115/0.912, allocations: 12.04 MB / 1.054 GB, free: 0.6289 MB / 0.795 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/jenkins1/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