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.0009223/0.0009223, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.000911/0.000911, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9341/0.9341, allocations: 177.2 MB / 204.6 MB, free: 5.48 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.911/1.911, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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 2.023e-06/2.023e-06, allocations: 0.6562 kB / 0.7752 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.071e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_1d): time 0.001599/0.001619, allocations: 0.5808 MB / 0.7757 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.004096, allocations: 1.658 MB / 0.7774 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.678e-05/0.004132, allocations: 3.938 kB / 0.7774 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.004283, allocations: 16.62 kB / 0.7774 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.175e-05/0.004315, allocations: 15.44 kB / 0.7774 GB, free: 3.141 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.0008843/0.005199, allocations: 256.4 kB / 0.7776 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.578e-05/0.005275, allocations: 15.16 kB / 0.7776 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.42e-05/0.005309, allocations: 4.656 kB / 0.7776 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.328e-05/0.005362, allocations: 25.48 kB / 0.7777 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.852e-05/0.005401, allocations: 12.75 kB / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.005415, allocations: 0.9062 kB / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005833/0.005998, allocations: 485 kB / 0.7781 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.78e-05/0.006036, allocations: 16 kB / 0.7782 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.384e-05/0.00605, allocations: 7.938 kB / 0.7782 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.00635, allocations: 351.7 kB / 0.7785 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.433e-06/0.006351, allocations: 4.656 kB / 0.7785 GB, free: 2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.71e-07/0.006352, allocations: 1.5 kB / 0.7785 GB, free: 2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.006355, allocations: 0 / 0.7785 GB, free: 2 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.0002508/0.006606, allocations: 304.2 kB / 0.7788 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.006634, allocations: 9.344 kB / 0.7788 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.214e-05/0.006656, allocations: 5.875 kB / 0.7788 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.006758, allocations: 126.4 kB / 0.7789 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-06/0.006764, allocations: 384 / 0.7789 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-06/0.006769, allocations: 0.9688 kB / 0.7789 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.027e-05/0.006819, allocations: 37.95 kB / 0.779 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.006826, allocations: 192 / 0.779 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-06/0.00683, allocations: 384 / 0.779 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.006836, allocations: 5.375 kB / 0.779 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.836e-06/0.006844, allocations: 11.97 kB / 0.779 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.59e-05/0.00692, allocations: 74.59 kB / 0.7791 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 2.45e-05/0.006945, allocations: 23.2 kB / 0.7791 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.968e-06/0.006955, allocations: 4.859 kB / 0.7791 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.006985, allocations: 12.73 kB / 0.7791 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.007002, allocations: 32.28 kB / 0.7791 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.007003, allocations: 0 / 0.7791 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 6.58e-05/0.007068, allocations: 33.7 kB / 0.7792 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.007091, allocations: 55.34 kB / 0.7792 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.776e-05/0.007169, allocations: 153.1 kB / 0.7794 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.007178, allocations: 25.7 kB / 0.7794 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.007205, allocations: 100.5 kB / 0.7795 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.253e-06/0.007212, allocations: 0 / 0.7795 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.007239, allocations: 30.44 kB / 0.7795 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.782e-05/0.007307, allocations: 322.8 kB / 0.7798 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.007321, allocations: 15.56 kB / 0.7798 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.836e-06/0.00733, allocations: 5 kB / 0.7798 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.144e-05/0.007361, allocations: 35.61 kB / 0.7799 GB, free: 476 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.007363, allocations: 0 / 0.7799 GB, free: 476 kB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 4.76e-05/0.00741, allocations: 58.67 kB / 0.7799 GB, free: 412 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.747e-06/0.007419, allocations: 7.938 kB / 0.7799 GB, free: 404 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.007429, allocations: 4.625 kB / 0.7799 GB, free: 400 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.007439, allocations: 0 / 0.7799 GB, free: 400 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.789e-06/0.007448, allocations: 4.688 kB / 0.7799 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.007451, allocations: 3.984 kB / 0.78 GB, free: 392 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.595e-05/0.007467, allocations: 13.64 kB / 0.78 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.007473, allocations: 0 / 0.78 GB, free: 380 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.815e-05/0.007531, allocations: 115.5 kB / 0.7801 GB, free: 256 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-06/0.007535, allocations: 4.594 kB / 0.7801 GB, free: 252 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.792e-05/0.007593, allocations: 46.44 kB / 0.7801 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.91e-07/0.007594, allocations: 0 / 0.7801 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.007595, allocations: 0 / 0.7801 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.007597, allocations: 0.5312 kB / 0.7801 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.726e-05/0.007645, allocations: 78.94 kB / 0.7802 GB, free: 108 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.007645, allocations: 0 / 0.7802 GB, free: 108 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-06/0.007647, allocations: 0 / 0.7802 GB, free: 108 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.00765, allocations: 4.812 kB / 0.7802 GB, free: 104 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-06/0.007653, allocations: 3.938 kB / 0.7802 GB, free: 100 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.007654, allocations: 0 / 0.7802 GB, free: 100 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.007654, allocations: 0.5312 kB / 0.7802 GB, free: 100 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.835e-05/0.007693, allocations: 71.77 kB / 0.7803 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-06/0.0077, allocations: 7.891 kB / 0.7803 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.007719, allocations: 4.922 kB / 0.7803 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.77e-06/0.007725, allocations: 3.938 kB / 0.7803 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-06/0.007732, allocations: 0 / 0.7803 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-06/0.007733, allocations: 0.7812 kB / 0.7803 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.333e-05/0.007757, allocations: 35.27 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.007757, allocations: 0.9375 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001825/0.007939, allocations: 87.8 kB / 0.7804 GB, free: 15.87 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.0003661/0.008305, allocations: 272.8 kB / 0.7807 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.021e-05/0.008386, allocations: 58.48 kB / 0.7807 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.008388, allocations: 3.938 kB / 0.7807 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.37e-06/0.008394, allocations: 8.859 kB / 0.7807 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.397e-05/0.008448, allocations: 11.94 kB / 0.7807 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.008835, allocations: 150.5 kB / 0.7809 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.77e-05/0.008863, allocations: 65.53 kB / 0.781 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.271e-05/0.008875, allocations: 0 / 0.781 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.008903, allocations: 55.36 kB / 0.781 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/0.008903, allocations: 0 / 0.781 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.003694/0.0126, allocations: 2.571 MB / 0.7835 GB, free: 12.79 MB / 0.7448 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: 4.836830738931894]