Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.159/2.159, allocations: 251.1 MB / 266.1 MB, free: 11.6 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001656/0.001656, allocations: 174.3 kB / 325.6 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.603/2.603, allocations: 205.4 MB / 0.5766 GB, free: 21.1 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001497/0.001496, allocations: 100 kB / 0.6811 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0009035/0.0009038, allocations: 16.97 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2324, allocations: 106.3 MB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.004698/0.2372, allocations: 2.07 MB / 0.9009 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004522/0.2418, allocations: 1.183 MB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005183/0.2424, allocations: 7.938 kB / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.2434, allocations: 287 kB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.2448, allocations: 275.3 kB / 0.9026 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.2468, allocations: 296.4 kB / 0.9029 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.2482, allocations: 423.1 kB / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003022/0.2486, allocations: 65.05 kB / 0.9034 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008448/0.2495, allocations: 278.9 kB / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005365/0.25, allocations: 231 kB / 0.9039 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.693e-05/0.2501, allocations: 8 kB / 0.9039 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003564/0.2505, allocations: 39.97 kB / 0.9039 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002911/0.2508, allocations: 159.5 kB / 0.9041 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.2511, allocations: 121.3 kB / 0.9042 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.2521, allocations: 0.5455 MB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2522, allocations: 0 / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.206e-06/0.2522, allocations: 0 / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.2522, allocations: 0 / 0.9047 GB, free: 59.91 MB / 0.6042 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.00251/0.2548, allocations: 0.8708 MB / 0.9056 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.2548, allocations: 8.031 kB / 0.9056 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.2551, allocations: 71.11 kB / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/0.2569, allocations: 0.5619 MB / 0.9062 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.257, allocations: 4 kB / 0.9062 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.308e-05/0.2571, allocations: 16 kB / 0.9062 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008391/0.258, allocations: 207.9 kB / 0.9064 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.258, allocations: 0 / 0.9064 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/0.2581, allocations: 7.984 kB / 0.9064 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.2581, allocations: 7.938 kB / 0.9064 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006444/0.2588, allocations: 95.88 kB / 0.9065 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/0.2611, allocations: 1.028 MB / 0.9075 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.2627, allocations: 273.3 kB / 0.9078 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.313e-05/0.2628, allocations: 15.97 kB / 0.9078 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008809/0.2637, allocations: 219.4 kB / 0.908 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 4.949e-06/0.2637, allocations: 0 / 0.908 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.002358/0.2661, allocations: 420.5 kB / 0.9084 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.2663, allocations: 162.2 kB / 0.9085 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/0.2688, allocations: 0.9849 MB / 0.9095 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.663e-05/0.269, allocations: 33.7 kB / 0.9095 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003759/0.2694, allocations: 280.8 kB / 0.9098 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.2695, allocations: 75.08 kB / 0.9099 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.917e-05/0.2696, allocations: 19.98 kB / 0.9099 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002177/0.2699, allocations: 394.8 kB / 0.9103 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009809/0.2709, allocations: 201.2 kB / 0.9105 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009924/0.2719, allocations: 295 kB / 0.9107 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.273, allocations: 239.6 kB / 0.911 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.602e-05/0.2731, allocations: 4 kB / 0.911 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002858/0.276, allocations: 0.6634 MB / 0.9116 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.433e-05/0.2761, allocations: 8 kB / 0.9116 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/0.2762, allocations: 0 / 0.9116 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.008e-05/0.2763, allocations: 4 kB / 0.9116 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/0.2781, allocations: 119.8 kB / 0.9118 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.517e-05/0.2783, allocations: 11.98 kB / 0.9118 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.2794, allocations: 35.73 kB / 0.9118 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.2796, allocations: 27.98 kB / 0.9118 GB, free: 52.26 MB / 0.6042 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.000468/0.28, allocations: 274.8 kB / 0.9121 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.2802, allocations: 75.09 kB / 0.9122 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.2804, allocations: 73.58 kB / 0.9122 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.2804, allocations: 4 kB / 0.9122 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.669e-06/0.2804, allocations: 4 kB / 0.9122 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2804, allocations: 0 / 0.9122 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.281, allocations: 449.2 kB / 0.9127 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.281, allocations: 3.984 kB / 0.9127 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.2811, allocations: 23.94 kB / 0.9127 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.2812, allocations: 8 kB / 0.9127 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.2812, allocations: 11.94 kB / 0.9127 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.2812, allocations: 4 kB / 0.9127 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.2812, allocations: 0 / 0.9127 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.2824, allocations: 442.8 kB / 0.9131 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.2827, allocations: 160.2 kB / 0.9133 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.2828, allocations: 8 kB / 0.9133 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/0.2832, allocations: 23.98 kB / 0.9133 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.54e-05/0.2833, allocations: 23.92 kB / 0.9133 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/0.2833, allocations: 15.98 kB / 0.9134 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001026/0.2843, allocations: 0.5732 MB / 0.9139 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2844, allocations: 0 / 0.9139 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007668/0.2852, allocations: 103.9 kB / 0.914 GB, free: 49.89 MB / 0.6042 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.001449/0.2866, allocations: 490.2 kB / 0.9145 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001343/0.288, allocations: 403 kB / 0.9149 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2881, allocations: 8.062 kB / 0.9149 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.2885, allocations: 107.8 kB / 0.915 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.2899, allocations: 180.5 kB / 0.9152 GB, free: 48.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.2923, allocations: 1.146 MB / 0.9163 GB, free: 47.72 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.2928, allocations: 0.9405 MB / 0.9172 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000525/0.2934, allocations: 101.5 kB / 0.9173 GB, free: 46.65 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.2936, allocations: 59.41 kB / 0.9173 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of SimCode: time 1.833e-06/0.2936, allocations: 0 / 0.9173 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.01932/0.3129, allocations: 6.785 MB / 0.924 GB, free: 39.86 MB / 0.6042 GB