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.00129/0.00129, allocations: 104.3 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.001424/0.001424, allocations: 211.2 kB / 23.06 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.437/1.437, allocations: 230.7 MB / 256.9 MB, free: 7.785 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 2.973/2.973, allocations: 0.4893 GB / 0.7952 GB, free: 35.52 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_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 1.729e-05/1.729e-05, allocations: 4.672 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_2d): time 0.001321/0.001339, allocations: 0.5273 MB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001869/0.003207, allocations: 1.615 MB / 1.156 GB, free: 24.15 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.003236, allocations: 5.062 kB / 1.156 GB, free: 24.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.003419, allocations: 58.75 kB / 1.157 GB, free: 24.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 3.363e-05/0.003452, allocations: 36.27 kB / 1.157 GB, free: 24.14 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.0007866/0.004239, allocations: 278.9 kB / 1.157 GB, free: 24.03 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.726e-05/0.004316, allocations: 41.19 kB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.004359, allocations: 1.219 kB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.444e-05/0.004393, allocations: 18.11 kB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.673e-05/0.00445, allocations: 38.27 kB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.004463, allocations: 1.156 kB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006163/0.005079, allocations: 450.4 kB / 1.157 GB, free: 23.89 MB / 0.9044 GB Notification: Performance of combineBinaries: time 6.35e-05/0.005143, allocations: 55.25 kB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.2e-05/0.005165, allocations: 37.06 kB / 1.157 GB, free: 23.84 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.071e-05/0.005175, allocations: 1.031 kB / 1.157 GB, free: 23.84 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.015e-06/0.005184, allocations: 0.9375 kB / 1.157 GB, free: 23.84 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.00034/0.005524, allocations: 301 kB / 1.158 GB, free: 23.51 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 6.866e-05/0.005592, allocations: 28.59 kB / 1.158 GB, free: 23.48 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 5.963e-05/0.005652, allocations: 63.58 kB / 1.158 GB, free: 23.41 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 4.32e-05/0.005695, allocations: 67.92 kB / 1.158 GB, free: 23.31 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.000266/0.005961, allocations: 121.7 kB / 1.158 GB, free: 23.17 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 2.87e-05/0.00599, allocations: 58.91 kB / 1.158 GB, free: 23.07 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 1.729e-05/0.006007, allocations: 40.25 kB / 1.158 GB, free: 23.02 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 4.718e-05/0.006054, allocations: 78.66 kB / 1.158 GB, free: 22.9 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 1.051e-05/0.006065, allocations: 6.594 kB / 1.158 GB, free: 22.89 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 4.799e-05/0.006113, allocations: 20.12 kB / 1.158 GB, free: 22.88 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 4.985e-05/0.006163, allocations: 23.34 kB / 1.158 GB, free: 22.86 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 2.219e-05/0.006185, allocations: 18.03 kB / 1.158 GB, free: 22.85 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 7.774e-05/0.006263, allocations: 103.1 kB / 1.158 GB, free: 22.7 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 2.736e-05/0.00629, allocations: 39.55 kB / 1.158 GB, free: 22.68 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 6.933e-06/0.006297, allocations: 14 kB / 1.158 GB, free: 22.66 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 8.777e-06/0.006306, allocations: 3.094 kB / 1.158 GB, free: 22.66 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002069/0.006512, allocations: 128.8 kB / 1.159 GB, free: 22.62 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.025e-05/0.006523, allocations: 0.8438 kB / 1.159 GB, free: 22.62 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.81e-07/0.006523, allocations: 1.031 kB / 1.159 GB, free: 22.62 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.163e-05/0.006535, allocations: 20.69 kB / 1.159 GB, free: 22.6 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 2.966e-06/0.006538, allocations: 1.188 kB / 1.159 GB, free: 22.6 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.222e-06/0.006539, allocations: 0.625 kB / 1.159 GB, free: 22.6 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.903e-06/0.006546, allocations: 3.938 kB / 1.159 GB, free: 22.6 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 4.151e-05/0.006587, allocations: 11.84 kB / 1.159 GB, free: 22.59 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.587e-06/0.006596, allocations: 5.625 kB / 1.159 GB, free: 22.59 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.34e-05/0.006629, allocations: 31.61 kB / 1.159 GB, free: 22.56 MB / 0.9044 GB Notification: Performance of SimCode: time 0.00136/0.007989, allocations: 0.7698 MB / 1.159 GB, free: 22.24 MB / 0.9044 GB Notification: Performance of Templates: time 0.005409/0.0134, allocations: 2.174 MB / 1.161 GB, free: 22.05 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/jenkins1/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: 8.04047928401269]