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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001733/0.001733, allocations: 108 kB / 15.6 MB, free: 132 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.001928/0.001928, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.439/1.439, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.702/2.702, allocations: 437 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 67.91 kB / 0.8693 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6657/0.6676, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.003031/0.6706, allocations: 1.249 MB / 1.019 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.007671/0.6783, allocations: 4.492 MB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.6784, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.396e-05/0.6785, allocations: 8 kB / 1.023 GB, free: 12.7 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.004456/0.683, allocations: 1.496 MB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001031/0.6831, allocations: 35.89 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.731e-05/0.6831, allocations: 12 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.24e-05/0.6832, allocations: 0 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.862e-05/0.6832, allocations: 7.984 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.628e-05/0.6833, allocations: 25.28 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.6833, allocations: 0 / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003898/0.6872, allocations: 2.204 MB / 1.027 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.6874, allocations: 153.2 kB / 1.027 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.6874, allocations: 4 kB / 1.027 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003258/0.6907, allocations: 1.737 MB / 1.028 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6907, allocations: 0 / 1.028 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6907, allocations: 4 kB / 1.028 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.6907, allocations: 0 / 1.028 GB, free: 7.016 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.00119/0.6919, allocations: 0.6164 MB / 1.029 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.692, allocations: 15.98 kB / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.692, allocations: 0.9375 kB / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.6922, allocations: 160.4 kB / 1.029 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.6922, allocations: 4.375 kB / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.6922, allocations: 8.062 kB / 1.029 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.6925, allocations: 169.6 kB / 1.029 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.6925, allocations: 0 / 1.029 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.6925, allocations: 3.938 kB / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.6925, allocations: 4 kB / 1.029 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002583/0.6928, allocations: 283.9 kB / 1.03 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.6931, allocations: 289.7 kB / 1.03 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.6933, allocations: 154.5 kB / 1.03 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.6934, allocations: 152.8 kB / 1.03 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-06/0.6934, allocations: 7.984 kB / 1.03 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.6935, allocations: 34.5 kB / 1.03 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.6935, allocations: 0 / 1.03 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0004812/0.694, allocations: 457.5 kB / 1.031 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.694, allocations: 51.41 kB / 1.031 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.6942, allocations: 165.8 kB / 1.031 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.6942, allocations: 25.95 kB / 1.031 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.6942, allocations: 84.14 kB / 1.031 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.6943, allocations: 3.906 kB / 1.031 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.6943, allocations: 21.7 kB / 1.031 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6944, allocations: 310.8 kB / 1.031 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.6946, allocations: 136 kB / 1.032 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.6947, allocations: 143.9 kB / 1.032 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.6949, allocations: 288.7 kB / 1.032 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.695, allocations: 8.062 kB / 1.032 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000296/0.6953, allocations: 313.5 kB / 1.032 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.6953, allocations: 5.406 kB / 1.032 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.6953, allocations: 0 / 1.032 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.6953, allocations: 7.984 kB / 1.032 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.6954, allocations: 0 / 1.032 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.6954, allocations: 0 / 1.032 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.035e-05/0.6954, allocations: 0 / 1.032 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.6955, allocations: 0 / 1.032 GB, free: 2.938 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.000151/0.6956, allocations: 173.8 kB / 1.032 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.6956, allocations: 3.938 kB / 1.032 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000395/0.696, allocations: 324.6 kB / 1.033 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.6961, allocations: 0 / 1.033 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.6961, allocations: 3.938 kB / 1.033 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.6961, allocations: 4 kB / 1.033 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.6963, allocations: 285.6 kB / 1.033 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.6963, allocations: 0 / 1.033 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.6964, allocations: 0 / 1.033 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.6964, allocations: 32 / 1.033 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.6964, allocations: 11.98 kB / 1.033 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.6964, allocations: 0 / 1.033 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6964, allocations: 0 / 1.033 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.6967, allocations: 337 kB / 1.033 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.6967, allocations: 85.03 kB / 1.033 GB, free: 1.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.816e-05/0.6968, allocations: 0 / 1.033 GB, free: 1.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.6969, allocations: 4 kB / 1.033 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.6969, allocations: 4.031 kB / 1.033 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.6969, allocations: 4 kB / 1.033 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000101/0.697, allocations: 147.2 kB / 1.034 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.697, allocations: 3.938 kB / 1.034 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001377/0.6984, allocations: 0.5622 MB / 1.034 GB, free: 0.9102 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.002493/0.7009, allocations: 0.9298 MB / 1.035 GB, free: 80 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003337/0.7013, allocations: 283.9 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7013, allocations: 0 / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.7014, allocations: 169.6 kB / 1.035 GB, free: 15.63 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.7017, allocations: 10.12 kB / 1.035 GB, free: 15.62 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.703, allocations: 0.9393 MB / 1.036 GB, free: 14.65 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005057/0.7035, allocations: 0.8185 MB / 1.037 GB, free: 13.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.24e-05/0.7035, allocations: 4 kB / 1.037 GB, free: 13.8 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.7035, allocations: 15.44 kB / 1.037 GB, free: 13.79 MB / 0.795 GB Notification: Performance of SimCode: time 4.01e-07/0.7036, allocations: 0 / 1.037 GB, free: 13.79 MB / 0.795 GB Notification: Performance of Templates: time 0.0223/0.7259, allocations: 12.24 MB / 1.049 GB, free: 1.586 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/jenkins/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