Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Clustering.Validation.KMeans_1d.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.001486/0.001486, 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.001604/0.001604, allocations: 214.9 kB / 23.07 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.364/1.364, allocations: 230.6 MB / 256.9 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.632/2.632, allocations: 476 MB / 0.7708 GB, free: 4.637 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_11_Buildings.Utilities.Clustering.Validation.KMeans_1d") translateModel(Buildings.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_11_Buildings.Utilities.Clustering.Validation.KMeans_1d") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.665e-05, allocations: 4.109 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_1d): time 0.00124/0.001256, allocations: 0.5078 MB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.00297, allocations: 1.612 MB / 1.12 GB, free: 40.91 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.003, allocations: 0 / 1.12 GB, free: 40.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.003116, allocations: 20.41 kB / 1.12 GB, free: 40.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 2.116e-05/0.003137, allocations: 14.61 kB / 1.12 GB, free: 40.9 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.typeClassSections: time 0.0006675/0.003805, allocations: 268.8 kB / 1.12 GB, free: 40.86 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.056e-05/0.003875, allocations: 29.33 kB / 1.12 GB, free: 40.86 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.258e-05/0.003908, allocations: 5.578 kB / 1.12 GB, free: 40.86 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 2.473e-05/0.003933, allocations: 12.52 kB / 1.12 GB, free: 40.86 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 3.441e-05/0.003967, allocations: 24.33 kB / 1.12 GB, free: 40.86 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.003978, allocations: 0 / 1.12 GB, free: 40.86 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004445/0.004422, allocations: 418.1 kB / 1.121 GB, free: 40.85 MB / 0.9044 GB Notification: Performance of combineBinaries: time 4.704e-05/0.004469, allocations: 53.25 kB / 1.121 GB, free: 40.83 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.69e-05/0.004486, allocations: 39.81 kB / 1.121 GB, free: 40.82 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.386e-06/0.004495, allocations: 0 / 1.121 GB, free: 40.82 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.202e-06/0.004501, allocations: 7.219 kB / 1.121 GB, free: 40.81 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.0002833/0.004784, allocations: 283.5 kB / 1.121 GB, free: 40.52 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 6.355e-05/0.004848, allocations: 46.12 kB / 1.121 GB, free: 40.48 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 4.264e-05/0.00489, allocations: 68.61 kB / 1.121 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 2.923e-05/0.00492, allocations: 64.86 kB / 1.121 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0002007/0.00512, allocations: 107.9 kB / 1.121 GB, free: 40.2 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 2.221e-05/0.005142, allocations: 65.77 kB / 1.121 GB, free: 40.11 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 1.333e-05/0.005156, allocations: 35.53 kB / 1.121 GB, free: 40.05 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 4.258e-05/0.005198, allocations: 88.7 kB / 1.122 GB, free: 39.93 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 9.338e-06/0.005208, allocations: 4.562 kB / 1.122 GB, free: 39.93 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 3.991e-05/0.005248, allocations: 23.5 kB / 1.122 GB, free: 39.91 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 4.407e-05/0.005292, allocations: 16.47 kB / 1.122 GB, free: 39.9 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 2.046e-05/0.005312, allocations: 24.69 kB / 1.122 GB, free: 39.9 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 6.321e-05/0.005375, allocations: 110.6 kB / 1.122 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 2.27e-05/0.005398, allocations: 31.48 kB / 1.122 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 5.36e-06/0.005403, allocations: 10.41 kB / 1.122 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 7.884e-06/0.005411, allocations: 6.062 kB / 1.122 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0001526/0.005564, allocations: 104.5 kB / 1.122 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 6.943e-06/0.005571, allocations: 0 / 1.122 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.4e-07/0.005571, allocations: 0 / 1.122 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 9.488e-06/0.005581, allocations: 18.22 kB / 1.122 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 2.886e-06/0.005583, allocations: 0 / 1.122 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.743e-06/0.005585, allocations: 2.094 kB / 1.122 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.62e-06/0.005591, allocations: 5.828 kB / 1.122 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 3.33e-05/0.005624, allocations: 6.688 kB / 1.122 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 5.971e-06/0.00563, allocations: 4 kB / 1.122 GB, free: 39.68 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 2.519e-05/0.005655, allocations: 14.33 kB / 1.122 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009538/0.006609, allocations: 0.6975 MB / 1.123 GB, free: 39.48 MB / 0.9044 GB Notification: Performance of Templates: time 0.004072/0.01068, allocations: 2.082 MB / 1.125 GB, free: 39.44 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo Buildings_11_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/Buildings_11_Buildings.Utilities.Clustering.Validation.KMeans_1d.sim & ./Buildings_11_Buildings.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Clustering.Validation.KMeans_1d_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Clustering_Validation_KMeans_1d.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Clustering.Validation.KMeans_1d.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: 7.702981179987546]