Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002094/0.002094, allocations: 81.34 kB / 19.18 MB, free: 2.531 MB / 14.72 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.002766/0.002766, allocations: 166.6 kB / 22.46 MB, free: 5.355 MB / 14.72 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.573/1.573, allocations: 177.1 MB / 202.8 MB, free: 9.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.036/3.036, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.9815 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.628e-05, allocations: 5.516 kB / 0.9815 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001726/0.001762, allocations: 0.5723 MB / 0.9821 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00872/0.01048, allocations: 4.832 MB / 0.9868 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.01052, allocations: 0 / 0.9868 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 7.663e-05/0.01059, allocations: 3.984 kB / 0.9868 GB, free: 5.441 MB / 0.8887 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.004806/0.0154, allocations: 1.605 MB / 0.9883 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 9.806e-05/0.0155, allocations: 39.89 kB / 0.9884 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.996e-05/0.01556, allocations: 7.938 kB / 0.9884 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.147e-05/0.01561, allocations: 4 kB / 0.9884 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.361e-05/0.01564, allocations: 0 / 0.9884 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.798e-05/0.01569, allocations: 7.984 kB / 0.9884 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.01571, allocations: 7.938 kB / 0.9884 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004117/0.01982, allocations: 2.448 MB / 0.9908 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.01999, allocations: 153.2 kB / 0.9909 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/0.02002, allocations: 0 / 0.9909 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002897/0.02291, allocations: 2.046 MB / 0.9929 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.02292, allocations: 3.938 kB / 0.9929 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.794e-06/0.02292, allocations: 0 / 0.9929 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.02293, allocations: 4 kB / 0.9929 GB, free: 15.1 MB / 0.9044 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.0009098/0.02384, allocations: 0.5499 MB / 0.9935 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.02388, allocations: 8.031 kB / 0.9935 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.02392, allocations: 0.9375 kB / 0.9935 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.02405, allocations: 109.8 kB / 0.9936 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.02407, allocations: 384 / 0.9936 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.02409, allocations: 384 / 0.9936 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.02432, allocations: 170.2 kB / 0.9938 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.02433, allocations: 3.938 kB / 0.9938 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.02434, allocations: 0 / 0.9938 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.02435, allocations: 4 kB / 0.9938 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.02459, allocations: 287.8 kB / 0.994 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002491/0.02484, allocations: 245.2 kB / 0.9943 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.02501, allocations: 154.6 kB / 0.9944 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.02515, allocations: 144.9 kB / 0.9946 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.02516, allocations: 0 / 0.9946 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.02519, allocations: 34.56 kB / 0.9946 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.02519, allocations: 0 / 0.9946 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0005178/0.02571, allocations: 461.4 kB / 0.995 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.02576, allocations: 59.53 kB / 0.9951 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.02592, allocations: 161.8 kB / 0.9952 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.02594, allocations: 29.7 kB / 0.9953 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.02598, allocations: 80.14 kB / 0.9954 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.02601, allocations: 4 kB / 0.9954 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.02604, allocations: 9.719 kB / 0.9954 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.0262, allocations: 314.8 kB / 0.9957 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.02632, allocations: 139.9 kB / 0.9958 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.02645, allocations: 143.9 kB / 0.9959 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.02671, allocations: 280.9 kB / 0.9962 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.02671, allocations: 8 kB / 0.9962 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002972/0.02701, allocations: 317.5 kB / 0.9965 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.02702, allocations: 4 kB / 0.9965 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.02703, allocations: 4 kB / 0.9965 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.02705, allocations: 3.938 kB / 0.9965 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/0.02712, allocations: 0 / 0.9965 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.02712, allocations: 3.938 kB / 0.9965 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.078e-05/0.02713, allocations: 0 / 0.9965 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.02715, allocations: 7.984 kB / 0.9965 GB, free: 11.25 MB / 0.9044 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.0001415/0.02729, allocations: 165.9 kB / 0.9967 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.0273, allocations: 7.938 kB / 0.9967 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000351/0.02765, allocations: 324.5 kB / 0.997 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.02766, allocations: 3.938 kB / 0.997 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.02766, allocations: 4 kB / 0.997 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.02766, allocations: 0 / 0.997 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.0279, allocations: 237.3 kB / 0.9972 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.02791, allocations: 4 kB / 0.9972 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.02791, allocations: 4 kB / 0.9973 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.02791, allocations: 7.922 kB / 0.9973 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.02792, allocations: 4.031 kB / 0.9973 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.02792, allocations: 0 / 0.9973 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.02792, allocations: 3.938 kB / 0.9973 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.02825, allocations: 333 kB / 0.9976 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.02826, allocations: 8 kB / 0.9976 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.02827, allocations: 0 / 0.9976 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-06/0.02828, allocations: 0 / 0.9976 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.0283, allocations: 3.938 kB / 0.9976 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.0283, allocations: 0 / 0.9976 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001164/0.02842, allocations: 155.2 kB / 0.9977 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.02842, allocations: 4.125 kB / 0.9977 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001191/0.02961, allocations: 0.553 MB / 0.9983 GB, free: 9.391 MB / 0.9044 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.002783/0.03239, allocations: 1.021 MB / 0.9993 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003538/0.03275, allocations: 283.9 kB / 0.9996 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.03275, allocations: 0 / 0.9996 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.03291, allocations: 169.6 kB / 0.9997 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.03306, allocations: 128 / 0.9997 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.0343, allocations: 0.95 MB / 1.001 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.03452, allocations: 213.1 kB / 1.001 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.03454, allocations: 4 kB / 1.001 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.03457, allocations: 12.5 kB / 1.001 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of SimCode: time 3.81e-07/0.03457, allocations: 0 / 1.001 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of Templates: time 0.02315/0.05772, allocations: 12.67 MB / 1.013 GB, free: 10.16 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.618191093206406]