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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_11_Buildings.Utilities.Clustering.Validation.KMeans_1d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 111.1 kB / 16.43 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 186.1 kB / 17.36 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.152/1.152, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.231/2.231, allocations: 469.8 MB / 0.7431 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.707e-05, allocations: 2.5 kB / 1.066 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_1d): time 0.001132/0.001157, allocations: 0.5259 MB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.003025, allocations: 1.602 MB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.003062, allocations: 0 / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.003187, allocations: 23.89 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 1.95e-05/0.003214, allocations: 15.92 kB / 1.068 GB, free: 11.47 MB / 0.8419 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.typeClassSections: time 0.0006857/0.003909, allocations: 246.8 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.446e-05/0.003992, allocations: 27.95 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/0.004034, allocations: 3.984 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.238e-05/0.004063, allocations: 12 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.505e-05/0.004103, allocations: 15.92 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.004118, allocations: 3.938 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004306/0.004552, allocations: 335.5 kB / 1.069 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of combineBinaries: time 4.602e-05/0.004608, allocations: 39.53 kB / 1.069 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 1.986e-05/0.004633, allocations: 31.55 kB / 1.069 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.208e-05/0.004649, allocations: 4 kB / 1.069 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.706e-06/0.004662, allocations: 3.938 kB / 1.069 GB, free: 10.77 MB / 0.8419 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 Bindings: time 0.0002816/0.004948, allocations: 212.9 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 5.443e-05/0.005008, allocations: 27.84 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of Early Inline: time 5.666e-05/0.005071, allocations: 52.36 kB / 1.069 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of simplify1: time 2.719e-05/0.005104, allocations: 36.44 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of Alias: time 0.0001829/0.005291, allocations: 80.84 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simplify2: time 2.235e-05/0.005323, allocations: 36.44 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of Detect States: time 5.069e-05/0.005378, allocations: 32.19 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of Events: time 1.061e-05/0.005394, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.551e-05/0.005424, allocations: 12.12 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of Causalize: time 4.683e-05/0.005475, allocations: 32.05 kB / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 3.916e-05/0.005522, allocations: 56.53 kB / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of Inline: time 5.578e-05/0.005583, allocations: 60.48 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of Partitioning: time 9.979e-06/0.005599, allocations: 16.06 kB / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of Cleanup: time 9.248e-06/0.005612, allocations: 3.938 kB / 1.069 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001761/0.005792, allocations: 128 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of Tearing: time 7.774e-06/0.005808, allocations: 0 / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of Initialization: time 1.713e-06/0.005814, allocations: 4 kB / 1.069 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of Tearing: time 9.32e-07/0.00582, allocations: 4 kB / 1.069 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of Categorize: time 6.242e-06/0.00583, allocations: 3.938 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of Solve: time 2.603e-05/0.005859, allocations: 4 kB / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.014e-06/0.005866, allocations: 0 / 1.069 GB, free: 9.645 MB / 0.8419 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 1 (1) {cmp} * 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 (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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.724e-05/0.005897, allocations: 22.98 kB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of SimCode: time 0.001106/0.007007, allocations: 1.295 MB / 1.071 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of Templates: time 0.004047/0.01106, allocations: 2.072 MB / 1.073 GB, free: 6.246 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Clustering.Validation.KMeans_1d.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Clustering.Validation.KMeans_1d.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches