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.589/5.589, allocations: 0.5623 GB / 0.5776 GB, free: 3.316 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.002573/0.002572, allocations: 355.7 kB / 0.6447 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.642/4.642, allocations: 410.7 MB / 1.113 GB, free: 6.059 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.00181, allocations: 171 kB / 1.226 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004924, allocations: 12 kB / 1.349 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.745/0.7455, 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.000911/0.7464, allocations: 402.8 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002022/0.7485, allocations: 1.284 MB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.335e-05/0.7486, allocations: 0 / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000506/0.7492, allocations: 186.4 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.7493, allocations: 97.8 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008785/0.7502, allocations: 211 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005467/0.7508, allocations: 367.8 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.047e-05/0.7509, allocations: 5.828 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.7511, allocations: 188.3 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003378/0.7514, allocations: 193.7 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.407e-05/0.7515, allocations: 8 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.7518, allocations: 67.83 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004008/0.7522, allocations: 244.1 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.668e-05/0.7523, allocations: 65.58 kB / 1.465 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004422/0.7528, allocations: 354.7 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.7528, allocations: 0 / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7528, allocations: 0 / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.7528, allocations: 0.75 kB / 1.465 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.00106/0.7539, allocations: 0.5198 MB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.754, allocations: 11.62 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.7541, allocations: 31.67 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00069/0.7548, allocations: 371 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.7549, allocations: 9.25 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.755, allocations: 28 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004191/0.7554, allocations: 192.6 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.7555, allocations: 1.156 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.7555, allocations: 0 / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.7555, allocations: 0 / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.7558, allocations: 117 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.7563, allocations: 396.7 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006136/0.757, allocations: 310 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/0.7572, allocations: 127.8 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.7573, allocations: 2.562 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005543/0.7578, allocations: 279.6 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.474e-06/0.7578, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.001266/0.7591, allocations: 0.4894 MB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.7592, allocations: 120.2 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006025/0.7598, allocations: 400.4 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.7599, allocations: 41.7 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.7601, allocations: 154.9 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.7602, allocations: 39.59 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.7602, allocations: 7.938 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.7603, allocations: 342.8 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.7605, allocations: 80.45 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006192/0.7611, allocations: 466.9 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.7614, allocations: 131.9 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.7614, allocations: 4 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007216/0.7621, allocations: 320.5 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.7622, allocations: 8 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.7622, allocations: 4 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.7622, allocations: 5.656 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.7625, allocations: 31.92 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.7626, allocations: 11.94 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.764, allocations: 76.72 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.7641, allocations: 19.94 kB / 1.47 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.000308/0.7644, allocations: 192.2 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.797e-05/0.7645, allocations: 35.61 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.364e-05/0.7646, allocations: 30.39 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-06/0.7646, allocations: 8.844 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.7646, allocations: 0 / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.875e-05/0.7647, allocations: 118.4 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/0.7648, allocations: 3.953 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.765, allocations: 11.98 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.765, allocations: 15.98 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000818/0.7659, allocations: 0.5962 MB / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008436/0.7667, allocations: 0.7182 MB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002459/0.767, allocations: 135.9 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004222/0.7674, allocations: 288 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of Backend: time 7.21e-07/0.7675, allocations: 0 / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.7686, allocations: 251.4 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001078/0.7697, allocations: 0.9153 MB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.01292/0.7827, allocations: 4.634 MB / 1.478 GB, free: 267.6 MB / 0.8542 GB