Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0014/0.0014, allocations: 91.67 kB / 20.95 MB, free: 3.305 MB / 18.57 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.008207/0.008207, allocations: 161.9 kB / 24.37 MB, free: 8.543 MB / 18.57 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 0.9236/0.9236, allocations: 177.1 MB / 204.8 MB, free: 5.422 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.936/1.936, allocations: 389.6 MB / 0.6356 GB, free: 12.2 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d") translateModel(Buildings.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0.5469 kB / 0.7755 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.823e-05, allocations: 2.312 kB / 0.7755 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_2d): time 0.002144/0.002172, allocations: 0.5793 MB / 0.7761 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002495/0.004667, allocations: 1.659 MB / 0.7777 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.322e-05/0.00472, allocations: 6.375 kB / 0.7777 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.004914, allocations: 56.67 kB / 0.7778 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.875e-05/0.004943, allocations: 32.98 kB / 0.7778 GB, free: 2.855 MB / 0.7292 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.000719/0.005662, allocations: 256.7 kB / 0.778 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.704e-05/0.005739, allocations: 36.22 kB / 0.7781 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.005777, allocations: 3.984 kB / 0.7781 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.838e-05/0.005825, allocations: 20.75 kB / 0.7781 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.248e-05/0.005878, allocations: 43.03 kB / 0.7781 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.005892, allocations: 0.875 kB / 0.7781 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006397/0.006531, allocations: 476 kB / 0.7786 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.006591, allocations: 34.5 kB / 0.7786 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.00661, allocations: 7.938 kB / 0.7786 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.007044, allocations: 363.7 kB / 0.779 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.007048, allocations: 3.344 kB / 0.779 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.543e-06/0.00705, allocations: 0 / 0.779 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.007055, allocations: 0 / 0.779 GB, free: 1.656 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003288/0.007383, allocations: 332 kB / 0.7793 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.007417, allocations: 13.34 kB / 0.7793 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.007448, allocations: 8.875 kB / 0.7793 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.007575, allocations: 138.4 kB / 0.7795 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.007583, allocations: 384 / 0.7795 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.007592, allocations: 384 / 0.7795 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.695e-05/0.007659, allocations: 36.5 kB / 0.7795 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.007666, allocations: 192 / 0.7795 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-06/0.007672, allocations: 384 / 0.7795 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.007677, allocations: 3.938 kB / 0.7795 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.313e-05/0.00769, allocations: 7.969 kB / 0.7795 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.007791, allocations: 70.7 kB / 0.7796 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.279e-05/0.007834, allocations: 22.55 kB / 0.7796 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.355e-05/0.007848, allocations: 12.86 kB / 0.7796 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.694e-05/0.007895, allocations: 4.562 kB / 0.7796 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.007914, allocations: 35.06 kB / 0.7796 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.007915, allocations: 0 / 0.7796 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001054/0.00802, allocations: 34.75 kB / 0.7797 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.008051, allocations: 55.34 kB / 0.7797 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.008168, allocations: 200.3 kB / 0.7799 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.445e-06/0.008176, allocations: 25.7 kB / 0.7799 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.008212, allocations: 100.6 kB / 0.78 GB, free: 464 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.008224, allocations: 0 / 0.78 GB, free: 464 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.008255, allocations: 26.28 kB / 0.7801 GB, free: 432 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.37e-05/0.008329, allocations: 332.4 kB / 0.7804 GB, free: 92 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.008348, allocations: 14.83 kB / 0.7804 GB, free: 76 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.343e-05/0.008361, allocations: 13.81 kB / 0.7804 GB, free: 64 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.767e-05/0.008399, allocations: 35.64 kB / 0.7804 GB, free: 24 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.0084, allocations: 0 / 0.7804 GB, free: 24 kB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 8.529e-05/0.008486, allocations: 81.06 kB / 0.7805 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.008496, allocations: 5 kB / 0.7805 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.00851, allocations: 0 / 0.7805 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.547e-06/0.008519, allocations: 0 / 0.7805 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.383e-05/0.008533, allocations: 5.578 kB / 0.7805 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.008537, allocations: 0 / 0.7805 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.259e-05/0.008559, allocations: 15.83 kB / 0.7805 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.008567, allocations: 0 / 0.7805 GB, free: 15.92 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (labels[1],labels[2],labels[3],labels[4],labels[5],labels[6],cluster_size[1],cluster_size[2],cluster_size[3],cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.008687, allocations: 113.5 kB / 0.7807 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-06/0.008694, allocations: 4.875 kB / 0.7807 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.626e-05/0.008781, allocations: 46.19 kB / 0.7807 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.008783, allocations: 0.5625 kB / 0.7807 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.008784, allocations: 0.7812 kB / 0.7807 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.008788, allocations: 3.984 kB / 0.7807 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.948e-05/0.008858, allocations: 90.89 kB / 0.7808 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.008859, allocations: 0 / 0.7808 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-06/0.008863, allocations: 0 / 0.7808 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.008865, allocations: 5.406 kB / 0.7808 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-06/0.008868, allocations: 0 / 0.7808 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.00887, allocations: 4 kB / 0.7808 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.008872, allocations: 0 / 0.7808 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.278e-05/0.008925, allocations: 67.78 kB / 0.7809 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.008938, allocations: 11.91 kB / 0.7809 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-06/0.008946, allocations: 0 / 0.7809 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.207e-05/0.008958, allocations: 5.062 kB / 0.7809 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.008974, allocations: 0 / 0.7809 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.008976, allocations: 0 / 0.7809 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.639e-05/0.009013, allocations: 46.48 kB / 0.7809 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009013, allocations: 0.6562 kB / 0.7809 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002825/0.009295, allocations: 91.8 kB / 0.781 GB, free: 15.39 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004729/0.009768, allocations: 268.5 kB / 0.7813 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.009876, allocations: 70.47 kB / 0.7813 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.009879, allocations: 0 / 0.7813 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.408e-06/0.009883, allocations: 9.766 kB / 0.7814 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.817e-05/0.009951, allocations: 7.938 kB / 0.7814 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002351/0.01019, allocations: 191.7 kB / 0.7815 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.468e-05/0.01022, allocations: 71.88 kB / 0.7816 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.108e-05/0.01024, allocations: 0.6875 kB / 0.7816 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.01028, allocations: 51.38 kB / 0.7817 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.01028, allocations: 1.125 kB / 0.7817 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of Templates: time 0.005075/0.01535, allocations: 2.606 MB / 0.7842 GB, free: 12.23 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.132751774042845]