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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 194.5 kB / 22.23 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|TStep",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 55.91 kB / 1.062 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.792/0.794, allocations: 160.8 MB / 1.219 GB, free: 3.688 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002621/0.7966, allocations: 1.267 MB / 1.22 GB, free: 2.695 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.007805/0.8044, allocations: 4.571 MB / 1.224 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.476e-05/0.8045, allocations: 1.062 kB / 1.224 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.814e-05/0.8045, allocations: 3.984 kB / 1.224 GB, free: 15.14 MB / 0.9356 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeBindings: time 0.005137/0.8097, allocations: 1.6 MB / 1.226 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001134/0.8098, allocations: 37.95 kB / 1.226 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.425e-05/0.8099, allocations: 12.75 kB / 1.226 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.8099, allocations: 1.062 kB / 1.226 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.594e-05/0.8099, allocations: 8.312 kB / 1.226 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.989e-05/0.81, allocations: 32.59 kB / 1.226 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.81, allocations: 0 / 1.226 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004749/0.8148, allocations: 2.682 MB / 1.228 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.8149, allocations: 157.1 kB / 1.229 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.8149, allocations: 2.781 kB / 1.229 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00347/0.8184, allocations: 1.771 MB / 1.23 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8184, allocations: 0 / 1.23 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8184, allocations: 0 / 1.23 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.8184, allocations: 0 / 1.23 GB, free: 11.08 MB / 0.9356 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.001134/0.8196, allocations: 0.637 MB / 1.231 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.8196, allocations: 8.031 kB / 1.231 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.8196, allocations: 8.922 kB / 1.231 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.8198, allocations: 164.4 kB / 1.231 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.8198, allocations: 8.359 kB / 1.231 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.8198, allocations: 8.062 kB / 1.231 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.82, allocations: 169.6 kB / 1.231 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.82, allocations: 0 / 1.231 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.82, allocations: 4 kB / 1.231 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.82, allocations: 3.938 kB / 1.231 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.8203, allocations: 279.9 kB / 1.232 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.8206, allocations: 285.6 kB / 1.232 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.8208, allocations: 158.5 kB / 1.232 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.8209, allocations: 152.8 kB / 1.232 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.931e-06/0.8209, allocations: 0 / 1.232 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.8209, allocations: 34.5 kB / 1.232 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 6.72e-07/0.8209, allocations: 0 / 1.232 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0004717/0.8214, allocations: 457.5 kB / 1.233 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.8214, allocations: 55.53 kB / 1.233 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.8216, allocations: 169.8 kB / 1.233 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.8216, allocations: 25.7 kB / 1.233 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.8216, allocations: 84.12 kB / 1.233 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.8217, allocations: 0 / 1.233 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.8217, allocations: 13.72 kB / 1.233 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.8218, allocations: 314.8 kB / 1.233 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.822, allocations: 140 kB / 1.233 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.8221, allocations: 148.1 kB / 1.234 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.8223, allocations: 284.7 kB / 1.234 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8223, allocations: 4 kB / 1.234 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003261/0.8226, allocations: 313.5 kB / 1.234 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.8227, allocations: 4 kB / 1.234 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.8227, allocations: 4 kB / 1.234 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.8227, allocations: 0 / 1.234 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.322e-05/0.8227, allocations: 3.984 kB / 1.234 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.8227, allocations: 4.094 kB / 1.234 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.937e-05/0.8228, allocations: 3.938 kB / 1.234 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.8228, allocations: 4 kB / 1.234 GB, free: 6.973 MB / 0.9356 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.0001302/0.823, allocations: 173.2 kB / 1.234 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.823, allocations: 7.891 kB / 1.234 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.8233, allocations: 324.5 kB / 1.235 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.8233, allocations: 0 / 1.235 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.8233, allocations: 3.938 kB / 1.235 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.8233, allocations: 4 kB / 1.235 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.8236, allocations: 289.6 kB / 1.235 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.8236, allocations: 0 / 1.235 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.8236, allocations: 0 / 1.235 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.8236, allocations: 4 kB / 1.235 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.8236, allocations: 4 kB / 1.235 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.8236, allocations: 0 / 1.235 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8236, allocations: 0 / 1.235 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.8239, allocations: 345 kB / 1.235 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.824, allocations: 81.09 kB / 1.235 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/0.824, allocations: 3.938 kB / 1.235 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.61e-05/0.8241, allocations: 0 / 1.235 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.8241, allocations: 0 / 1.235 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.8241, allocations: 4 kB / 1.235 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001068/0.8242, allocations: 151.2 kB / 1.235 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8242, allocations: 3.938 kB / 1.235 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001409/0.8256, allocations: 0.5726 MB / 1.236 GB, free: 4.934 MB / 0.9356 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.002452/0.8281, allocations: 0.9402 MB / 1.237 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003407/0.8284, allocations: 283.9 kB / 1.237 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.8284, allocations: 0 / 1.237 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.8286, allocations: 165.7 kB / 1.237 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.8288, allocations: 15.98 kB / 1.237 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.83, allocations: 0.9413 MB / 1.238 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.8305, allocations: 0.8185 MB / 1.239 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.23e-05/0.8305, allocations: 4 kB / 1.239 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.8306, allocations: 11.44 kB / 1.239 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of SimCode: time 4.41e-07/0.8306, allocations: 4 kB / 1.239 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of Templates: time 0.02175/0.8523, allocations: 12.38 MB / 1.251 GB, free: 5.461 MB / 0.9512 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.453823416493833]