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.001426/0.001426, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001772/0.001772, allocations: 195 kB / 16.14 MB, free: 6.648 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 / 239.8 MB, free: 4.594 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.49/2.49, allocations: 437 MB / 0.7099 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001128, allocations: 64.14 kB / 0.8686 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6906/0.6917, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002691/0.6945, allocations: 1.323 MB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.007261/0.7017, allocations: 4.778 MB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.7018, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.359e-05/0.7019, 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.003508/0.7054, allocations: 1.185 MB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.825e-05/0.7055, allocations: 23.97 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.778e-05/0.7056, allocations: 39.89 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.7056, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.286e-05/0.7057, allocations: 4 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.7058, allocations: 62.56 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.7058, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003669/0.7095, allocations: 2.242 MB / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.7096, allocations: 157.1 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.577e-05/0.7097, allocations: 25.28 kB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003765/0.7135, allocations: 1.811 MB / 1.028 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7135, allocations: 0 / 1.028 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.213e-06/0.7135, allocations: 4 kB / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.7135, allocations: 4 kB / 1.028 GB, free: 7.07 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.001086/0.7146, allocations: 0.6165 MB / 1.029 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.7147, allocations: 11.98 kB / 1.029 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.7147, allocations: 0.9375 kB / 1.029 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.7148, allocations: 164.4 kB / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.7149, allocations: 4.312 kB / 1.029 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.7149, allocations: 8.109 kB / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.7151, allocations: 169.6 kB / 1.029 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.7151, allocations: 8 kB / 1.029 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.7151, allocations: 0 / 1.029 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.7151, allocations: 0 / 1.029 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.7153, allocations: 287.8 kB / 1.029 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.7157, allocations: 285.6 kB / 1.03 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.7158, allocations: 158.5 kB / 1.03 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.7159, allocations: 144.8 kB / 1.03 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.716, allocations: 0 / 1.03 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.716, allocations: 42.55 kB / 1.03 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.716, allocations: 0 / 1.03 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0004456/0.7165, allocations: 453.5 kB / 1.03 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.7165, allocations: 51.41 kB / 1.03 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.7167, allocations: 165.8 kB / 1.03 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.7167, allocations: 25.7 kB / 1.031 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.668e-05/0.7168, allocations: 80.14 kB / 1.031 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.7168, allocations: 16.16 kB / 1.031 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.7169, allocations: 13.66 kB / 1.031 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.717, allocations: 314.8 kB / 1.031 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.7171, allocations: 140 kB / 1.031 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.848e-05/0.7172, allocations: 139.9 kB / 1.031 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.7175, allocations: 292.7 kB / 1.031 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7175, allocations: 3.938 kB / 1.031 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002487/0.7178, allocations: 321.6 kB / 1.032 GB, free: 3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.7178, allocations: 4 kB / 1.032 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.7178, allocations: 0 / 1.032 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.7178, allocations: 0 / 1.032 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.7179, allocations: 7.984 kB / 1.032 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.7179, allocations: 0 / 1.032 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.457e-05/0.718, allocations: 0 / 1.032 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.718, allocations: 0 / 1.032 GB, free: 2.988 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.0001144/0.7181, allocations: 166.3 kB / 1.032 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.7181, allocations: 7.938 kB / 1.032 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.7184, allocations: 328.7 kB / 1.032 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.7184, allocations: 3.938 kB / 1.032 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7184, allocations: 0 / 1.032 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.7184, allocations: 0 / 1.032 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.7187, allocations: 285.6 kB / 1.033 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.7187, allocations: 4 kB / 1.033 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.7187, allocations: 0 / 1.033 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.7187, allocations: 0 / 1.033 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.7187, allocations: 0 / 1.033 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.7187, allocations: 4.016 kB / 1.033 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7187, allocations: 8 kB / 1.033 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.719, allocations: 337 kB / 1.033 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.719, allocations: 81.09 kB / 1.033 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.901e-05/0.7191, allocations: 4 kB / 1.033 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-05/0.7192, allocations: 0 / 1.033 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.7192, allocations: 3.938 kB / 1.033 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.7192, allocations: 0 / 1.033 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.156e-05/0.7193, allocations: 155.3 kB / 1.033 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7193, allocations: 0 / 1.033 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001505/0.7208, allocations: 0.5779 MB / 1.034 GB, free: 0.9492 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.00271/0.7235, allocations: 0.9171 MB / 1.035 GB, free: 132 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000312/0.7239, allocations: 287.9 kB / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7239, allocations: 0 / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.724, allocations: 169.6 kB / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.7242, allocations: 13.42 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.7255, allocations: 1.006 MB / 1.036 GB, free: 14.63 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.7259, allocations: 0.8225 MB / 1.037 GB, free: 13.78 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.326e-05/0.7259, allocations: 7.938 kB / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.726, allocations: 11.44 kB / 1.037 GB, free: 13.76 MB / 0.795 GB Notification: Performance of SimCode: time 2.81e-07/0.726, allocations: 0 / 1.037 GB, free: 13.76 MB / 0.795 GB Notification: Performance of Templates: time 0.02047/0.7464, allocations: 12.13 MB / 1.049 GB, free: 1.684 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