Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001568/0.001568, allocations: 91.67 kB / 20.95 MB, free: 3.301 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.008479/0.008479, allocations: 162 kB / 24.38 MB, free: 8.586 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.9449/0.9449, allocations: 177.1 MB / 204.8 MB, free: 5.055 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.839/1.839, allocations: 389.6 MB / 0.6356 GB, free: 12.23 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_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d") translateModel(Buildings.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7755 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.016e-05, allocations: 2.312 kB / 0.7755 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_1d): time 0.00119/0.00121, allocations: 0.5871 MB / 0.7761 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.003084, allocations: 1.66 MB / 0.7777 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.003122, allocations: 4.594 kB / 0.7777 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.003265, allocations: 20.84 kB / 0.7777 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.532e-05/0.00329, allocations: 12.91 kB / 0.7777 GB, free: 2.949 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.000651/0.003942, allocations: 249.4 kB / 0.778 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.206e-05/0.004004, allocations: 27.69 kB / 0.778 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 2.934e-05/0.004033, allocations: 3.984 kB / 0.778 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.879e-05/0.004072, allocations: 13.41 kB / 0.778 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.26e-05/0.004104, allocations: 19.56 kB / 0.778 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.004116, allocations: 0 / 0.778 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005042/0.00462, allocations: 479 kB / 0.7785 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.004667, allocations: 23.92 kB / 0.7785 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.524e-05/0.004683, allocations: 7.938 kB / 0.7785 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.004984, allocations: 347.1 kB / 0.7789 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.402e-06/0.004986, allocations: 0.9062 kB / 0.7789 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004986, allocations: 0 / 0.7789 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.004989, allocations: 1.75 kB / 0.7789 GB, free: 1.816 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.0002602/0.00525, allocations: 308.2 kB / 0.7792 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.005279, allocations: 13.28 kB / 0.7792 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.209e-05/0.005301, allocations: 4.938 kB / 0.7792 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.005409, allocations: 130.4 kB / 0.7793 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.134e-06/0.005416, allocations: 0.9375 kB / 0.7793 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.005425, allocations: 8.891 kB / 0.7793 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.179e-05/0.005477, allocations: 32.56 kB / 0.7793 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.005483, allocations: 192 / 0.7793 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-06/0.005487, allocations: 384 / 0.7793 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.365e-05/0.005561, allocations: 3.938 kB / 0.7793 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.083e-06/0.005568, allocations: 4 kB / 0.7793 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.771e-05/0.005646, allocations: 70.66 kB / 0.7794 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.159e-05/0.005677, allocations: 26.53 kB / 0.7794 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.218e-06/0.005687, allocations: 4.859 kB / 0.7794 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.005717, allocations: 8.062 kB / 0.7794 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.005733, allocations: 33.84 kB / 0.7795 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 6.82e-07/0.005733, allocations: 4 kB / 0.7795 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 7.122e-05/0.005805, allocations: 33.69 kB / 0.7795 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.005829, allocations: 55.34 kB / 0.7796 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.134e-05/0.00591, allocations: 160.2 kB / 0.7797 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.005919, allocations: 25.7 kB / 0.7797 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/0.005945, allocations: 92.08 kB / 0.7798 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.344e-06/0.005953, allocations: 0 / 0.7798 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.005981, allocations: 30.22 kB / 0.7799 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.94e-05/0.006051, allocations: 327.7 kB / 0.7802 GB, free: 340 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.006066, allocations: 14.83 kB / 0.7802 GB, free: 324 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.776e-06/0.006074, allocations: 4 kB / 0.7802 GB, free: 320 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.147e-05/0.006106, allocations: 36.7 kB / 0.7802 GB, free: 280 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.006107, allocations: 0 / 0.7802 GB, free: 280 kB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 5.059e-05/0.006158, allocations: 57.64 kB / 0.7803 GB, free: 216 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.006169, allocations: 8.5 kB / 0.7803 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.00618, allocations: 4.516 kB / 0.7803 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.831e-06/0.006186, allocations: 0.6875 kB / 0.7803 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.348e-06/0.006196, allocations: 0 / 0.7803 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.006198, allocations: 0.875 kB / 0.7803 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.545e-05/0.006214, allocations: 15.83 kB / 0.7803 GB, free: 188 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.00622, allocations: 0.5 kB / 0.7803 GB, free: 188 kB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (labels[1],labels[2],labels[3],labels[4],labels[5],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 5.543e-05/0.006275, allocations: 120.8 kB / 0.7804 GB, free: 60 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-06/0.00628, allocations: 3.984 kB / 0.7804 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.448e-05/0.006335, allocations: 37.52 kB / 0.7805 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.006336, allocations: 0.6875 kB / 0.7805 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.006338, allocations: 4 kB / 0.7805 GB, free: 12 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.006341, allocations: 5.578 kB / 0.7805 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.081e-05/0.006402, allocations: 73.83 kB / 0.7805 GB, free: 15.92 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006403, allocations: 0 / 0.7805 GB, free: 15.92 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-06/0.006408, allocations: 7.922 kB / 0.7806 GB, free: 15.91 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.006409, allocations: 4.812 kB / 0.7806 GB, free: 15.91 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-06/0.006412, allocations: 0 / 0.7806 GB, free: 15.91 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.006412, allocations: 0 / 0.7806 GB, free: 15.91 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.006413, allocations: 0.875 kB / 0.7806 GB, free: 15.91 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.148e-05/0.006454, allocations: 67.28 kB / 0.7806 GB, free: 15.82 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.006466, allocations: 11.89 kB / 0.7806 GB, free: 15.81 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.574e-06/0.006474, allocations: 4.781 kB / 0.7806 GB, free: 15.8 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.731e-06/0.00648, allocations: 0 / 0.7806 GB, free: 15.8 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.092e-05/0.006491, allocations: 1.094 kB / 0.7806 GB, free: 15.8 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.006492, allocations: 0 / 0.7806 GB, free: 15.8 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 4.031e-05/0.006532, allocations: 40.61 kB / 0.7807 GB, free: 15.77 MB / 0.7449 GB Notification: Performance of sort global known variables: time 7e-08/0.006533, allocations: 1.469 kB / 0.7807 GB, free: 15.77 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.000185/0.006717, allocations: 87.81 kB / 0.7808 GB, free: 15.68 MB / 0.7449 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.000401/0.007119, allocations: 263.6 kB / 0.781 GB, free: 15.45 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 8.973e-05/0.007208, allocations: 66.47 kB / 0.7811 GB, free: 15.38 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.007211, allocations: 1.062 kB / 0.7811 GB, free: 15.38 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 6.312e-06/0.007218, allocations: 8.844 kB / 0.7811 GB, free: 15.37 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.58e-05/0.007273, allocations: 13.06 kB / 0.7811 GB, free: 15.36 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001797/0.007453, allocations: 150.5 kB / 0.7812 GB, free: 15.18 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.985e-05/0.007483, allocations: 64.23 kB / 0.7813 GB, free: 15.09 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 1.422e-05/0.007497, allocations: 0 / 0.7813 GB, free: 15.09 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.007525, allocations: 52.09 kB / 0.7814 GB, free: 15.04 MB / 0.7449 GB Notification: Performance of SimCode: time 3.91e-07/0.007526, allocations: 0 / 0.7814 GB, free: 15.04 MB / 0.7449 GB Notification: Performance of Templates: time 0.004313/0.01184, allocations: 2.585 MB / 0.7839 GB, free: 12.59 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.074857532978058]