Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.661/4.661, allocations: 0.5623 GB / 0.5775 GB, free: 66.95 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002613/0.002612, allocations: 360 kB / 0.6446 GB, free: 21.55 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.206/4.206, allocations: 410.7 MB / 1.113 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001787/0.001787, allocations: 191.1 kB / 1.226 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005021/0.0005023, allocations: 13.28 kB / 1.349 GB, free: 320.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2042, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1982/0.4025, allocations: 138.2 MB / 1.596 GB, free: 82.33 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.4028, allocations: 77.36 kB / 1.596 GB, free: 82.25 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.2103/0.6131, allocations: 45.84 MB / 1.641 GB, free: 36.41 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6131, allocations: 0 / 1.641 GB, free: 36.41 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.959e-05/0.6132, allocations: 12 kB / 1.641 GB, free: 36.39 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001687/0.6149, allocations: 0.7199 MB / 1.642 GB, free: 35.62 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.615, allocations: 13.81 kB / 1.642 GB, free: 35.61 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002511/0.6152, allocations: 51.44 kB / 1.642 GB, free: 35.56 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.6163, allocations: 0.5341 MB / 1.642 GB, free: 34.99 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.6164, allocations: 28.23 kB / 1.642 GB, free: 34.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.6166, allocations: 32 kB / 1.643 GB, free: 34.93 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006701/0.6172, allocations: 313.3 kB / 1.643 GB, free: 34.62 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.6173, allocations: 1.25 kB / 1.643 GB, free: 34.62 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.6173, allocations: 3.938 kB / 1.643 GB, free: 34.61 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.6173, allocations: 7.984 kB / 1.643 GB, free: 34.61 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004863/0.6178, allocations: 220.9 kB / 1.643 GB, free: 34.39 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002856/0.6207, allocations: 1.18 MB / 1.644 GB, free: 33.16 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009403/0.6217, allocations: 481.9 kB / 1.645 GB, free: 32.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004111/0.6221, allocations: 181 kB / 1.645 GB, free: 32.48 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.6222, allocations: 8 kB / 1.645 GB, free: 32.47 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006378/0.6228, allocations: 336.3 kB / 1.645 GB, free: 32.12 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=24): time 3.206e-06/0.6228, allocations: 3.938 kB / 1.645 GB, free: 32.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=24): time 0.001672/0.6245, allocations: 0.6413 MB / 1.646 GB, free: 31.47 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.6246, allocations: 120 kB / 1.646 GB, free: 31.33 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009944/0.6256, allocations: 0.5876 MB / 1.646 GB, free: 30.74 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002156/0.6258, allocations: 45.7 kB / 1.647 GB, free: 30.69 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.6262, allocations: 226.6 kB / 1.647 GB, free: 30.45 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.6262, allocations: 47.41 kB / 1.647 GB, free: 30.4 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.6263, allocations: 8 kB / 1.647 GB, free: 30.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.6264, allocations: 362.8 kB / 1.647 GB, free: 30.03 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.6267, allocations: 123.9 kB / 1.647 GB, free: 29.91 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.6277, allocations: 0.7233 MB / 1.648 GB, free: 29.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.6281, allocations: 180.8 kB / 1.648 GB, free: 28.85 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.6281, allocations: 3.953 kB / 1.648 GB, free: 28.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001057/0.6292, allocations: 436 kB / 1.649 GB, free: 28.41 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.6292, allocations: 4 kB / 1.649 GB, free: 28.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.6293, allocations: 4 kB / 1.649 GB, free: 28.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.6293, allocations: 8 kB / 1.649 GB, free: 28.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.6296, allocations: 29.7 kB / 1.649 GB, free: 28.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.6296, allocations: 11.98 kB / 1.649 GB, free: 28.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002364/0.632, allocations: 95.59 kB / 1.649 GB, free: 28.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.237e-05/0.6321, allocations: 16 kB / 1.649 GB, free: 28.25 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005401/0.6326, allocations: 265.5 kB / 1.649 GB, free: 27.99 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.6328, allocations: 39.48 kB / 1.649 GB, free: 27.95 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.6329, allocations: 55.36 kB / 1.649 GB, free: 27.9 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.6329, allocations: 4.75 kB / 1.649 GB, free: 27.89 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.6329, allocations: 0 / 1.649 GB, free: 27.89 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.6329, allocations: 0 / 1.649 GB, free: 27.89 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.6334, allocations: 405.2 kB / 1.649 GB, free: 27.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.6334, allocations: 4 kB / 1.649 GB, free: 27.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.6335, allocations: 9.547 kB / 1.649 GB, free: 27.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.6335, allocations: 3.938 kB / 1.649 GB, free: 27.43 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.6335, allocations: 11.98 kB / 1.649 GB, free: 27.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.6336, allocations: 7.938 kB / 1.649 GB, free: 27.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.6336, allocations: 5.844 kB / 1.649 GB, free: 27.41 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.6346, allocations: 0.5154 MB / 1.65 GB, free: 26.87 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.6348, allocations: 136.5 kB / 1.65 GB, free: 26.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.077e-05/0.6349, allocations: 11.95 kB / 1.65 GB, free: 26.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003203/0.6352, allocations: 26.41 kB / 1.65 GB, free: 26.68 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.6353, allocations: 31.91 kB / 1.65 GB, free: 26.65 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/0.6354, allocations: 15.98 kB / 1.65 GB, free: 26.64 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0007389/0.6362, allocations: 431 kB / 1.651 GB, free: 26.22 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6362, allocations: 0 / 1.651 GB, free: 26.22 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008912/0.6371, allocations: 119.9 kB / 1.651 GB, free: 26.1 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003065/0.6374, allocations: 159.5 kB / 1.651 GB, free: 25.94 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0009469/0.6384, allocations: 354.5 kB / 1.651 GB, free: 25.59 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.6384, allocations: 4 kB / 1.651 GB, free: 25.59 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000359/0.6388, allocations: 181.5 kB / 1.651 GB, free: 25.41 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.6393, allocations: 41.95 kB / 1.651 GB, free: 25.38 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.641, allocations: 0.8849 MB / 1.652 GB, free: 24.46 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.6414, allocations: 0.8427 MB / 1.653 GB, free: 23.6 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0005497/0.6419, allocations: 98.98 kB / 1.653 GB, free: 23.51 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.6421, allocations: 31.44 kB / 1.653 GB, free: 23.48 MB / 0.8073 GB Notification: Performance of SimCode: time 1.162e-06/0.6421, allocations: 0 / 1.653 GB, free: 23.48 MB / 0.8073 GB Notification: Performance of Templates: time 0.01876/0.6609, allocations: 7.354 MB / 1.66 GB, free: 16.27 MB / 0.8073 GB