Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001501/0.001501, allocations: 100.4 kB / 19.76 MB, free: 1.906 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.001662/0.001662, allocations: 219.4 kB / 23.07 MB, free: 4.984 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.421/1.421, allocations: 230.7 MB / 256.9 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.008/3.008, allocations: 0.4893 GB / 0.7952 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Utilities.Clustering.Validation.KMeans_1d") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.667e-05, allocations: 2.281 kB / 1.154 GB, free: 25.58 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_1d): time 0.001317/0.001334, allocations: 0.5127 MB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002001/0.003335, allocations: 1.614 MB / 1.156 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.965e-05/0.003365, allocations: 3.938 kB / 1.156 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.003494, allocations: 19.66 kB / 1.156 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 2.226e-05/0.003517, allocations: 11.64 kB / 1.157 GB, free: 24.17 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.0008247/0.004341, allocations: 283.8 kB / 1.157 GB, free: 24.06 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.313e-05/0.004414, allocations: 27.14 kB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.004454, allocations: 3.094 kB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 2.907e-05/0.004483, allocations: 11.52 kB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 3.84e-05/0.004521, allocations: 25.42 kB / 1.157 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.004534, allocations: 5.844 kB / 1.157 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005886/0.005122, allocations: 447.5 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of combineBinaries: time 5.386e-05/0.005176, allocations: 47.81 kB / 1.157 GB, free: 23.89 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.148e-05/0.005198, allocations: 39.97 kB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.603e-05/0.005214, allocations: 4.906 kB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.464e-06/0.005221, allocations: 0.875 kB / 1.157 GB, free: 23.86 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.000355/0.005576, allocations: 291 kB / 1.158 GB, free: 23.54 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 7.32e-05/0.005649, allocations: 38.22 kB / 1.158 GB, free: 23.5 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 5.893e-05/0.005708, allocations: 60.84 kB / 1.158 GB, free: 23.44 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 3.735e-05/0.005746, allocations: 63.98 kB / 1.158 GB, free: 23.34 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0002354/0.005981, allocations: 124.8 kB / 1.158 GB, free: 23.2 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 3.62e-05/0.006017, allocations: 65.84 kB / 1.158 GB, free: 23.1 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 1.866e-05/0.006036, allocations: 34.28 kB / 1.158 GB, free: 23.04 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 5.676e-05/0.006093, allocations: 77.73 kB / 1.158 GB, free: 22.93 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 1.235e-05/0.006105, allocations: 2.109 kB / 1.158 GB, free: 22.93 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 5.343e-05/0.006158, allocations: 24.75 kB / 1.158 GB, free: 22.9 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 5.322e-05/0.006212, allocations: 20.3 kB / 1.158 GB, free: 22.89 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 2.689e-05/0.006239, allocations: 29.83 kB / 1.158 GB, free: 22.87 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 8.924e-05/0.006328, allocations: 98.83 kB / 1.158 GB, free: 22.73 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 3.313e-05/0.006361, allocations: 39.11 kB / 1.158 GB, free: 22.7 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 7.494e-06/0.006368, allocations: 14.73 kB / 1.158 GB, free: 22.68 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 1.028e-05/0.006379, allocations: 3.125 kB / 1.158 GB, free: 22.68 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0001897/0.006568, allocations: 113.3 kB / 1.158 GB, free: 22.64 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.075e-05/0.006579, allocations: 0.5938 kB / 1.158 GB, free: 22.64 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.5e-07/0.006579, allocations: 1.781 kB / 1.158 GB, free: 22.64 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.114e-05/0.006591, allocations: 10.61 kB / 1.158 GB, free: 22.63 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.316e-06/0.006594, allocations: 0.7188 kB / 1.158 GB, free: 22.63 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.515e-06/0.006596, allocations: 8.781 kB / 1.158 GB, free: 22.62 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.751e-06/0.006602, allocations: 0.75 kB / 1.158 GB, free: 22.62 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 4.339e-05/0.006646, allocations: 15.06 kB / 1.158 GB, free: 22.62 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.762e-06/0.006652, allocations: 0 / 1.158 GB, free: 22.62 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.488e-05/0.006687, allocations: 27.45 kB / 1.158 GB, free: 22.6 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001239/0.007927, allocations: 0.7133 MB / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of Templates: time 0.005373/0.0133, allocations: 2.168 MB / 1.161 GB, free: 22.1 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo Buildings_12_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/Buildings_12_Buildings.Utilities.Clustering.Validation.KMeans_1d.sim & ./Buildings_12_Buildings.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Clustering.Validation.KMeans_1d_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Clustering_Validation_KMeans_1d.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.131475961999968]