Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.749/1.749, allocations: 293 MB / 309 MB, free: 4.816 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 180.5 kB / 378.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.4 MB / 0.6383 GB, free: 9.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007555/0.0007555, allocations: 93.23 kB / 0.7527 GB, free: 62.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004453/0.0004457, allocations: 12 kB / 0.8768 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.302, allocations: 116.4 MB / 0.9905 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8204/1.122, allocations: 139.4 MB / 1.127 GB, free: 34.64 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/1.123, allocations: 72.45 kB / 1.127 GB, free: 34.58 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1152/1.238, allocations: 46.18 MB / 1.172 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.324e-06/1.238, allocations: 0 / 1.172 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.222e-05/1.238, allocations: 12 kB / 1.172 GB, free: 12.04 MB / 0.7448 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.001715/1.24, allocations: 0.7193 MB / 1.173 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/1.24, allocations: 8.031 kB / 1.173 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003225/1.24, allocations: 56.94 kB / 1.173 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/1.241, allocations: 0.5455 MB / 1.173 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/1.241, allocations: 20.61 kB / 1.173 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/1.241, allocations: 36.38 kB / 1.173 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004818/1.242, allocations: 310.2 kB / 1.173 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/1.242, allocations: 3.938 kB / 1.173 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/1.242, allocations: 8.562 kB / 1.173 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/1.242, allocations: 0 / 1.173 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003458/1.242, allocations: 231.8 kB / 1.174 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/1.244, allocations: 1.188 MB / 1.175 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000603/1.245, allocations: 467.7 kB / 1.175 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/1.245, allocations: 182.6 kB / 1.175 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/1.245, allocations: 0 / 1.175 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004565/1.246, allocations: 339.7 kB / 1.176 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=24): time 1.714e-06/1.246, allocations: 0 / 1.176 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24): time 0.001093/1.247, allocations: 0.6473 MB / 1.176 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/1.247, allocations: 122.8 kB / 1.177 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007912/1.248, allocations: 0.5876 MB / 1.177 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/1.248, allocations: 45.7 kB / 1.177 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000244/1.248, allocations: 224.2 kB / 1.177 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/1.248, allocations: 47.5 kB / 1.177 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/1.248, allocations: 4 kB / 1.177 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.248, allocations: 359.7 kB / 1.178 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/1.249, allocations: 127.9 kB / 1.178 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008339/1.249, allocations: 0.7228 MB / 1.179 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/1.25, allocations: 307.6 kB / 1.179 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.25, allocations: 0 / 1.179 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007769/1.251, allocations: 425.8 kB / 1.179 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.251, allocations: 4.375 kB / 1.179 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.251, allocations: 11.94 kB / 1.179 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/1.251, allocations: 4 kB / 1.179 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/1.251, allocations: 35.92 kB / 1.179 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/1.251, allocations: 9.156 kB / 1.179 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/1.252, allocations: 100.1 kB / 1.179 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/1.252, allocations: 15.98 kB / 1.179 GB, free: 3.688 MB / 0.7448 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.0003983/1.252, allocations: 262 kB / 1.18 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.23e-05/1.252, allocations: 47.44 kB / 1.18 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/1.253, allocations: 51.31 kB / 1.18 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.253, allocations: 0 / 1.18 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.253, allocations: 8 kB / 1.18 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.253, allocations: 3.984 kB / 1.18 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/1.253, allocations: 401.3 kB / 1.18 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/1.253, allocations: 0 / 1.18 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.506e-05/1.253, allocations: 11.94 kB / 1.18 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/1.253, allocations: 4 kB / 1.18 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/1.253, allocations: 16.8 kB / 1.18 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/1.253, allocations: 1.016 kB / 1.18 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.253, allocations: 4 kB / 1.18 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007184/1.254, allocations: 0.5197 MB / 1.181 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/1.254, allocations: 136.6 kB / 1.181 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/1.254, allocations: 11.94 kB / 1.181 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/1.254, allocations: 12.64 kB / 1.181 GB, free: 2.121 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/1.254, allocations: 39.89 kB / 1.181 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/1.254, allocations: 12 kB / 1.181 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005452/1.255, allocations: 439 kB / 1.181 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.255, allocations: 0 / 1.181 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005822/1.256, allocations: 115.9 kB / 1.182 GB, free: 1.527 MB / 0.7448 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.0003318/1.256, allocations: 153.4 kB / 1.182 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005929/1.257, allocations: 357.6 kB / 1.182 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.257, allocations: 0 / 1.182 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002421/1.257, allocations: 188.1 kB / 1.182 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/1.257, allocations: 38.8 kB / 1.182 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/1.259, allocations: 0.8955 MB / 1.183 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/1.259, allocations: 0.8314 MB / 1.184 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003317/1.259, allocations: 99.91 kB / 1.184 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.301e-05/1.26, allocations: 36.73 kB / 1.184 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of SimCode: time 4e-07/1.26, allocations: 0 / 1.184 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of Templates: time 0.0138/1.273, allocations: 7.464 MB / 1.191 GB, free: 7.531 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)