Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001364/0.001364, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001341/0.001341, allocations: 186 kB / 20.78 MB, free: 1.547 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.461/1.461, allocations: 225.6 MB / 249.4 MB, free: 3.289 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.777/2.777, allocations: 476.6 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 71.89 kB / 1.107 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8967/0.8989, allocations: 168.7 MB / 1.272 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002366/0.9013, allocations: 1.277 MB / 1.273 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006524/0.9078, allocations: 4.557 MB / 1.278 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.9078, allocations: 1.062 kB / 1.278 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.537e-05/0.9079, allocations: 0 / 1.278 GB, free: 3.992 MB / 0.9981 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 11.1.0-maint.11.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.004905/0.9128, allocations: 1.512 MB / 1.279 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001137/0.9129, allocations: 31.2 kB / 1.279 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.351e-05/0.913, allocations: 13.48 kB / 1.279 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.837e-05/0.913, allocations: 5.562 kB / 1.279 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.622e-05/0.913, allocations: 5.484 kB / 1.279 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.16e-05/0.9131, allocations: 21.02 kB / 1.279 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.938e-06/0.9131, allocations: 3.938 kB / 1.279 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005325/0.9184, allocations: 2.393 MB / 1.282 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.9186, allocations: 150.4 kB / 1.282 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.731e-05/0.9187, allocations: 2.656 kB / 1.282 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005073/0.9237, allocations: 1.733 MB / 1.283 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.9237, allocations: 0.6094 kB / 1.283 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9237, allocations: 0 / 1.283 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.9238, allocations: 3.938 kB / 1.283 GB, free: 2.176 MB / 0.9981 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.001571/0.9253, allocations: 0.6373 MB / 1.284 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.9254, allocations: 14.97 kB / 1.284 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.9254, allocations: 5.719 kB / 1.284 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.9255, allocations: 163.2 kB / 1.284 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.9255, allocations: 384 / 1.284 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.9256, allocations: 4.719 kB / 1.284 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.9258, allocations: 169.2 kB / 1.284 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.9258, allocations: 0.6562 kB / 1.284 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.9258, allocations: 0 / 1.284 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.9258, allocations: 3.984 kB / 1.284 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002707/0.9261, allocations: 283.4 kB / 1.285 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.9264, allocations: 290.8 kB / 1.285 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.9266, allocations: 159.1 kB / 1.285 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.9267, allocations: 148.6 kB / 1.285 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.9267, allocations: 0.5625 kB / 1.285 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.9268, allocations: 32.45 kB / 1.285 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.9268, allocations: 4 kB / 1.285 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0005079/0.9273, allocations: 454.5 kB / 1.286 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.9273, allocations: 55.34 kB / 1.286 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.9274, allocations: 164.9 kB / 1.286 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.104e-06/0.9274, allocations: 26.27 kB / 1.286 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.175e-05/0.9274, allocations: 81.42 kB / 1.286 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.9275, allocations: 7.953 kB / 1.286 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.9275, allocations: 14.78 kB / 1.286 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.95e-05/0.9275, allocations: 315.5 kB / 1.286 GB, free: 448 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.9276, allocations: 139.9 kB / 1.286 GB, free: 448 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.9278, allocations: 142.5 kB / 1.287 GB, free: 448 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.928, allocations: 284.5 kB / 1.287 GB, free: 440 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.928, allocations: 0 / 1.287 GB, free: 440 kB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003011/0.9283, allocations: 320 kB / 1.287 GB, free: 400 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.9283, allocations: 7.703 kB / 1.287 GB, free: 396 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.9283, allocations: 5.688 kB / 1.287 GB, free: 392 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.9283, allocations: 0.7031 kB / 1.287 GB, free: 392 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.906e-05/0.9284, allocations: 3.125 kB / 1.287 GB, free: 392 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.9284, allocations: 0.6562 kB / 1.287 GB, free: 392 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.797e-05/0.9285, allocations: 7.938 kB / 1.287 GB, free: 384 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.9285, allocations: 0 / 1.287 GB, free: 384 kB / 0.9981 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 9.526e-05/0.9286, allocations: 167.3 kB / 1.287 GB, free: 268 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.9286, allocations: 9.734 kB / 1.287 GB, free: 260 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.9289, allocations: 325.1 kB / 1.288 GB, free: 216 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.9289, allocations: 0 / 1.288 GB, free: 216 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.9289, allocations: 5.125 kB / 1.288 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.9289, allocations: 0.6562 kB / 1.288 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.9291, allocations: 291.6 kB / 1.288 GB, free: 12 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.9291, allocations: 2.156 kB / 1.288 GB, free: 12 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.02e-07/0.9291, allocations: 0 / 1.288 GB, free: 12 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.9291, allocations: 0.5156 kB / 1.288 GB, free: 12 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.9291, allocations: 5.531 kB / 1.288 GB, free: 8 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.9291, allocations: 0.75 kB / 1.288 GB, free: 8 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9291, allocations: 0 / 1.288 GB, free: 8 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.9295, allocations: 343.8 kB / 1.288 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.9295, allocations: 80.81 kB / 1.288 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-05/0.9296, allocations: 0.6562 kB / 1.288 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.182e-05/0.9296, allocations: 0 / 1.288 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.9297, allocations: 0.5625 kB / 1.288 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.9297, allocations: 0.6875 kB / 1.288 GB, free: 15.84 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.307e-05/0.9298, allocations: 154 kB / 1.289 GB, free: 15.75 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.9298, allocations: 0 / 1.289 GB, free: 15.75 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002092/0.9318, allocations: 0.5758 MB / 1.289 GB, free: 15.63 MB / 1.014 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.004265/0.9361, allocations: 0.934 MB / 1.29 GB, free: 15.28 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005567/0.9367, allocations: 291.7 kB / 1.29 GB, free: 15.27 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.9367, allocations: 0 / 1.29 GB, free: 15.27 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.9369, allocations: 167.4 kB / 1.29 GB, free: 15.24 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.9371, allocations: 6.438 kB / 1.29 GB, free: 15.24 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.9387, allocations: 0.944 MB / 1.291 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005237/0.9392, allocations: 0.8192 MB / 1.292 GB, free: 14.18 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.141e-05/0.9393, allocations: 7.266 kB / 1.292 GB, free: 14.17 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.9393, allocations: 15.69 kB / 1.292 GB, free: 14.16 MB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/0.9393, allocations: 0 / 1.292 GB, free: 14.16 MB / 1.014 GB Notification: Performance of Templates: time 0.03042/0.9697, allocations: 12.38 MB / 1.304 GB, free: 13.28 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.749774113297462]