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 5.017/5.017, allocations: 0.5623 GB / 0.5769 GB, free: 3.379 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.002415/0.002414, allocations: 358.8 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.169/4.169, allocations: 410.7 MB / 1.112 GB, free: 5.883 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.001809/0.001809, allocations: 184.4 kB / 1.225 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004993/0.0004996, allocations: 12 kB / 1.348 GB, free: 8.176 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6413/0.6418, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.00133/0.6432, allocations: 0.549 MB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003013/0.6462, allocations: 1.373 MB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.6464, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006948/0.6471, allocations: 190.7 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.6474, allocations: 101 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.6495, allocations: 311.2 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.6507, allocations: 0.659 MB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.6509, allocations: 78.92 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004511/0.6514, allocations: 291.4 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005002/0.6519, allocations: 225.3 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001887/0.6522, allocations: 12 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004393/0.6526, allocations: 77.34 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0006034/0.6532, allocations: 307.3 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.6535, allocations: 89.5 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.6545, allocations: 0.6957 MB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.707e-06/0.6545, allocations: 1.281 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.207e-06/0.6545, allocations: 0 / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.6546, allocations: 0 / 1.466 GB, free: 279.4 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001982/0.6566, allocations: 0.7069 MB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.6566, allocations: 11.62 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003585/0.657, allocations: 63.39 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.6584, allocations: 0.5244 MB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.709e-05/0.6585, allocations: 24.92 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/0.6588, allocations: 33 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009019/0.6597, allocations: 306 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.6598, allocations: 4 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.377e-05/0.6598, allocations: 5.312 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.6599, allocations: 4 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006674/0.6606, allocations: 221.2 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003848/0.6644, allocations: 1.191 MB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.6658, allocations: 462.6 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/0.6663, allocations: 182.6 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.6664, allocations: 7.938 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008277/0.6672, allocations: 329 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=24): time 4.939e-06/0.6673, allocations: 0 / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24): time 0.002222/0.6695, allocations: 0.619 MB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.6696, allocations: 115.5 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.671, allocations: 0.5999 MB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002201/0.6712, allocations: 41.7 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.6716, allocations: 226.4 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.607e-05/0.6718, allocations: 55.34 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.6718, allocations: 8 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.672, allocations: 366.7 kB / 1.471 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/0.6724, allocations: 123.7 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.6739, allocations: 0.7125 MB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005054/0.6745, allocations: 179.1 kB / 1.472 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.757e-06/0.6745, allocations: 0.9375 kB / 1.472 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001543/0.6761, allocations: 414.6 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.6762, allocations: 8.688 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.6762, allocations: 4 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/0.6762, allocations: 4.938 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.6765, allocations: 35.92 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.6766, allocations: 6.625 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/0.6786, allocations: 134.4 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/0.6787, allocations: 21.28 kB / 1.473 GB, free: 271.3 MB / 0.8542 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.0004184/0.6792, allocations: 259.9 kB / 1.473 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.6793, allocations: 45.28 kB / 1.473 GB, free: 271 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.429e-05/0.6794, allocations: 56.11 kB / 1.473 GB, free: 271 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.046e-06/0.6794, allocations: 0.5 kB / 1.473 GB, free: 271 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.382e-06/0.6794, allocations: 5.094 kB / 1.473 GB, free: 271 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.6794, allocations: 256 / 1.473 GB, free: 271 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.6799, allocations: 413.2 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.6799, allocations: 6.406 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.329e-05/0.6799, allocations: 8 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.633e-06/0.6799, allocations: 4 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.68, allocations: 11.92 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.127e-06/0.68, allocations: 3.938 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.467e-06/0.68, allocations: 0 / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000862/0.6809, allocations: 0.5165 MB / 1.474 GB, free: 270 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.681, allocations: 136.6 kB / 1.474 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.148e-05/0.6811, allocations: 8 kB / 1.474 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.6814, allocations: 15.98 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/0.6815, allocations: 36.64 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.6815, allocations: 16 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005423/0.6821, allocations: 432.5 kB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.64e-07/0.6821, allocations: 0 / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009295/0.683, allocations: 115.8 kB / 1.475 GB, free: 269.2 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: 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.0003589/0.6834, allocations: 141 kB / 1.475 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.6846, allocations: 353.1 kB / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.596e-06/0.6846, allocations: 0 / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005527/0.6852, allocations: 187.9 kB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008166/0.686, allocations: 40.16 kB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.6884, allocations: 0.8936 MB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.689, allocations: 0.8519 MB / 1.477 GB, free: 266.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006131/0.6896, allocations: 92.64 kB / 1.478 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.6898, allocations: 39.42 kB / 1.478 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of SimCode: time 2.093e-06/0.6898, allocations: 7.812 kB / 1.478 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.01922/0.709, allocations: 7.341 MB / 1.485 GB, free: 259.6 MB / 0.8542 GB