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.001503/0.001503, allocations: 100.1 kB / 15.88 MB, free: 12 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.001619/0.00162, allocations: 196 kB / 16.79 MB, free: 6.809 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.489/1.489, allocations: 222.9 MB / 240.5 MB, free: 4.59 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.651/2.651, allocations: 437 MB / 0.7106 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 67.89 kB / 0.8693 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8283/0.8298, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.003145/0.833, allocations: 1.33 MB / 1.019 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.008466/0.8415, allocations: 4.778 MB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.717e-05/0.8416, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.055e-05/0.8418, allocations: 0 / 1.023 GB, free: 12.63 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.004317/0.8461, allocations: 1.189 MB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001002/0.8462, allocations: 19.98 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.49e-05/0.8463, allocations: 35.91 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.088e-05/0.8464, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.705e-05/0.8464, allocations: 7.984 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.8465, allocations: 66.5 kB / 1.025 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.8465, allocations: 0 / 1.025 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004064/0.8506, allocations: 2.246 MB / 1.027 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.8508, allocations: 153.2 kB / 1.027 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.419e-05/0.8509, allocations: 33.28 kB / 1.027 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002439/0.8533, allocations: 1.293 MB / 1.028 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.8533, allocations: 0 / 1.028 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8533, allocations: 4 kB / 1.028 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.8533, allocations: 4 kB / 1.028 GB, free: 7.586 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.001301/0.8546, allocations: 0.6204 MB / 1.029 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.8547, allocations: 11.98 kB / 1.029 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.8548, allocations: 4.875 kB / 1.029 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.8549, allocations: 172.4 kB / 1.029 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.8549, allocations: 384 / 1.029 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.8549, allocations: 4.125 kB / 1.029 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.8551, allocations: 173.6 kB / 1.029 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.8552, allocations: 4 kB / 1.029 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.8552, allocations: 0 / 1.029 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.8552, allocations: 0 / 1.029 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.8554, allocations: 283.9 kB / 1.029 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.8557, allocations: 285.6 kB / 1.03 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.8559, allocations: 154.6 kB / 1.03 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.856, allocations: 148.8 kB / 1.03 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.856, allocations: 4 kB / 1.03 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.8561, allocations: 34.56 kB / 1.03 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.153e-06/0.8561, allocations: 7.938 kB / 1.03 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0004242/0.8565, allocations: 449.5 kB / 1.03 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.8565, allocations: 51.41 kB / 1.031 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.8567, allocations: 169.8 kB / 1.031 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.8567, allocations: 25.7 kB / 1.031 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.8567, allocations: 84.39 kB / 1.031 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.8568, allocations: 7.906 kB / 1.031 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.8568, allocations: 9.719 kB / 1.031 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.8569, allocations: 310.8 kB / 1.031 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.857, allocations: 143.9 kB / 1.031 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.8571, allocations: 139.9 kB / 1.031 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.8573, allocations: 296.7 kB / 1.032 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.8574, allocations: 0 / 1.032 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002513/0.8576, allocations: 321.6 kB / 1.032 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.8576, allocations: 4 kB / 1.032 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.8577, allocations: 0 / 1.032 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.8577, allocations: 0 / 1.032 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.791e-05/0.8577, allocations: 0 / 1.032 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.8578, allocations: 4 kB / 1.032 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.34e-05/0.8578, allocations: 0 / 1.032 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.8579, allocations: 3.938 kB / 1.032 GB, free: 3.504 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.0001302/0.858, allocations: 166.3 kB / 1.032 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.858, allocations: 15.91 kB / 1.032 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.8583, allocations: 324.6 kB / 1.032 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.8583, allocations: 3.984 kB / 1.032 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8583, allocations: 0 / 1.032 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.8583, allocations: 4 kB / 1.032 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.8586, allocations: 285.6 kB / 1.033 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.8586, allocations: 4 kB / 1.033 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-07/0.8586, allocations: 0 / 1.033 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.8586, allocations: 0 / 1.033 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.8586, allocations: 4.031 kB / 1.033 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8586, allocations: 0 / 1.033 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8586, allocations: 0 / 1.033 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.8589, allocations: 344.9 kB / 1.033 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.859, allocations: 77.11 kB / 1.033 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.868e-05/0.859, allocations: 4 kB / 1.033 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.75e-05/0.8591, allocations: 0 / 1.033 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.8591, allocations: 3.984 kB / 1.033 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.8591, allocations: 4.031 kB / 1.033 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.211e-05/0.8592, allocations: 155.2 kB / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8592, allocations: 0 / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001528/0.8608, allocations: 0.5739 MB / 1.034 GB, free: 1.461 MB / 0.7794 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.002979/0.8637, allocations: 0.9172 MB / 1.035 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002805/0.864, allocations: 287.9 kB / 1.035 GB, free: 368 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.864, allocations: 3.938 kB / 1.035 GB, free: 364 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.8642, allocations: 169.6 kB / 1.035 GB, free: 188 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.8644, allocations: 9.516 kB / 1.035 GB, free: 180 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.8649, allocations: 321.4 kB / 1.036 GB, free: 15.83 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.8651, allocations: 0.677 MB / 1.036 GB, free: 15.13 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.8652, allocations: 11.44 kB / 1.036 GB, free: 15.12 MB / 0.795 GB Notification: Performance of SimCode: time 3.81e-07/0.8652, allocations: 4.125 kB / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of Templates: time 0.0216/0.8868, allocations: 12.1 MB / 1.048 GB, free: 3.016 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