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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 292.6 MB / 307.6 MB, free: 5.219 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.001133/0.001133, allocations: 173.1 kB / 377.1 MB, free: 1.512 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.781/1.781, allocations: 205.4 MB / 0.6367 GB, free: 8.543 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.001118/0.001118, allocations: 87.73 kB / 0.751 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003314, allocations: 12 kB / 0.8748 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2715, allocations: 116.3 MB / 0.9884 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7888/1.06, allocations: 139.4 MB / 1.124 GB, free: 35.41 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/1.061, allocations: 74.64 kB / 1.125 GB, free: 35.35 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1216/1.182, allocations: 45.85 MB / 1.169 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.839e-06/1.182, allocations: 0 / 1.169 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.677e-05/1.182, allocations: 16.5 kB / 1.169 GB, free: 13.39 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.001461/1.184, allocations: 0.7152 MB / 1.17 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/1.184, allocations: 8.031 kB / 1.17 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/1.184, allocations: 61.5 kB / 1.17 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/1.185, allocations: 0.525 MB / 1.171 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/1.185, allocations: 24.23 kB / 1.171 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/1.185, allocations: 48.64 kB / 1.171 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/1.186, allocations: 301.6 kB / 1.171 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.186, allocations: 0 / 1.171 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/1.186, allocations: 7.984 kB / 1.171 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/1.186, allocations: 4 kB / 1.171 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003527/1.186, allocations: 227.8 kB / 1.171 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/1.189, allocations: 1.183 MB / 1.172 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007617/1.189, allocations: 468.1 kB / 1.173 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/1.189, allocations: 4 kB / 1.173 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005496/1.19, allocations: 342.8 kB / 1.173 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=24): time 1.984e-06/1.19, allocations: 0.5625 kB / 1.173 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24): time 0.00114/1.191, allocations: 0.6349 MB / 1.174 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/1.191, allocations: 122.8 kB / 1.174 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000775/1.192, allocations: 0.5443 MB / 1.174 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.645e-05/1.192, allocations: 41.7 kB / 1.174 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/1.192, allocations: 212.7 kB / 1.175 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/1.192, allocations: 55.34 kB / 1.175 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/1.193, allocations: 8 kB / 1.175 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002381/1.193, allocations: 362.8 kB / 1.175 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/1.193, allocations: 124.6 kB / 1.175 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000927/1.194, allocations: 0.715 MB / 1.176 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/1.194, allocations: 186.4 kB / 1.176 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.194, allocations: 8 kB / 1.176 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006638/1.195, allocations: 421.5 kB / 1.176 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.195, allocations: 8 kB / 1.176 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.195, allocations: 4.547 kB / 1.176 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/1.195, allocations: 4.656 kB / 1.176 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/1.195, allocations: 40.28 kB / 1.177 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/1.195, allocations: 8 kB / 1.177 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/1.196, allocations: 100.1 kB / 1.177 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/1.196, allocations: 12 kB / 1.177 GB, free: 5.477 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.0004092/1.197, allocations: 266 kB / 1.177 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.728e-05/1.197, allocations: 47.48 kB / 1.177 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.805e-05/1.197, allocations: 48.39 kB / 1.177 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.197, allocations: 4 kB / 1.177 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.197, allocations: 256 / 1.177 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/1.197, allocations: 4 kB / 1.177 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/1.197, allocations: 413.2 kB / 1.177 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.197, allocations: 0 / 1.177 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.331e-05/1.197, allocations: 11.98 kB / 1.177 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.197, allocations: 0 / 1.177 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/1.197, allocations: 7.953 kB / 1.177 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.197, allocations: 7.938 kB / 1.177 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.198, allocations: 0 / 1.177 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007472/1.198, allocations: 0.5509 MB / 1.178 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/1.198, allocations: 136.5 kB / 1.178 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/1.198, allocations: 7.984 kB / 1.178 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/1.199, allocations: 19.98 kB / 1.178 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.537e-05/1.199, allocations: 27.91 kB / 1.178 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/1.199, allocations: 24.92 kB / 1.178 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005273/1.199, allocations: 431 kB / 1.179 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.199, allocations: 4 kB / 1.179 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000624/1.2, allocations: 115.9 kB / 1.179 GB, free: 3.27 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.0003813/1.2, allocations: 153.4 kB / 1.179 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000663/1.201, allocations: 357.7 kB / 1.179 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.201, allocations: 4.062 kB / 1.179 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002833/1.201, allocations: 184.9 kB / 1.179 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/1.202, allocations: 40.48 kB / 1.179 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/1.203, allocations: 0.8912 MB / 1.18 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/1.204, allocations: 0.8397 MB / 1.181 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003282/1.204, allocations: 99.45 kB / 1.181 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.947e-05/1.204, allocations: 35.44 kB / 1.181 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/1.204, allocations: 0 / 1.181 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of Templates: time 0.0145/1.219, allocations: 7.326 MB / 1.188 GB, free: 9.41 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)