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.001441/0.001441, allocations: 115.5 kB / 17.13 MB, free: 6.004 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.001525/0.001525, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.567/1.567, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.988/2.988, allocations: 0.49 GB / 0.7923 GB, free: 1.336 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 71.89 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222/1.224, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002214/1.226, allocations: 1.274 MB / 1.323 GB, free: 24.15 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006216/1.232, allocations: 4.545 MB / 1.328 GB, free: 21.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/1.232, allocations: 4 kB / 1.328 GB, free: 21.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.188e-05/1.232, allocations: 4.672 kB / 1.328 GB, free: 21.12 MB / 1.061 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.005054/1.237, allocations: 1.527 MB / 1.329 GB, free: 20.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/1.238, allocations: 34.67 kB / 1.329 GB, free: 20.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.312e-05/1.238, allocations: 21.66 kB / 1.329 GB, free: 20.49 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.413e-05/1.238, allocations: 1.766 kB / 1.329 GB, free: 20.49 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.422e-05/1.238, allocations: 5.609 kB / 1.329 GB, free: 20.49 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.992e-05/1.238, allocations: 21.09 kB / 1.329 GB, free: 20.49 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/1.238, allocations: 4 kB / 1.329 GB, free: 20.48 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005423/1.243, allocations: 2.422 MB / 1.332 GB, free: 19.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002037/1.243, allocations: 148.7 kB / 1.332 GB, free: 19.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/1.243, allocations: 2.156 kB / 1.332 GB, free: 19.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004678/1.248, allocations: 1.747 MB / 1.333 GB, free: 19.28 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/1.248, allocations: 5.25 kB / 1.333 GB, free: 19.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.953e-06/1.248, allocations: 0 / 1.333 GB, free: 19.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.973e-06/1.248, allocations: 0.625 kB / 1.333 GB, free: 19.27 MB / 1.061 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.001752/1.25, allocations: 0.644 MB / 1.334 GB, free: 18.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/1.25, allocations: 9.844 kB / 1.334 GB, free: 18.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/1.25, allocations: 1.531 kB / 1.334 GB, free: 18.71 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/1.25, allocations: 168.4 kB / 1.334 GB, free: 18.51 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/1.25, allocations: 1 kB / 1.334 GB, free: 18.51 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/1.25, allocations: 4.625 kB / 1.334 GB, free: 18.51 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/1.251, allocations: 176.4 kB / 1.334 GB, free: 18.47 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/1.251, allocations: 0 / 1.334 GB, free: 18.47 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/1.251, allocations: 1.312 kB / 1.334 GB, free: 18.47 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/1.251, allocations: 0 / 1.334 GB, free: 18.47 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/1.251, allocations: 283.5 kB / 1.335 GB, free: 18.46 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/1.251, allocations: 285.1 kB / 1.335 GB, free: 18.28 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/1.251, allocations: 159.4 kB / 1.335 GB, free: 18.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/1.252, allocations: 158.3 kB / 1.335 GB, free: 18.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/1.252, allocations: 0 / 1.335 GB, free: 18.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/1.252, allocations: 32.36 kB / 1.335 GB, free: 18.19 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/1.252, allocations: 0 / 1.335 GB, free: 18.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0005623/1.252, allocations: 453.4 kB / 1.336 GB, free: 18.16 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/1.252, allocations: 52.78 kB / 1.336 GB, free: 18.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/1.252, allocations: 168.6 kB / 1.336 GB, free: 17.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/1.252, allocations: 31.48 kB / 1.336 GB, free: 17.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.457e-05/1.252, allocations: 80.66 kB / 1.336 GB, free: 17.87 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/1.252, allocations: 0 / 1.336 GB, free: 17.87 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/1.252, allocations: 16.52 kB / 1.336 GB, free: 17.85 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.515e-05/1.252, allocations: 312.8 kB / 1.336 GB, free: 17.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/1.253, allocations: 144.4 kB / 1.337 GB, free: 17.53 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/1.253, allocations: 141.1 kB / 1.337 GB, free: 17.53 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/1.253, allocations: 297.3 kB / 1.337 GB, free: 17.51 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.253, allocations: 0 / 1.337 GB, free: 17.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003403/1.253, allocations: 315.2 kB / 1.337 GB, free: 17.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.253, allocations: 9.875 kB / 1.337 GB, free: 17.47 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.253, allocations: 0 / 1.337 GB, free: 17.47 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/1.253, allocations: 1.188 kB / 1.337 GB, free: 17.47 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.66e-05/1.254, allocations: 1.75 kB / 1.337 GB, free: 17.47 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/1.254, allocations: 2.109 kB / 1.337 GB, free: 17.47 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.491e-05/1.254, allocations: 0 / 1.337 GB, free: 17.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/1.254, allocations: 0 / 1.337 GB, free: 17.47 MB / 1.061 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.000112/1.254, allocations: 172.9 kB / 1.337 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.577e-06/1.254, allocations: 3.938 kB / 1.337 GB, free: 17.35 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/1.254, allocations: 324.3 kB / 1.338 GB, free: 17.31 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/1.254, allocations: 1.406 kB / 1.338 GB, free: 17.31 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.254, allocations: 1.062 kB / 1.338 GB, free: 17.31 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.254, allocations: 0.7031 kB / 1.338 GB, free: 17.31 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/1.254, allocations: 289.1 kB / 1.338 GB, free: 17.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.254, allocations: 0 / 1.338 GB, free: 17.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-06/1.254, allocations: 1.062 kB / 1.338 GB, free: 17.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/1.254, allocations: 4.734 kB / 1.338 GB, free: 17.11 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/1.254, allocations: 1.125 kB / 1.338 GB, free: 17.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/1.254, allocations: 0 / 1.338 GB, free: 17.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.254, allocations: 0.75 kB / 1.338 GB, free: 17.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/1.255, allocations: 344 kB / 1.338 GB, free: 17.04 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/1.255, allocations: 78.23 kB / 1.338 GB, free: 16.95 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.204e-05/1.255, allocations: 1.188 kB / 1.338 GB, free: 16.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/1.255, allocations: 8.672 kB / 1.338 GB, free: 16.94 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/1.255, allocations: 1.062 kB / 1.338 GB, free: 16.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/1.255, allocations: 1.859 kB / 1.338 GB, free: 16.94 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.399e-05/1.255, allocations: 153.3 kB / 1.339 GB, free: 16.85 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.255, allocations: 0.9375 kB / 1.339 GB, free: 16.85 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002708/1.258, allocations: 0.582 MB / 1.339 GB, free: 16.72 MB / 1.061 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.002976/1.261, allocations: 0.9237 MB / 1.34 GB, free: 16.38 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003844/1.261, allocations: 282.3 kB / 1.34 GB, free: 16.38 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.261, allocations: 0.75 kB / 1.34 GB, free: 16.38 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/1.261, allocations: 171.4 kB / 1.341 GB, free: 16.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/1.262, allocations: 7.531 kB / 1.341 GB, free: 16.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007273/1.262, allocations: 431.2 kB / 1.341 GB, free: 16.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/1.262, allocations: 0.6798 MB / 1.342 GB, free: 15.49 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/1.262, allocations: 16.91 kB / 1.342 GB, free: 15.48 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/1.262, allocations: 0 / 1.342 GB, free: 15.48 MB / 1.061 GB Notification: Performance of Templates: time 0.02999/1.292, allocations: 12.31 MB / 1.354 GB, free: 13.58 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 17.322849007003242]