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.001419/0.001419, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001555/0.001555, allocations: 212.8 kB / 23.04 MB, free: 4.844 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.793 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 3.299/3.299, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.00206/0.00206, allocations: 73.94 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4124, allocations: 176.1 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002708/0.4151, allocations: 1.278 MB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007602/0.4227, allocations: 4.153 MB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.4227, allocations: 0 / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.394e-05/0.4228, allocations: 3.938 kB / 1.333 GB, free: 11.46 MB / 1.029 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.004832/0.4276, allocations: 1.59 MB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 9.562e-05/0.4277, allocations: 31.91 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.436e-05/0.4278, allocations: 11.98 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.405e-05/0.4279, allocations: 4 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.804e-05/0.4279, allocations: 7.984 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.095e-05/0.428, allocations: 25.16 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.428, allocations: 4 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004069/0.432, allocations: 2.449 MB / 1.337 GB, free: 7.328 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.4322, allocations: 149.2 kB / 1.337 GB, free: 7.184 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.4323, allocations: 7.984 kB / 1.337 GB, free: 7.176 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002934/0.4352, allocations: 1.738 MB / 1.338 GB, free: 5.434 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.4352, allocations: 0 / 1.338 GB, free: 5.434 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4352, allocations: 0 / 1.338 GB, free: 5.434 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.4352, allocations: 0 / 1.338 GB, free: 5.434 MB / 1.029 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.001201/0.4364, allocations: 0.5733 MB / 1.339 GB, free: 4.828 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4364, allocations: 8.031 kB / 1.339 GB, free: 4.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.4365, allocations: 0.9375 kB / 1.339 GB, free: 4.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.4366, allocations: 110.5 kB / 1.339 GB, free: 4.688 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.4366, allocations: 8.297 kB / 1.339 GB, free: 4.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.4366, allocations: 4.125 kB / 1.339 GB, free: 4.676 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.4369, allocations: 169.6 kB / 1.339 GB, free: 4.504 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4369, allocations: 0 / 1.339 GB, free: 4.504 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.4369, allocations: 0 / 1.339 GB, free: 4.504 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.4369, allocations: 4 kB / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002513/0.4372, allocations: 287.8 kB / 1.34 GB, free: 4.219 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.4375, allocations: 237.2 kB / 1.34 GB, free: 3.957 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.4376, allocations: 162.5 kB / 1.34 GB, free: 3.789 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.4378, allocations: 144.9 kB / 1.34 GB, free: 3.645 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.4378, allocations: 7.984 kB / 1.34 GB, free: 3.637 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.4378, allocations: 34.5 kB / 1.34 GB, free: 3.594 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.4378, allocations: 0 / 1.34 GB, free: 3.594 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0004863/0.4383, allocations: 453.5 kB / 1.341 GB, free: 3.145 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.4383, allocations: 51.41 kB / 1.341 GB, free: 3.082 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.4385, allocations: 174 kB / 1.341 GB, free: 2.902 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.4385, allocations: 25.7 kB / 1.341 GB, free: 2.871 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.4385, allocations: 80.14 kB / 1.341 GB, free: 2.789 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.4386, allocations: 0 / 1.341 GB, free: 2.789 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.4386, allocations: 17.7 kB / 1.341 GB, free: 2.766 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4387, allocations: 314.8 kB / 1.341 GB, free: 2.449 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.4389, allocations: 139.9 kB / 1.341 GB, free: 2.312 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.439, allocations: 140 kB / 1.341 GB, free: 2.176 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.4392, allocations: 288.7 kB / 1.342 GB, free: 1.891 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4392, allocations: 0 / 1.342 GB, free: 1.891 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002798/0.4395, allocations: 325.6 kB / 1.342 GB, free: 1.566 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.4395, allocations: 8 kB / 1.342 GB, free: 1.559 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4395, allocations: 3.984 kB / 1.342 GB, free: 1.555 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.4396, allocations: 0 / 1.342 GB, free: 1.555 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.065e-05/0.4396, allocations: 0 / 1.342 GB, free: 1.555 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.4396, allocations: 0 / 1.342 GB, free: 1.555 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.185e-05/0.4397, allocations: 4 kB / 1.342 GB, free: 1.551 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.4397, allocations: 0 / 1.342 GB, free: 1.551 MB / 1.029 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.000141/0.4398, allocations: 171 kB / 1.342 GB, free: 1.375 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.4399, allocations: 3.938 kB / 1.342 GB, free: 1.371 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.4402, allocations: 332.5 kB / 1.342 GB, free: 1.035 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.4402, allocations: 0 / 1.342 GB, free: 1.035 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4402, allocations: 0 / 1.342 GB, free: 1.035 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4402, allocations: 0 / 1.342 GB, free: 1.035 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.4404, allocations: 237.3 kB / 1.343 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.4404, allocations: 4 kB / 1.343 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.4404, allocations: 0 / 1.343 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.4405, allocations: 7.875 kB / 1.343 GB, free: 0.7617 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.4405, allocations: 0 / 1.343 GB, free: 0.7617 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4405, allocations: 0 / 1.343 GB, free: 0.7617 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4405, allocations: 3.984 kB / 1.343 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.4408, allocations: 333.1 kB / 1.343 GB, free: 424 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.057e-05/0.4408, allocations: 15.94 kB / 1.343 GB, free: 408 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.4408, allocations: 7.938 kB / 1.343 GB, free: 400 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.143e-05/0.4409, allocations: 0 / 1.343 GB, free: 400 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.4409, allocations: 0 / 1.343 GB, free: 400 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.4409, allocations: 0 / 1.343 GB, free: 400 kB / 1.029 GB Notification: Performance of sorting global known variables: time 9.789e-05/0.441, allocations: 155.2 kB / 1.343 GB, free: 244 kB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.441, allocations: 0 / 1.343 GB, free: 244 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.001525/0.4425, allocations: 0.5804 MB / 1.344 GB, free: 15.66 MB / 1.045 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.002552/0.4451, allocations: 0.9301 MB / 1.345 GB, free: 14.83 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003347/0.4454, allocations: 291.9 kB / 1.345 GB, free: 14.54 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4454, allocations: 0 / 1.345 GB, free: 14.54 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.4456, allocations: 165.6 kB / 1.345 GB, free: 14.38 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.4458, allocations: 4.703 kB / 1.345 GB, free: 14.37 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006593/0.4464, allocations: 439.2 kB / 1.346 GB, free: 13.91 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.836e-05/0.4465, allocations: 63.42 kB / 1.346 GB, free: 13.83 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.4465, allocations: 11.44 kB / 1.346 GB, free: 13.82 MB / 1.045 GB Notification: Performance of SimCode: time 4.61e-07/0.4465, allocations: 0 / 1.346 GB, free: 13.82 MB / 1.045 GB Notification: Performance of Templates: time 0.02302/0.4695, allocations: 12.49 MB / 1.358 GB, free: 1.332 MB / 1.045 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/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: 16.612454837886617]