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.001176/0.001176, allocations: 105.8 kB / 16.36 MB, free: 6.336 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.001166/0.001166, allocations: 198 kB / 17.3 MB, free: 5.883 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.523/2.523, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.72 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2683, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002225/0.2706, allocations: 1.273 MB / 1.028 GB, free: 0.75 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00625/0.2769, allocations: 4.48 MB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.624e-05/0.2769, allocations: 0 / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.296e-05/0.277, allocations: 0 / 1.032 GB, free: 12.25 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.003745/0.2808, allocations: 1.493 MB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.038e-05/0.2809, allocations: 39.89 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.519e-05/0.281, allocations: 15.92 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.063e-05/0.281, allocations: 4 kB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.988e-05/0.281, allocations: 4 kB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.305e-05/0.2811, allocations: 25.22 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.607e-06/0.2811, allocations: 0 / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003038/0.2841, allocations: 2.285 MB / 1.036 GB, free: 8.375 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.2843, allocations: 145.2 kB / 1.036 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.2843, allocations: 4 kB / 1.036 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002245/0.2866, allocations: 1.739 MB / 1.038 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2866, allocations: 0 / 1.038 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2866, allocations: 0 / 1.038 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2866, allocations: 0 / 1.038 GB, free: 6.488 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.0008032/0.2874, allocations: 0.6125 MB / 1.039 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2874, allocations: 12.03 kB / 1.039 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.2875, allocations: 4.938 kB / 1.039 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.2876, allocations: 164.4 kB / 1.039 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.2876, allocations: 8.359 kB / 1.039 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.2876, allocations: 4.125 kB / 1.039 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.2878, allocations: 169.6 kB / 1.039 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.2878, allocations: 0 / 1.039 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.2878, allocations: 0 / 1.039 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2879, allocations: 0 / 1.039 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.288, allocations: 283.8 kB / 1.039 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002457/0.2883, allocations: 285.6 kB / 1.039 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.2884, allocations: 162.5 kB / 1.04 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.2885, allocations: 148.8 kB / 1.04 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-06/0.2886, allocations: 4 kB / 1.04 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.2886, allocations: 30.56 kB / 1.04 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.2886, allocations: 0 / 1.04 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0003782/0.289, allocations: 449.5 kB / 1.04 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.289, allocations: 55.41 kB / 1.04 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.2891, allocations: 173.9 kB / 1.04 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.2891, allocations: 29.7 kB / 1.04 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/0.2892, allocations: 80.14 kB / 1.041 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.2892, allocations: 7.844 kB / 1.041 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.2892, allocations: 13.72 kB / 1.041 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.344e-05/0.2893, allocations: 318.8 kB / 1.041 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.401e-05/0.2894, allocations: 139.9 kB / 1.041 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.904e-05/0.2895, allocations: 140.1 kB / 1.041 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.2897, allocations: 288.8 kB / 1.041 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2897, allocations: 0 / 1.041 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002353/0.29, allocations: 321.5 kB / 1.042 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.29, allocations: 4 kB / 1.042 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.29, allocations: 0 / 1.042 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.29, allocations: 0 / 1.042 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.787e-05/0.2901, allocations: 4 kB / 1.042 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2901, allocations: 3.938 kB / 1.042 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.696e-05/0.2902, allocations: 0 / 1.042 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.2902, allocations: 4.031 kB / 1.042 GB, free: 2.414 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.0001004/0.2903, allocations: 177.8 kB / 1.042 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.869e-06/0.2903, allocations: 3.938 kB / 1.042 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.2906, allocations: 316.7 kB / 1.042 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2906, allocations: 3.938 kB / 1.042 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.2906, allocations: 0 / 1.042 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2906, allocations: 0 / 1.042 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.2908, allocations: 297.5 kB / 1.043 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.2908, allocations: 4.031 kB / 1.043 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.2908, allocations: 0 / 1.043 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.2908, allocations: 0 / 1.043 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.2909, allocations: 4 kB / 1.043 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2909, allocations: 4 kB / 1.043 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.2909, allocations: 3.984 kB / 1.043 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.2911, allocations: 341 kB / 1.043 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.2911, allocations: 81.11 kB / 1.043 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.84e-05/0.2912, allocations: 4.031 kB / 1.043 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.394e-05/0.2913, allocations: 0 / 1.043 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.2913, allocations: 0 / 1.043 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.2913, allocations: 0 / 1.043 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.213e-05/0.2914, allocations: 151.2 kB / 1.043 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2914, allocations: 0 / 1.043 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001184/0.2926, allocations: 0.57 MB / 1.044 GB, free: 384 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.001951/0.2946, allocations: 0.9286 MB / 1.045 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002802/0.2948, allocations: 283.9 kB / 1.045 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2949, allocations: 0 / 1.045 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.295, allocations: 165.6 kB / 1.045 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.2952, allocations: 8.641 kB / 1.045 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.2963, allocations: 0.93 MB / 1.046 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/0.2968, allocations: 0.8146 MB / 1.047 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.091e-05/0.2968, allocations: 2.375 kB / 1.047 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.2968, allocations: 15.38 kB / 1.047 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.2968, allocations: 0 / 1.047 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of Templates: time 0.01919/0.316, allocations: 12.24 MB / 1.059 GB, free: 1.078 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 cvode -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