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.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.002823/0.002823, allocations: 79.7 kB / 20.23 MB, free: 4.195 MB / 18.57 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.003612/0.003612, allocations: 161.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.648/1.648, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 3.067/3.067, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 4.108e-06/4.108e-06, allocations: 3.984 kB / 0.7864 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/3.091e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001953/0.001984, allocations: 0.5722 MB / 0.787 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.009934/0.01192, allocations: 5.021 MB / 0.7919 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.425e-05/0.01194, allocations: 0 / 0.7919 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.29e-05/0.01201, allocations: 5.641 kB / 0.7919 GB, free: 7.105 MB / 0.7448 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.004428/0.01643, allocations: 1.596 MB / 0.7935 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001021/0.01654, allocations: 40.66 kB / 0.7935 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.198e-05/0.01659, allocations: 4 kB / 0.7935 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.01663, allocations: 9.281 kB / 0.7935 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.565e-05/0.01666, allocations: 4 kB / 0.7935 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.154e-05/0.0167, allocations: 7.984 kB / 0.7935 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.01672, allocations: 1.312 kB / 0.7935 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004769/0.02149, allocations: 2.429 MB / 0.7959 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.02166, allocations: 153.2 kB / 0.796 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.02169, allocations: 0.5312 kB / 0.796 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004043/0.02573, allocations: 2.032 MB / 0.798 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.02573, allocations: 0 / 0.798 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.332e-06/0.02574, allocations: 0.5312 kB / 0.798 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.02574, allocations: 0 / 0.798 GB, free: 0.832 MB / 0.7448 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.001242/0.02698, allocations: 0.6469 MB / 0.7987 GB, free: 152 kB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.02702, allocations: 12.03 kB / 0.7987 GB, free: 140 kB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.02708, allocations: 4.875 kB / 0.7987 GB, free: 136 kB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.02722, allocations: 117.4 kB / 0.7988 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.02723, allocations: 384 / 0.7988 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.02724, allocations: 1.312 kB / 0.7988 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.02746, allocations: 150.2 kB / 0.7989 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.02747, allocations: 5.156 kB / 0.7989 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.02748, allocations: 0 / 0.7989 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.02748, allocations: 0 / 0.7989 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.02774, allocations: 243.9 kB / 0.7992 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.02801, allocations: 229.5 kB / 0.7994 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.02819, allocations: 155 kB / 0.7995 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.02832, allocations: 126 kB / 0.7997 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.02833, allocations: 0 / 0.7997 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.02836, allocations: 37.39 kB / 0.7997 GB, free: 15 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.02836, allocations: 0 / 0.7997 GB, free: 15 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.000474/0.02883, allocations: 397.5 kB / 0.8001 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.02889, allocations: 54.69 kB / 0.8001 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.02901, allocations: 161.9 kB / 0.8003 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.02903, allocations: 25.7 kB / 0.8003 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.02909, allocations: 130.9 kB / 0.8004 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.02912, allocations: 3.953 kB / 0.8004 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.02915, allocations: 19.38 kB / 0.8005 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000345/0.0295, allocations: 496.1 kB / 0.8009 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.02961, allocations: 120 kB / 0.801 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.02971, allocations: 121 kB / 0.8012 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.02996, allocations: 259.6 kB / 0.8014 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.02996, allocations: 0.5 kB / 0.8014 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002658/0.03023, allocations: 274.2 kB / 0.8017 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.03024, allocations: 4.781 kB / 0.8017 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.03025, allocations: 0 / 0.8017 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.03027, allocations: 17.03 kB / 0.8017 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.689e-05/0.03032, allocations: 4 kB / 0.8017 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.03033, allocations: 0 / 0.8017 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.112e-05/0.03034, allocations: 1.344 kB / 0.8017 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.03035, allocations: 0 / 0.8017 GB, free: 12.89 MB / 0.7605 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.0001006/0.03045, allocations: 152.6 kB / 0.8018 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.03046, allocations: 9.031 kB / 0.8018 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003217/0.03078, allocations: 280.6 kB / 0.8021 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.03079, allocations: 3.938 kB / 0.8021 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.03079, allocations: 0.6562 kB / 0.8021 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.03079, allocations: 1.719 kB / 0.8021 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.03098, allocations: 228.6 kB / 0.8023 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.03099, allocations: 0 / 0.8023 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.03099, allocations: 0 / 0.8023 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.03099, allocations: 0 / 0.8023 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.031, allocations: 7.438 kB / 0.8023 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.031, allocations: 3.984 kB / 0.8023 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.03101, allocations: 7.875 kB / 0.8024 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.0313, allocations: 304.3 kB / 0.8026 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-06/0.0313, allocations: 7.984 kB / 0.8027 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.03131, allocations: 0 / 0.8027 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-06/0.03132, allocations: 0 / 0.8027 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.03134, allocations: 3.938 kB / 0.8027 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.03134, allocations: 0 / 0.8027 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 5.866e-05/0.0314, allocations: 124.1 kB / 0.8028 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.0314, allocations: 0 / 0.8028 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001351/0.03275, allocations: 0.5502 MB / 0.8033 GB, free: 11.16 MB / 0.7605 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.002975/0.03573, allocations: 1.033 MB / 0.8043 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002932/0.03602, allocations: 263.5 kB / 0.8046 GB, free: 9.977 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.03602, allocations: 0 / 0.8046 GB, free: 9.977 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.03617, allocations: 157.3 kB / 0.8047 GB, free: 9.812 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.03631, allocations: 0.6562 kB / 0.8047 GB, free: 9.812 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.03738, allocations: 0.8278 MB / 0.8055 GB, free: 8.957 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.03758, allocations: 193.1 kB / 0.8057 GB, free: 8.746 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.534e-05/0.0376, allocations: 0 / 0.8057 GB, free: 8.746 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.03764, allocations: 16.48 kB / 0.8057 GB, free: 8.73 MB / 0.7605 GB Notification: Performance of SimCode: time 5.81e-07/0.03764, allocations: 0 / 0.8057 GB, free: 8.73 MB / 0.7605 GB Notification: Performance of Templates: time 0.8725/0.9101, allocations: 12.55 MB / 0.818 GB, free: 12.2 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 240] 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: 14.511875879019499]