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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.584/1.584, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.319/3.319, allocations: 429.6 MB / 0.673 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|TStep",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.327e-05/3.544e-05, allocations: 6.25 kB / 0.8777 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001813/0.001849, allocations: 0.579 MB / 0.8782 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.009361/0.01121, allocations: 4.839 MB / 0.8829 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.983e-05/0.01125, allocations: 0 / 0.8829 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.848e-05/0.01135, allocations: 0 / 0.8829 GB, free: 1.07 MB / 0.8386 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.005704/0.01705, allocations: 1.599 MB / 0.8845 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001131/0.01717, allocations: 31.89 kB / 0.8845 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.457e-05/0.01723, allocations: 15.98 kB / 0.8846 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.01728, allocations: 3.938 kB / 0.8846 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.881e-05/0.01731, allocations: 8 kB / 0.8846 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.444e-05/0.01737, allocations: 11.92 kB / 0.8846 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.01738, allocations: 0 / 0.8846 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004838/0.02222, allocations: 2.448 MB / 0.887 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.02241, allocations: 153.2 kB / 0.8871 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.02245, allocations: 0 / 0.8871 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.004338/0.02679, allocations: 2.042 MB / 0.8891 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.02679, allocations: 0 / 0.8891 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.463e-06/0.02679, allocations: 3.938 kB / 0.8891 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.0268, allocations: 0 / 0.8891 GB, free: 10.75 MB / 0.8542 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.001114/0.02791, allocations: 0.5499 MB / 0.8896 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.02795, allocations: 12.03 kB / 0.8897 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/0.028, allocations: 0.9375 kB / 0.8897 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.02814, allocations: 109.8 kB / 0.8898 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.02815, allocations: 384 / 0.8898 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.02816, allocations: 384 / 0.8898 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.02841, allocations: 174.2 kB / 0.8899 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.02843, allocations: 3.938 kB / 0.8899 GB, free: 9.844 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.02844, allocations: 3.984 kB / 0.8899 GB, free: 9.84 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.02845, allocations: 4 kB / 0.8899 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.02873, allocations: 283.9 kB / 0.8902 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.02903, allocations: 237.3 kB / 0.8904 GB, free: 9.297 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.02922, allocations: 162.5 kB / 0.8906 GB, free: 9.129 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.02939, allocations: 140.9 kB / 0.8907 GB, free: 8.988 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.02941, allocations: 0 / 0.8907 GB, free: 8.988 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.02945, allocations: 42.55 kB / 0.8908 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.02945, allocations: 0 / 0.8908 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0005821/0.03003, allocations: 461.4 kB / 0.8912 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.03008, allocations: 51.41 kB / 0.8913 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.03026, allocations: 165.8 kB / 0.8914 GB, free: 8.246 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.03029, allocations: 25.7 kB / 0.8914 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.03033, allocations: 80.14 kB / 0.8915 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.03036, allocations: 4 kB / 0.8915 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.03039, allocations: 13.72 kB / 0.8915 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.03057, allocations: 315.1 kB / 0.8918 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.0307, allocations: 140 kB / 0.892 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.03084, allocations: 147.9 kB / 0.8921 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.03113, allocations: 288.7 kB / 0.8924 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.03113, allocations: 0 / 0.8924 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003276/0.03146, allocations: 313.5 kB / 0.8927 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.03148, allocations: 8 kB / 0.8927 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.03149, allocations: 0 / 0.8927 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.03151, allocations: 3.938 kB / 0.8927 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.236e-05/0.03157, allocations: 3.984 kB / 0.8927 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.03158, allocations: 4.094 kB / 0.8927 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.377e-05/0.03159, allocations: 4 kB / 0.8927 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.0316, allocations: 0 / 0.8927 GB, free: 6.891 MB / 0.8542 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.0001463/0.03174, allocations: 165.8 kB / 0.8929 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-06/0.03175, allocations: 0 / 0.8929 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.03215, allocations: 324.6 kB / 0.8932 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.03216, allocations: 3.938 kB / 0.8932 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.03216, allocations: 0 / 0.8932 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.03216, allocations: 0 / 0.8932 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.0324, allocations: 241.2 kB / 0.8934 GB, free: 6.121 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.0324, allocations: 4.031 kB / 0.8934 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.0324, allocations: 0 / 0.8934 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.03241, allocations: 0 / 0.8934 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.03241, allocations: 0 / 0.8934 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.03241, allocations: 0 / 0.8934 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.03242, allocations: 3.938 kB / 0.8934 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.03278, allocations: 345 kB / 0.8937 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-06/0.03279, allocations: 4 kB / 0.8937 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.0328, allocations: 0 / 0.8937 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.146e-05/0.03281, allocations: 3.984 kB / 0.8937 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/0.03283, allocations: 3.938 kB / 0.8938 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.03284, allocations: 8.031 kB / 0.8938 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001121/0.03295, allocations: 147.2 kB / 0.8939 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.03295, allocations: 0 / 0.8939 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00137/0.03432, allocations: 0.5529 MB / 0.8944 GB, free: 5.039 MB / 0.8542 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.003062/0.03738, allocations: 1.019 MB / 0.8954 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003482/0.03773, allocations: 287.9 kB / 0.8957 GB, free: 3.84 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.03773, allocations: 4.062 kB / 0.8957 GB, free: 3.836 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.03791, allocations: 165.6 kB / 0.8959 GB, free: 3.668 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.03808, allocations: 4 kB / 0.8959 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.03948, allocations: 0.9635 MB / 0.8968 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.03972, allocations: 209.1 kB / 0.897 GB, free: 2.445 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.079e-05/0.03974, allocations: 7.484 kB / 0.897 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.03978, allocations: 20.48 kB / 0.897 GB, free: 2.422 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.03978, allocations: 7.938 kB / 0.8971 GB, free: 2.414 MB / 0.8542 GB Notification: Performance of Templates: time 0.02397/0.06375, allocations: 12.66 MB / 0.9094 GB, free: 5.773 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 800] 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/jenkins/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.400363310938701]