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.002433/0.002433, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.00261/0.00261, allocations: 211.4 kB / 23 MB, free: 4.965 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.603/1.603, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.408/3.408, allocations: 0.49 GB / 0.7958 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] 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 3.196e-05/3.196e-05, allocations: 2.281 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_1d): time 0.001604/0.001636, allocations: 0.5254 MB / 1.155 GB, free: 24.9 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002265/0.003901, allocations: 1.612 MB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.865e-05/0.00394, allocations: 2.562 kB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.004102, allocations: 20.41 kB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 2.565e-05/0.004127, allocations: 9.125 kB / 1.157 GB, free: 23.79 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.001046/0.005173, allocations: 286 kB / 1.157 GB, free: 23.68 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.322e-05/0.005266, allocations: 33.06 kB / 1.157 GB, free: 23.66 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.005312, allocations: 2.531 kB / 1.157 GB, free: 23.66 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.718e-05/0.005349, allocations: 14.53 kB / 1.157 GB, free: 23.66 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.095e-05/0.0054, allocations: 14.91 kB / 1.157 GB, free: 23.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.005413, allocations: 0 / 1.157 GB, free: 23.66 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007019/0.006114, allocations: 481.6 kB / 1.158 GB, free: 23.5 MB / 0.9044 GB Notification: Performance of combineBinaries: time 7.31e-05/0.006188, allocations: 57.19 kB / 1.158 GB, free: 23.47 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.755e-05/0.006215, allocations: 42.03 kB / 1.158 GB, free: 23.44 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.006229, allocations: 0 / 1.158 GB, free: 23.44 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.546e-06/0.006237, allocations: 2.625 kB / 1.158 GB, free: 23.44 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.0004227/0.00666, allocations: 292 kB / 1.158 GB, free: 23.12 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 8.833e-05/0.006748, allocations: 30.61 kB / 1.158 GB, free: 23.09 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 7.429e-05/0.006823, allocations: 58.14 kB / 1.158 GB, free: 23.02 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 5.796e-05/0.006881, allocations: 73.19 kB / 1.158 GB, free: 22.92 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003144/0.007195, allocations: 116.7 kB / 1.159 GB, free: 22.78 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 4.535e-05/0.00724, allocations: 63.92 kB / 1.159 GB, free: 22.68 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.353e-05/0.007264, allocations: 40.72 kB / 1.159 GB, free: 22.62 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 6.077e-05/0.007325, allocations: 76.73 kB / 1.159 GB, free: 22.51 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 1.415e-05/0.007339, allocations: 1.953 kB / 1.159 GB, free: 22.51 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 5.656e-05/0.007395, allocations: 28.58 kB / 1.159 GB, free: 22.48 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 5.913e-05/0.007455, allocations: 23.48 kB / 1.159 GB, free: 22.46 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 2.354e-05/0.007478, allocations: 16.77 kB / 1.159 GB, free: 22.46 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 9.737e-05/0.007575, allocations: 103.3 kB / 1.159 GB, free: 22.31 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 3.505e-05/0.00761, allocations: 40.81 kB / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 7.464e-06/0.007618, allocations: 9.688 kB / 1.159 GB, free: 22.27 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 1.202e-05/0.00763, allocations: 6.766 kB / 1.159 GB, free: 22.27 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002115/0.007841, allocations: 107.9 kB / 1.159 GB, free: 22.23 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.217e-06/0.007851, allocations: 0.9688 kB / 1.159 GB, free: 22.23 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.81e-07/0.007851, allocations: 1.156 kB / 1.159 GB, free: 22.23 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.476e-06/0.007855, allocations: 0 / 1.159 GB, free: 22.23 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.863e-06/0.007856, allocations: 2.531 kB / 1.159 GB, free: 22.23 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.632e-06/0.007863, allocations: 5.188 kB / 1.159 GB, free: 22.23 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 4.576e-05/0.007909, allocations: 5.188 kB / 1.159 GB, free: 22.23 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.345e-06/0.007917, allocations: 384 / 1.159 GB, free: 22.23 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 5.723e-05/0.007974, allocations: 39.69 kB / 1.159 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001528/0.009503, allocations: 0.7126 MB / 1.16 GB, free: 21.89 MB / 0.9044 GB Notification: Performance of Templates: time 0.007001/0.0165, allocations: 2.205 MB / 1.162 GB, free: 21.7 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/jenkins/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: 9.278455995954573]