Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.644/1.644, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001164/0.001164, allocations: 180.9 kB / 361.4 MB, free: 6.844 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.505/1.505, allocations: 205.3 MB / 0.62 GB, free: 11.66 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.0009447/0.0009452, allocations: 90.42 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.2e-05/2.202e-05, allocations: 4 kB / 0.8518 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7848/0.7848, allocations: 115.3 MB / 0.9644 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2219/1.007, allocations: 137.6 MB / 1.099 GB, free: 2.191 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/1.007, allocations: 71.95 kB / 1.099 GB, free: 2.121 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1296/1.137, allocations: 45.67 MB / 1.143 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.717e-06/1.137, allocations: 0 / 1.143 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.007e-05/1.137, allocations: 11.94 kB / 1.143 GB, free: 4.562 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.001065/1.138, allocations: 0.6282 MB / 1.144 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/1.138, allocations: 12.03 kB / 1.144 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/1.138, allocations: 56.47 kB / 1.144 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008349/1.139, allocations: 0.5232 MB / 1.145 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/1.139, allocations: 7.984 kB / 1.145 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.738e-05/1.139, allocations: 28 kB / 1.145 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003525/1.14, allocations: 216.3 kB / 1.145 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/1.14, allocations: 285.5 kB / 1.145 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/1.14, allocations: 3.938 kB / 1.145 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/1.14, allocations: 7.938 kB / 1.145 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/1.14, allocations: 4 kB / 1.145 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/1.142, allocations: 1.13 MB / 1.146 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005998/1.143, allocations: 456 kB / 1.147 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/1.143, allocations: 178.3 kB / 1.147 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/1.143, allocations: 8 kB / 1.147 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005035/1.143, allocations: 323.3 kB / 1.147 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=24): time 1.644e-06/1.143, allocations: 4 kB / 1.147 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24): time 0.0009198/1.144, allocations: 489.6 kB / 1.148 GB, free: 40 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/1.144, allocations: 122.1 kB / 1.148 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006381/1.145, allocations: 0.5205 MB / 1.148 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.702e-05/1.145, allocations: 37.7 kB / 1.148 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/1.145, allocations: 217.7 kB / 1.149 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.944e-05/1.145, allocations: 51.41 kB / 1.149 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/1.145, allocations: 0 / 1.149 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.146, allocations: 366.8 kB / 1.149 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/1.146, allocations: 120 kB / 1.149 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008154/1.147, allocations: 0.6961 MB / 1.15 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005155/1.147, allocations: 201 kB / 1.15 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.147, allocations: 4 kB / 1.15 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008487/1.148, allocations: 426.6 kB / 1.15 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/1.148, allocations: 8.578 kB / 1.15 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.148, allocations: 4 kB / 1.15 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/1.148, allocations: 8 kB / 1.15 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/1.148, allocations: 31.92 kB / 1.15 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/1.148, allocations: 11.94 kB / 1.15 GB, free: 13 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/1.149, allocations: 84.28 kB / 1.151 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/1.149, allocations: 15.98 kB / 1.151 GB, free: 12.91 MB / 0.7605 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 () * 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.0001905/1.15, allocations: 139 kB / 1.151 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.591e-05/1.15, allocations: 47.52 kB / 1.151 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/1.15, allocations: 55.45 kB / 1.151 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/1.15, allocations: 0 / 1.151 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/1.15, allocations: 4 kB / 1.151 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.15, allocations: 0 / 1.151 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/1.15, allocations: 373.8 kB / 1.151 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.15, allocations: 0 / 1.151 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.313e-05/1.15, allocations: 4 kB / 1.151 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/1.15, allocations: 4 kB / 1.151 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/1.15, allocations: 11.98 kB / 1.151 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/1.15, allocations: 0 / 1.151 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.135e-05/1.15, allocations: 17.69 kB / 1.151 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007654/1.151, allocations: 0.5298 MB / 1.152 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/1.151, allocations: 136.5 kB / 1.152 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.283e-05/1.151, allocations: 3.953 kB / 1.152 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/1.152, allocations: 23.98 kB / 1.152 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.611e-05/1.152, allocations: 27.95 kB / 1.152 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/1.152, allocations: 16 kB / 1.152 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004967/1.152, allocations: 414.8 kB / 1.152 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/1.152, allocations: 0 / 1.152 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005094/1.153, allocations: 103.9 kB / 1.152 GB, free: 10.93 MB / 0.7605 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 () * 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.0003837/1.153, allocations: 163.2 kB / 1.153 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005461/1.154, allocations: 328.1 kB / 1.153 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.154, allocations: 0 / 1.153 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002474/1.154, allocations: 189.6 kB / 1.153 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/1.154, allocations: 26.83 kB / 1.153 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/1.155, allocations: 0.6586 MB / 1.154 GB, free: 9.551 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005459/1.156, allocations: 0.835 MB / 1.154 GB, free: 8.688 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000286/1.156, allocations: 96.48 kB / 1.155 GB, free: 8.594 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.571e-05/1.156, allocations: 35.44 kB / 1.155 GB, free: 8.559 MB / 0.7605 GB Notification: Performance of SimCode: time 2.31e-07/1.156, allocations: 0 / 1.155 GB, free: 8.559 MB / 0.7605 GB Notification: Performance of Templates: time 0.01177/1.168, allocations: 6.564 MB / 1.161 GB, free: 2.137 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)