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.385/2.385, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001453/0.001453, allocations: 190.2 kB / 325.6 MB, free: 2.836 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.349/2.349, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001181/0.001181, allocations: 88.83 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.0004907, allocations: 14.91 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2306, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2667/0.4973, allocations: 135 MB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.4977, allocations: 79.95 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1031/0.6008, allocations: 22.77 MB / 1.053 GB, free: 3.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.474e-06/0.6009, allocations: 0 / 1.053 GB, free: 3.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001005/0.601, allocations: 20.11 kB / 1.053 GB, free: 3.41 MB / 0.698 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.002488/0.6035, allocations: 0.9198 MB / 1.054 GB, free: 2.438 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.6036, allocations: 8.031 kB / 1.054 GB, free: 2.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002917/0.6039, allocations: 71.11 kB / 1.054 GB, free: 2.359 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.6061, allocations: 0.6398 MB / 1.055 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.056e-05/0.6061, allocations: 12 kB / 1.055 GB, free: 1.668 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.778e-05/0.6062, allocations: 15.98 kB / 1.055 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007199/0.6069, allocations: 206.4 kB / 1.055 GB, free: 1.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.607, allocations: 4 kB / 1.055 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.607, allocations: 11.92 kB / 1.055 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.6071, allocations: 0 / 1.055 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.6075, allocations: 115.9 kB / 1.055 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.6099, allocations: 1.083 MB / 1.056 GB, free: 156 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.794/1.404, allocations: 288.2 kB / 1.056 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/1.404, allocations: 4.5 kB / 1.056 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006673/1.405, allocations: 226.5 kB / 1.057 GB, free: 146.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 3.657e-06/1.405, allocations: 2.625 kB / 1.057 GB, free: 146.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.001831/1.407, allocations: 441.7 kB / 1.057 GB, free: 146.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.592e-05/1.407, allocations: 164 kB / 1.057 GB, free: 146.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/1.409, allocations: 0.9197 MB / 1.058 GB, free: 146.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.855e-05/1.409, allocations: 39.84 kB / 1.058 GB, free: 146.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/1.409, allocations: 279.4 kB / 1.058 GB, free: 146.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/1.409, allocations: 74.62 kB / 1.058 GB, free: 146.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/1.409, allocations: 17.22 kB / 1.058 GB, free: 146.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.409, allocations: 386.2 kB / 1.059 GB, free: 145.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007165/1.41, allocations: 252.5 kB / 1.059 GB, free: 145.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007871/1.411, allocations: 347.9 kB / 1.059 GB, free: 145.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007896/1.412, allocations: 287.8 kB / 1.06 GB, free: 145.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/1.412, allocations: 0 / 1.06 GB, free: 145.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002041/1.414, allocations: 0.7531 MB / 1.06 GB, free: 145.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/1.414, allocations: 9.516 kB / 1.06 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.414, allocations: 2.812 kB / 1.06 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/1.414, allocations: 5.688 kB / 1.06 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007652/1.415, allocations: 116 kB / 1.06 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/1.415, allocations: 5.688 kB / 1.06 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006138/1.415, allocations: 49.2 kB / 1.061 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/1.415, allocations: 36.52 kB / 1.061 GB, free: 145.7 MB / 0.698 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.0005011/1.416, allocations: 269.8 kB / 1.061 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/1.416, allocations: 78.83 kB / 1.061 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/1.417, allocations: 401 kB / 1.061 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/1.417, allocations: 6.062 kB / 1.061 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.417, allocations: 2.781 kB / 1.061 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/1.417, allocations: 0 / 1.061 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007323/1.418, allocations: 482.7 kB / 1.062 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/1.418, allocations: 2.844 kB / 1.062 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/1.418, allocations: 28 kB / 1.062 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/1.418, allocations: 2.781 kB / 1.062 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/1.418, allocations: 11.72 kB / 1.062 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/1.418, allocations: 10.34 kB / 1.062 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.418, allocations: 0 / 1.062 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/1.42, allocations: 472 kB / 1.062 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/1.42, allocations: 167.2 kB / 1.062 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/1.42, allocations: 13.34 kB / 1.062 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/1.42, allocations: 17.8 kB / 1.062 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.629e-05/1.421, allocations: 21.34 kB / 1.062 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/1.421, allocations: 18 kB / 1.062 GB, free: 144.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00124/1.422, allocations: 0.5918 MB / 1.063 GB, free: 144.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.422, allocations: 3.953 kB / 1.063 GB, free: 144.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008396/1.423, allocations: 135.4 kB / 1.063 GB, free: 144.8 MB / 0.698 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.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * 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.001492/1.424, allocations: 0.4957 MB / 1.064 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001386/1.426, allocations: 431.6 kB / 1.064 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.426, allocations: 3.609 kB / 1.064 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004551/1.426, allocations: 126.4 kB / 1.064 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/1.428, allocations: 189 kB / 1.064 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/1.431, allocations: 1.203 MB / 1.066 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006983/1.432, allocations: 0.9399 MB / 1.066 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006938/1.432, allocations: 115.9 kB / 1.067 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/1.433, allocations: 56.06 kB / 1.067 GB, free: 143.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.563e-06/1.433, allocations: 0.5625 kB / 1.067 GB, free: 143.5 MB / 0.698 GB Notification: Performance of Templates: time 0.02753/1.46, allocations: 7.348 MB / 1.074 GB, free: 143 MB / 0.698 GB