Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0107/0.0107, allocations: 220.3 kB / 15.17 MB, free: 6.012 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001105/0.001104, allocations: 176.2 kB / 16.06 MB, free: 5.875 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.788/3.788, allocations: 389 MB / 405.9 MB, free: 67.63 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.35/4.35, allocations: 472.3 MB / 0.9018 GB, free: 13.43 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004902, allocations: 12 kB / 1.008 GB, free: 0.832 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5589/0.5594, allocations: 98.71 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.002213/0.5617, allocations: 2.013 MB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002923/0.5646, allocations: 1.727 MB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002766/0.565, allocations: 11.88 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005454/0.5655, allocations: 275.2 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0004764/0.566, allocations: 222.4 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007696/0.5668, allocations: 247.2 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0005567/0.5674, allocations: 0.5375 MB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.5676, allocations: 72.62 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.5679, allocations: 230.9 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.5681, allocations: 255 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.471e-05/0.5682, allocations: 12.94 kB / 1.11 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003912/0.5686, allocations: 131 kB / 1.11 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.5688, allocations: 155.5 kB / 1.11 GB, free: 178 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.5689, allocations: 130.1 kB / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006399/0.5696, allocations: 0.6403 MB / 1.111 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5696, allocations: 0 / 1.111 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.979e-06/0.5696, allocations: 0 / 1.111 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.5696, allocations: 0 / 1.111 GB, free: 177.2 MB / 0.6823 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.001145/0.5708, allocations: 1.137 MB / 1.112 GB, free: 176 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.5708, allocations: 8.031 kB / 1.112 GB, free: 176 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.5709, allocations: 71.67 kB / 1.112 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007973/0.5717, allocations: 0.5463 MB / 1.112 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.5718, allocations: 15.94 kB / 1.112 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.5718, allocations: 16 kB / 1.112 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.5723, allocations: 208.9 kB / 1.112 GB, free: 175 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.5723, allocations: 0.6094 kB / 1.112 GB, free: 175 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.5724, allocations: 12.92 kB / 1.112 GB, free: 175 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.54e-06/0.5724, allocations: 4 kB / 1.112 GB, free: 175 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.5728, allocations: 106.8 kB / 1.113 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.5739, allocations: 1.076 MB / 1.114 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007058/0.5747, allocations: 288.3 kB / 1.114 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.5749, allocations: 104.2 kB / 1.114 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.216e-05/0.575, allocations: 5.469 kB / 1.114 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004812/0.5755, allocations: 239 kB / 1.114 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 3.906e-06/0.5755, allocations: 0 / 1.114 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001246/0.5768, allocations: 442.7 kB / 1.115 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.5768, allocations: 162.7 kB / 1.115 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.578, allocations: 0.9223 MB / 1.116 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.562e-05/0.5781, allocations: 41.7 kB / 1.116 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.5783, allocations: 272.9 kB / 1.116 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.5785, allocations: 77.42 kB / 1.116 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.5785, allocations: 8 kB / 1.116 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5786, allocations: 379.3 kB / 1.116 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.579, allocations: 128.8 kB / 1.117 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.5794, allocations: 215.9 kB / 1.117 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004387/0.5799, allocations: 302.7 kB / 1.117 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.668e-06/0.5799, allocations: 4 kB / 1.117 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001218/0.5811, allocations: 0.6183 MB / 1.118 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.457e-05/0.5812, allocations: 172.4 kB / 1.118 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.725e-06/0.5812, allocations: 4 kB / 1.118 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.5813, allocations: 4 kB / 1.118 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.5815, allocations: 59.91 kB / 1.118 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.5816, allocations: 7.938 kB / 1.118 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/0.5819, allocations: 58.05 kB / 1.118 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/0.582, allocations: 20 kB / 1.118 GB, free: 169.1 MB / 0.6823 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,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * 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.0003507/0.5823, allocations: 268.2 kB / 1.118 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.5824, allocations: 71.06 kB / 1.118 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.5826, allocations: 73.38 kB / 1.118 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.095e-06/0.5826, allocations: 10.72 kB / 1.118 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.091e-06/0.5826, allocations: 1.375 kB / 1.118 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.497e-06/0.5826, allocations: 7.984 kB / 1.118 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.5831, allocations: 434 kB / 1.119 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.53e-06/0.5831, allocations: 6.062 kB / 1.119 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.81e-05/0.5832, allocations: 23.92 kB / 1.119 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.984e-06/0.5832, allocations: 0 / 1.119 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.5833, allocations: 15.12 kB / 1.119 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.692e-06/0.5833, allocations: 7.938 kB / 1.119 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.602e-06/0.5833, allocations: 0 / 1.119 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009031/0.5842, allocations: 398 kB / 1.119 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.5845, allocations: 196.1 kB / 1.119 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.5846, allocations: 11.28 kB / 1.119 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.5849, allocations: 19.92 kB / 1.119 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.5849, allocations: 22.17 kB / 1.12 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/0.585, allocations: 19.98 kB / 1.12 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008723/0.5859, allocations: 0.6513 MB / 1.12 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.86e-07/0.5859, allocations: 1.938 kB / 1.12 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006831/0.5866, allocations: 136 kB / 1.12 GB, free: 166.7 MB / 0.6823 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.004148/0.5908, allocations: 1.168 MB / 1.121 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.5919, allocations: 0.6772 MB / 1.122 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.192e-06/0.592, allocations: 0 / 1.122 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.5923, allocations: 113.7 kB / 1.122 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.5933, allocations: 162.9 kB / 1.122 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.595, allocations: 1.121 MB / 1.123 GB, free: 164 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.5955, allocations: 0.9328 MB / 1.124 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003623/0.5959, allocations: 93.33 kB / 1.124 GB, free: 163 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.596, allocations: 51.42 kB / 1.125 GB, free: 163 MB / 0.6823 GB Notification: Performance of SimCode: time 1.75e-06/0.596, allocations: 0 / 1.125 GB, free: 163 MB / 0.6823 GB Notification: Performance of Templates: time 0.01926/0.6153, allocations: 8.445 MB / 1.133 GB, free: 155.2 MB / 0.6823 GB