Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_2d.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.00134/0.00134, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001399/0.001399, allocations: 216.8 kB / 23.07 MB, free: 4.848 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.476/1.476, allocations: 230.7 MB / 256.9 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.408/3.408, allocations: 0.5108 GB / 0.8167 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_2d") translateModel(Buildings.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_2d") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.657e-05, allocations: 2.281 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_2d): time 0.001523/0.001539, allocations: 0.5355 MB / 1.188 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002178/0.003717, allocations: 1.604 MB / 1.189 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.388e-05/0.003751, allocations: 1.438 kB / 1.189 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.003941, allocations: 67.2 kB / 1.189 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.286e-05/0.003983, allocations: 30.3 kB / 1.189 GB, free: 12.02 MB / 0.9044 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.typeClassSections: time 0.001127/0.00511, allocations: 282.9 kB / 1.19 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.005249, allocations: 37.33 kB / 1.19 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.005291, allocations: 2.562 kB / 1.19 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.435e-05/0.005345, allocations: 26.98 kB / 1.19 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.477e-05/0.00542, allocations: 33.94 kB / 1.19 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.005433, allocations: 1.312 kB / 1.19 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009189/0.006352, allocations: 458.4 kB / 1.19 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of combineBinaries: time 7.853e-05/0.006431, allocations: 58.22 kB / 1.19 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.346e-05/0.006454, allocations: 37.72 kB / 1.19 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.11e-05/0.006465, allocations: 1.125 kB / 1.19 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.125e-06/0.006474, allocations: 0 / 1.19 GB, free: 11.69 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 (1) * Number of variables: 1 (1) Notification: Performance of [SIM] Bindings: time 0.0003798/0.006853, allocations: 293.3 kB / 1.19 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 8.68e-05/0.00694, allocations: 31.12 kB / 1.19 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 6.66e-05/0.007007, allocations: 66.22 kB / 1.191 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 4.038e-05/0.007047, allocations: 59.75 kB / 1.191 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0002661/0.007313, allocations: 124.5 kB / 1.191 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 3.207e-05/0.007345, allocations: 60.39 kB / 1.191 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 1.633e-05/0.007362, allocations: 41.77 kB / 1.191 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 5.775e-05/0.007419, allocations: 87.5 kB / 1.191 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 1.168e-05/0.007431, allocations: 5.031 kB / 1.191 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 4.99e-05/0.007481, allocations: 15.56 kB / 1.191 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 5.762e-05/0.007539, allocations: 26.64 kB / 1.191 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 2.801e-05/0.007567, allocations: 18.84 kB / 1.191 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 8.974e-05/0.007656, allocations: 102.3 kB / 1.191 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 3.468e-05/0.007691, allocations: 41.38 kB / 1.191 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 6.702e-06/0.007698, allocations: 11 kB / 1.191 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 1.155e-05/0.007709, allocations: 6.547 kB / 1.191 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002078/0.007917, allocations: 120.2 kB / 1.191 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.357e-06/0.007927, allocations: 5.25 kB / 1.191 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 6.22e-07/0.007927, allocations: 0 / 1.191 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.104e-05/0.007938, allocations: 9.703 kB / 1.191 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.606e-06/0.007942, allocations: 1.281 kB / 1.191 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.214e-06/0.007944, allocations: 5.469 kB / 1.191 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.58e-06/0.00795, allocations: 4 kB / 1.191 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 4.155e-05/0.007991, allocations: 10.39 kB / 1.191 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.514e-06/0.007999, allocations: 1.406 kB / 1.191 GB, free: 10.44 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (1) {cmp} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1 (scalar:1, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1 (scalar:1, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.19e-05/0.008031, allocations: 23.19 kB / 1.191 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001762/0.009793, allocations: 0.7676 MB / 1.192 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of Templates: time 0.006669/0.01646, allocations: 2.184 MB / 1.194 GB, free: 9.91 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_2d.sim & ./Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_2d_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Clustering_Validation_KMeans_2d.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_2d.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: 8.81972887396114]