Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.325/5.325, allocations: 0.5623 GB / 0.5769 GB, free: 3.359 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.00256/0.002559, allocations: 357.6 kB / 0.644 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.243/4.243, allocations: 410.7 MB / 1.112 GB, free: 6.016 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: 186.3 kB / 1.225 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004817, allocations: 12 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6313/0.6318, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.0023/0.6341, allocations: 2.077 MB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002251/0.6364, allocations: 1.343 MB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.6366, allocations: 8.688 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005227/0.6372, allocations: 284.6 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000508/0.6377, allocations: 272.5 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009546/0.6387, allocations: 326.5 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005447/0.6392, allocations: 0.5924 MB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.6394, allocations: 75.25 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003131/0.6397, allocations: 255.3 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.64, allocations: 277.8 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.618e-05/0.6401, allocations: 12 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.6403, allocations: 63.84 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.6405, allocations: 171.4 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.6406, allocations: 122.6 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005231/0.6411, allocations: 0.5838 MB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.208e-06/0.6412, allocations: 0 / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.072e-06/0.6412, allocations: 0 / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.874e-06/0.6412, allocations: 0.9375 kB / 1.467 GB, free: 278 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001291/0.6425, allocations: 0.901 MB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.6425, allocations: 11.62 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.6427, allocations: 71.11 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009475/0.6436, allocations: 0.5976 MB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.6437, allocations: 11.94 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.6437, allocations: 8.75 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004112/0.6441, allocations: 200.4 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.6442, allocations: 0 / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.6442, allocations: 3.938 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.175e-06/0.6442, allocations: 5.922 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/0.6445, allocations: 109.4 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.6459, allocations: 1.051 MB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006845/0.6466, allocations: 276.8 kB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.6469, allocations: 107.1 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.647, allocations: 16.59 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004331/0.6474, allocations: 221.7 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=25): time 3.201e-06/0.6474, allocations: 0 / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25): time 0.001149/0.6486, allocations: 414.1 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.6487, allocations: 166.1 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.65, allocations: 1.029 MB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.6501, allocations: 33.7 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.6503, allocations: 295 kB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.286e-05/0.6504, allocations: 79.09 kB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.6504, allocations: 12 kB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.662e-05/0.6505, allocations: 330 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004647/0.651, allocations: 207.2 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004919/0.6515, allocations: 301.3 kB / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005171/0.652, allocations: 238.4 kB / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.122e-06/0.652, allocations: 4 kB / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001391/0.6534, allocations: 0.6647 MB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.6535, allocations: 8 kB / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.6535, allocations: 2.312 kB / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.6535, allocations: 11.98 kB / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.654, allocations: 111.8 kB / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.6541, allocations: 4.969 kB / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.6545, allocations: 44.72 kB / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.635e-05/0.6546, allocations: 31.94 kB / 1.474 GB, free: 270.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.000371/0.655, allocations: 280 kB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.6551, allocations: 79.92 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.6552, allocations: 73.81 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.6553, allocations: 5.5 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.6553, allocations: 3.938 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.65e-06/0.6553, allocations: 4 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.6558, allocations: 461.2 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.054e-06/0.6558, allocations: 8.484 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.64e-05/0.6559, allocations: 16.97 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.003e-06/0.6559, allocations: 1.406 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.6559, allocations: 15.94 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.39e-06/0.656, allocations: 5.844 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.656, allocations: 0 / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007522/0.6567, allocations: 393.4 kB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.6569, allocations: 168.1 kB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.992e-05/0.657, allocations: 16.55 kB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.6573, allocations: 17.39 kB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.022e-05/0.6574, allocations: 27.34 kB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.6574, allocations: 15.98 kB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000816/0.6582, allocations: 0.6005 MB / 1.476 GB, free: 267.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.576e-06/0.6583, allocations: 0 / 1.476 GB, free: 267.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005986/0.6589, allocations: 111.9 kB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001621/0.6605, allocations: 493.7 kB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.6616, allocations: 401.5 kB / 1.477 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.611e-06/0.6616, allocations: 0 / 1.477 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.6619, allocations: 103.9 kB / 1.478 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.663, allocations: 193.1 kB / 1.478 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.6648, allocations: 1.193 MB / 1.479 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.6652, allocations: 0.9389 MB / 1.48 GB, free: 264.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003797/0.6656, allocations: 110.7 kB / 1.48 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.6658, allocations: 62.34 kB / 1.48 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.869e-06/0.6658, allocations: 0 / 1.48 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.01725/0.6831, allocations: 7.135 MB / 1.487 GB, free: 257.9 MB / 0.8542 GB