Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.964/4.964, allocations: 0.5623 GB / 0.5776 GB, free: 3.352 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002531/0.002531, allocations: 363.4 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.163/4.163, allocations: 410.7 MB / 1.113 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00181/0.001809, allocations: 192.2 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000509/0.0005093, allocations: 12 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7679/0.7685, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1977/0.9663, allocations: 137.9 MB / 1.596 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.9666, allocations: 74.28 kB / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.09622/1.063, allocations: 21.21 MB / 1.617 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.883e-06/1.063, allocations: 0 / 1.617 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.015e-05/1.063, allocations: 4 kB / 1.617 GB, free: 125.2 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001022/1.064, allocations: 0.5427 MB / 1.617 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.064, allocations: 11.62 kB / 1.617 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/1.064, allocations: 40.47 kB / 1.617 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000648/1.065, allocations: 375.2 kB / 1.618 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/1.065, allocations: 13 kB / 1.618 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.304e-05/1.065, allocations: 24 kB / 1.618 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/1.065, allocations: 190.9 kB / 1.618 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.065, allocations: 3.938 kB / 1.618 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/1.065, allocations: 0 / 1.618 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/1.065, allocations: 0 / 1.618 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002572/1.066, allocations: 111.9 kB / 1.618 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/1.066, allocations: 397.1 kB / 1.618 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006266/1.067, allocations: 326.1 kB / 1.619 GB, free: 123 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/1.067, allocations: 126.5 kB / 1.619 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/1.067, allocations: 4.672 kB / 1.619 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000498/1.068, allocations: 285.2 kB / 1.619 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.004e-06/1.068, allocations: 0 / 1.619 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.001129/1.069, allocations: 0.506 MB / 1.62 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/1.069, allocations: 111.4 kB / 1.62 GB, free: 122 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005471/1.069, allocations: 393.5 kB / 1.62 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.388e-05/1.07, allocations: 37.7 kB / 1.62 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/1.07, allocations: 158.2 kB / 1.62 GB, free: 121.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/1.07, allocations: 44.91 kB / 1.62 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/1.07, allocations: 8 kB / 1.62 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.703e-05/1.07, allocations: 342.8 kB / 1.621 GB, free: 121 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/1.07, allocations: 88.88 kB / 1.621 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005869/1.071, allocations: 474.7 kB / 1.621 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/1.071, allocations: 137.2 kB / 1.621 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.071, allocations: 4 kB / 1.621 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006527/1.072, allocations: 332.7 kB / 1.622 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/1.072, allocations: 8 kB / 1.622 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.072, allocations: 4 kB / 1.622 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/1.072, allocations: 4 kB / 1.622 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/1.072, allocations: 27.92 kB / 1.622 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/1.072, allocations: 15.88 kB / 1.622 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/1.073, allocations: 54.31 kB / 1.622 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.78e-05/1.073, allocations: 16.08 kB / 1.622 GB, free: 119.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002486/1.074, allocations: 198.5 kB / 1.622 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.77e-05/1.074, allocations: 27.62 kB / 1.622 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.005e-05/1.074, allocations: 35.3 kB / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.074, allocations: 4 kB / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/1.074, allocations: 4.125 kB / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/1.074, allocations: 0 / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/1.074, allocations: 294 kB / 1.622 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/1.074, allocations: 0.6875 kB / 1.622 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.43e-05/1.074, allocations: 4 kB / 1.622 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.074, allocations: 0.5938 kB / 1.622 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/1.074, allocations: 11.98 kB / 1.622 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/1.074, allocations: 9.484 kB / 1.622 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.074, allocations: 3.938 kB / 1.622 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007832/1.075, allocations: 436.7 kB / 1.623 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.725e-05/1.075, allocations: 117 kB / 1.623 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.975e-05/1.075, allocations: 7.984 kB / 1.623 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/1.075, allocations: 4 kB / 1.623 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/1.075, allocations: 20.62 kB / 1.623 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/1.075, allocations: 16.73 kB / 1.623 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003936/1.076, allocations: 287.5 kB / 1.623 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.21e-07/1.076, allocations: 1.156 kB / 1.623 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005233/1.076, allocations: 87.92 kB / 1.623 GB, free: 118.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002454/1.077, allocations: 144.9 kB / 1.623 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005495/1.077, allocations: 261.3 kB / 1.624 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.077, allocations: 3.625 kB / 1.624 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000272/1.077, allocations: 147.9 kB / 1.624 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/1.078, allocations: 29.36 kB / 1.624 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/1.079, allocations: 0.5913 MB / 1.624 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/1.079, allocations: 0.7724 MB / 1.625 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002125/1.079, allocations: 52.8 kB / 1.625 GB, free: 116 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/1.08, allocations: 27.42 kB / 1.625 GB, free: 116 MB / 0.8542 GB Notification: Performance of SimCode: time 8.41e-07/1.08, allocations: 0 / 1.625 GB, free: 116 MB / 0.8542 GB Notification: Performance of Templates: time 0.01179/1.091, allocations: 4.621 MB / 1.63 GB, free: 111.6 MB / 0.8542 GB