Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001669/0.001669, allocations: 105.2 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.002291/0.002291, allocations: 211.8 kB / 23.01 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.633/1.633, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.364/3.364, allocations: 0.49 GB / 0.7958 GB, free: 35.51 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_2d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Clustering.Validation.KMeans_2d") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.432e-05, allocations: 2.281 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_2d): time 0.001625/0.00165, allocations: 0.5229 MB / 1.155 GB, free: 24.97 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002236/0.003886, allocations: 1.619 MB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.285e-05/0.003919, allocations: 0 / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.004116, allocations: 65.2 kB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 3.812e-05/0.004154, allocations: 25.14 kB / 1.157 GB, free: 23.86 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.0009185/0.005073, allocations: 285.7 kB / 1.157 GB, free: 23.74 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.635e-05/0.005169, allocations: 37.52 kB / 1.157 GB, free: 23.73 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.00521, allocations: 4.047 kB / 1.157 GB, free: 23.73 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.022e-05/0.00525, allocations: 30.56 kB / 1.157 GB, free: 23.72 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.884e-05/0.005309, allocations: 34.98 kB / 1.158 GB, free: 23.71 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.005321, allocations: 2.344 kB / 1.158 GB, free: 23.71 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006659/0.005987, allocations: 485.7 kB / 1.158 GB, free: 23.55 MB / 0.9044 GB Notification: Performance of combineBinaries: time 6.199e-05/0.006049, allocations: 53.47 kB / 1.158 GB, free: 23.53 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.129e-05/0.006071, allocations: 43.27 kB / 1.158 GB, free: 23.5 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.197e-05/0.006083, allocations: 2.719 kB / 1.158 GB, free: 23.5 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.594e-06/0.00609, allocations: 0 / 1.158 GB, free: 23.5 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.0003969/0.006487, allocations: 287.5 kB / 1.158 GB, free: 23.18 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 7.775e-05/0.006565, allocations: 34.8 kB / 1.158 GB, free: 23.14 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 5.859e-05/0.006623, allocations: 62.02 kB / 1.158 GB, free: 23.07 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 4.027e-05/0.006664, allocations: 64.84 kB / 1.159 GB, free: 22.98 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0002708/0.006934, allocations: 126.2 kB / 1.159 GB, free: 22.83 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 3.405e-05/0.006969, allocations: 64.88 kB / 1.159 GB, free: 22.73 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.148e-05/0.00699, allocations: 36.34 kB / 1.159 GB, free: 22.68 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 5.844e-05/0.007048, allocations: 77.09 kB / 1.159 GB, free: 22.56 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 1.565e-05/0.007064, allocations: 6.516 kB / 1.159 GB, free: 22.56 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 5.18e-05/0.007116, allocations: 18.56 kB / 1.159 GB, free: 22.54 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 5.626e-05/0.007172, allocations: 22.91 kB / 1.159 GB, free: 22.52 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 2.562e-05/0.007198, allocations: 25.23 kB / 1.159 GB, free: 22.51 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 8.231e-05/0.00728, allocations: 99.95 kB / 1.159 GB, free: 22.36 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 3.509e-05/0.007315, allocations: 32.95 kB / 1.159 GB, free: 22.34 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 8.135e-06/0.007323, allocations: 15.08 kB / 1.159 GB, free: 22.32 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 1.136e-05/0.007335, allocations: 6.203 kB / 1.159 GB, free: 22.32 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.00023/0.007565, allocations: 129.7 kB / 1.159 GB, free: 22.28 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.595e-05/0.007581, allocations: 5.094 kB / 1.159 GB, free: 22.28 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.71e-07/0.007581, allocations: 0 / 1.159 GB, free: 22.28 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.969e-06/0.007586, allocations: 1.094 kB / 1.159 GB, free: 22.28 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 7.31e-07/0.007587, allocations: 0 / 1.159 GB, free: 22.28 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.149e-06/0.007592, allocations: 1.062 kB / 1.159 GB, free: 22.28 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 4.47e-05/0.007637, allocations: 14.83 kB / 1.159 GB, free: 22.27 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.085e-06/0.007645, allocations: 0 / 1.159 GB, free: 22.27 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.813e-05/0.007683, allocations: 29.84 kB / 1.159 GB, free: 22.25 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001411/0.009093, allocations: 0.7751 MB / 1.16 GB, free: 21.92 MB / 0.9044 GB Notification: Performance of Templates: time 0.006324/0.01542, allocations: 2.24 MB / 1.162 GB, free: 21.72 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo Buildings_12_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/Buildings_12_Buildings.Utilities.Clustering.Validation.KMeans_2d.sim & ./Buildings_12_Buildings.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Clustering.Validation.KMeans_2d_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Clustering_Validation_KMeans_2d.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.2672406937927]