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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 111.3 kB / 18.34 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 190 kB / 21.52 MB, free: 0.7969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 250.1 MB, free: 13.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.121/3.121, allocations: 496.1 MB / 0.7826 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 3.063e-05/3.063e-05, allocations: 4.672 kB / 1.136 GB, free: 33.77 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_1d): time 0.001843/0.001874, allocations: 0.5288 MB / 1.137 GB, free: 33.46 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00243/0.004304, allocations: 1.623 MB / 1.139 GB, free: 32.32 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.004353, allocations: 0 / 1.139 GB, free: 32.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.00452, allocations: 25.91 kB / 1.139 GB, free: 32.31 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 2.851e-05/0.004549, allocations: 9.359 kB / 1.139 GB, free: 32.31 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.005568, allocations: 246.9 kB / 1.139 GB, free: 32.21 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.005677, allocations: 36.83 kB / 1.139 GB, free: 32.19 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.063e-05/0.005727, allocations: 2.781 kB / 1.139 GB, free: 32.19 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.216e-05/0.005759, allocations: 10.14 kB / 1.139 GB, free: 32.19 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.205e-05/0.005811, allocations: 21 kB / 1.139 GB, free: 32.18 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.005824, allocations: 3.125 kB / 1.139 GB, free: 32.18 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005499/0.006374, allocations: 360.3 kB / 1.139 GB, free: 32.07 MB / 0.9044 GB Notification: Performance of combineBinaries: time 5.685e-05/0.006431, allocations: 52.17 kB / 1.139 GB, free: 32.04 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.228e-05/0.006453, allocations: 28.59 kB / 1.139 GB, free: 32.02 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.365e-05/0.006467, allocations: 4.562 kB / 1.139 GB, free: 32.02 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.757e-06/0.006476, allocations: 2.844 kB / 1.139 GB, free: 32.02 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 Bindings: time 0.0003382/0.006814, allocations: 254.5 kB / 1.14 GB, free: 31.71 MB / 0.9044 GB Notification: Performance of FunctionAlias: time 6.293e-05/0.006877, allocations: 15.47 kB / 1.14 GB, free: 31.71 MB / 0.9044 GB Notification: Performance of Early Inline: time 6.42e-05/0.006941, allocations: 59.5 kB / 1.14 GB, free: 31.64 MB / 0.9044 GB Notification: Performance of Simplify 1: time 2.309e-05/0.006964, allocations: 34.38 kB / 1.14 GB, free: 31.58 MB / 0.9044 GB Notification: Performance of Alias: time 0.0002622/0.007226, allocations: 108.7 kB / 1.14 GB, free: 31.45 MB / 0.9044 GB Notification: Performance of Simplify 2: time 1.836e-05/0.007245, allocations: 34 kB / 1.14 GB, free: 31.39 MB / 0.9044 GB Notification: Performance of Remove Stream: time 2.065e-05/0.007265, allocations: 39.72 kB / 1.14 GB, free: 31.33 MB / 0.9044 GB Notification: Performance of Detect States: time 0.0001025/0.007368, allocations: 69.45 kB / 1.14 GB, free: 31.23 MB / 0.9044 GB Notification: Performance of Events: time 1.433e-05/0.007382, allocations: 18 kB / 1.14 GB, free: 31.22 MB / 0.9044 GB Notification: Performance of Partitioning: time 3.575e-05/0.007418, allocations: 10.22 kB / 1.14 GB, free: 31.2 MB / 0.9044 GB Notification: Performance of Causalize: time 4.635e-05/0.007464, allocations: 29.17 kB / 1.14 GB, free: 31.18 MB / 0.9044 GB Notification: Performance of After Index Reduction Inline: time 1.182e-05/0.007476, allocations: 8.094 kB / 1.14 GB, free: 31.18 MB / 0.9044 GB Notification: Performance of Simplify: time 6.379e-05/0.00754, allocations: 78.84 kB / 1.14 GB, free: 31.07 MB / 0.9044 GB Notification: Performance of Inline: time 1.871e-05/0.007559, allocations: 29.16 kB / 1.14 GB, free: 31.05 MB / 0.9044 GB Notification: Performance of Partitioning: time 6.132e-06/0.007565, allocations: 11.09 kB / 1.14 GB, free: 31.03 MB / 0.9044 GB Notification: Performance of Cleanup: time 8.415e-06/0.007573, allocations: 0 / 1.14 GB, free: 31.03 MB / 0.9044 GB Notification: Performance of Causalize: time 0.000175/0.007748, allocations: 127.9 kB / 1.14 GB, free: 30.98 MB / 0.9044 GB Notification: Performance of Tearing: time 8.787e-06/0.007757, allocations: 0 / 1.14 GB, free: 30.98 MB / 0.9044 GB Notification: Performance of Initialization: time 9.72e-07/0.007758, allocations: 6.469 kB / 1.14 GB, free: 30.98 MB / 0.9044 GB Notification: Performance of Remove Dummies: time 3.486e-06/0.007761, allocations: 0 / 1.14 GB, free: 30.98 MB / 0.9044 GB Notification: Performance of Tearing: time 5.31e-07/0.007762, allocations: 0 / 1.14 GB, free: 30.98 MB / 0.9044 GB Notification: Performance of Categorize: time 5.35e-06/0.007767, allocations: 0 / 1.14 GB, free: 30.98 MB / 0.9044 GB Notification: Performance of Solve: time 3.109e-05/0.007798, allocations: 6.719 kB / 1.14 GB, free: 30.98 MB / 0.9044 GB Notification: Performance of Jacobian: time 3.817e-06/0.007802, allocations: 2.406 kB / 1.14 GB, free: 30.98 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.301e-05/0.007835, allocations: 17.25 kB / 1.14 GB, free: 30.96 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001198/0.009033, allocations: 1.255 MB / 1.141 GB, free: 30.06 MB / 0.9044 GB Notification: Performance of Templates: time 0.005207/0.01424, allocations: 2.085 MB / 1.144 GB, free: 29.88 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 400] 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/jenkins/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.684294034726918]