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 5.194/5.194, allocations: 0.5623 GB / 0.5769 GB, free: 3.344 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.002374/0.002373, allocations: 354.4 kB / 0.644 GB, free: 185.6 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.193/4.193, allocations: 410.7 MB / 1.112 GB, free: 6.008 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.001786/0.001786, allocations: 177.2 kB / 1.225 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004956/0.0004959, allocations: 16 kB / 1.348 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5897/0.5902, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.0007121/0.591, allocations: 402.5 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.5927, allocations: 1.284 MB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.301e-05/0.5928, allocations: 2.438 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004274/0.5932, allocations: 181.2 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.5933, allocations: 101.7 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007712/0.5941, allocations: 206 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004114/0.5946, allocations: 367.8 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.5946, allocations: 8.484 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.5948, allocations: 192.4 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.5951, allocations: 185.3 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.058e-05/0.5952, allocations: 8 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.5954, allocations: 76.72 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003078/0.5958, allocations: 239.5 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.433e-05/0.5959, allocations: 57.64 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.5962, allocations: 358.5 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.876e-06/0.5962, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.06e-06/0.5963, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.5963, allocations: 0.875 kB / 1.464 GB, free: 280.7 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.0007712/0.5971, allocations: 0.5223 MB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.5971, allocations: 12.19 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.5972, allocations: 32.52 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005276/0.5978, allocations: 371 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.5978, allocations: 13.03 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.533e-05/0.5979, allocations: 23.98 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.5983, allocations: 185.1 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.583e-06/0.5983, allocations: 4.656 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.5983, allocations: 4 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.175e-06/0.5983, allocations: 0.625 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.5985, allocations: 110.8 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.599, allocations: 392.6 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004982/0.5995, allocations: 318.4 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.5997, allocations: 122.5 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.5997, allocations: 5.844 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/0.6002, allocations: 283.6 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.745e-06/0.6002, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0009488/0.6012, allocations: 0.4907 MB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.6012, allocations: 115.2 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004599/0.6017, allocations: 401.7 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-05/0.6018, allocations: 41.69 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.6019, allocations: 157.1 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.602, allocations: 37.02 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.449e-05/0.602, allocations: 0 / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.798e-05/0.6021, allocations: 350.8 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.6023, allocations: 82.7 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004639/0.6027, allocations: 461.1 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.603, allocations: 130.2 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.362e-06/0.603, allocations: 5.594 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005914/0.6036, allocations: 327.3 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.6036, allocations: 8.594 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.784e-06/0.6036, allocations: 4 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.6037, allocations: 5.25 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.6039, allocations: 27.92 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.6039, allocations: 8 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00088/0.6048, allocations: 93.31 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.6048, allocations: 9.438 kB / 1.469 GB, free: 275.3 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.0002589/0.6051, allocations: 192.7 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.789e-05/0.6052, allocations: 33.52 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.701e-05/0.6053, allocations: 29.89 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.067e-06/0.6053, allocations: 8.938 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.767e-06/0.6053, allocations: 0 / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.724e-06/0.6053, allocations: 4 kB / 1.469 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.6056, allocations: 294.8 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.353e-06/0.6056, allocations: 0 / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.242e-05/0.6056, allocations: 4 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.857e-06/0.6057, allocations: 4 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.6057, allocations: 12.48 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.772e-06/0.6057, allocations: 0.5781 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.342e-06/0.6057, allocations: 4.766 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006392/0.6064, allocations: 438.1 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.642e-05/0.6065, allocations: 109.8 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.998e-05/0.6065, allocations: 11.98 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.6067, allocations: 0 / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.6067, allocations: 15.98 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.6068, allocations: 19.98 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000324/0.6071, allocations: 287.6 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.73e-07/0.6071, allocations: 0.75 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005342/0.6077, allocations: 75.98 kB / 1.471 GB, free: 273.7 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.0002381/0.6079, allocations: 141 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004991/0.6084, allocations: 253.5 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.462e-06/0.6085, allocations: 1.906 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.6087, allocations: 147.9 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.6091, allocations: 29.06 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000973/0.6101, allocations: 0.5961 MB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.6103, allocations: 0.7766 MB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002275/0.6105, allocations: 50.91 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.652e-05/0.6106, allocations: 35.36 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.854e-06/0.6107, allocations: 0.5625 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.0111/0.6218, allocations: 4.605 MB / 1.477 GB, free: 267.4 MB / 0.8542 GB