Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001486/0.001486, 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.001535/0.001535, allocations: 213.4 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.502/1.502, allocations: 230.7 MB / 256.9 MB, free: 7.938 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.286/3.286, allocations: 0.5108 GB / 0.8167 GB, free: 17.9 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Clustering.Validation.KMeans_1d") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.468e-05, allocations: 6.219 kB / 1.187 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_1d): time 0.001586/0.00161, allocations: 0.517 MB / 1.188 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002246/0.003857, allocations: 1.61 MB / 1.189 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.003893, allocations: 8.688 kB / 1.189 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.004039, allocations: 17.45 kB / 1.189 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 2.66e-05/0.004066, allocations: 12.03 kB / 1.189 GB, free: 12.16 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.0009246/0.004991, allocations: 279.7 kB / 1.189 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.216e-05/0.005083, allocations: 32.11 kB / 1.19 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.275e-05/0.005136, allocations: 3.156 kB / 1.19 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.541e-05/0.005171, allocations: 10.55 kB / 1.19 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.689e-05/0.005218, allocations: 23.73 kB / 1.19 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.005232, allocations: 1.344 kB / 1.19 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007615/0.005994, allocations: 450.6 kB / 1.19 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of combineBinaries: time 7.747e-05/0.006071, allocations: 52.55 kB / 1.19 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.553e-05/0.006097, allocations: 36.52 kB / 1.19 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.128e-05/0.006108, allocations: 1.125 kB / 1.19 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.356e-06/0.006116, allocations: 5.281 kB / 1.19 GB, free: 11.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.0004687/0.006585, allocations: 296.1 kB / 1.19 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 9.181e-05/0.006677, allocations: 34.55 kB / 1.19 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 6.962e-05/0.006746, allocations: 57.98 kB / 1.19 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 5.333e-05/0.0068, allocations: 77.34 kB / 1.191 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.000318/0.007118, allocations: 116.1 kB / 1.191 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 3.964e-05/0.007157, allocations: 67.16 kB / 1.191 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.09e-05/0.007178, allocations: 35.06 kB / 1.191 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 6.552e-05/0.007244, allocations: 82.97 kB / 1.191 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 1.3e-05/0.007257, allocations: 2 kB / 1.191 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 5.598e-05/0.007313, allocations: 23.03 kB / 1.191 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 5.635e-05/0.007369, allocations: 22.69 kB / 1.191 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 2.346e-05/0.007392, allocations: 17.36 kB / 1.191 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 9.97e-05/0.007492, allocations: 110.8 kB / 1.191 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 3.18e-05/0.007524, allocations: 33.22 kB / 1.191 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 9.238e-06/0.007533, allocations: 11.08 kB / 1.191 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 1.147e-05/0.007545, allocations: 5.953 kB / 1.191 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0001904/0.007735, allocations: 107.5 kB / 1.191 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.012e-05/0.007745, allocations: 1.031 kB / 1.191 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 8.72e-07/0.007746, allocations: 1.062 kB / 1.191 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.309e-05/0.007759, allocations: 17.8 kB / 1.191 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.108e-06/0.007763, allocations: 5.219 kB / 1.191 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 7.61e-07/0.007764, allocations: 0 / 1.191 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.941e-06/0.00777, allocations: 1.219 kB / 1.191 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 4.534e-05/0.007815, allocations: 15 kB / 1.191 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.265e-06/0.007824, allocations: 0 / 1.191 GB, free: 10.58 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.589e-05/0.007859, allocations: 17.48 kB / 1.191 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001502/0.009361, allocations: 0.7122 MB / 1.192 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of Templates: time 0.006476/0.01584, allocations: 2.174 MB / 1.194 GB, free: 10.08 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_1d.sim & ./Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_1d_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Clustering_Validation_KMeans_1d.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.80163167003775]