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.714/1.714, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.00152/0.00152, allocations: 180.2 kB / 371.6 MB, free: 3.375 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.749/1.749, allocations: 205.2 MB / 0.6309 GB, free: 11.73 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.0009522/0.0009523, allocations: 89.2 kB / 0.745 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.677e-05/3.678e-05, allocations: 4 kB / 0.8663 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.251, allocations: 116.3 MB / 0.9798 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8072/1.058, allocations: 139.3 MB / 1.116 GB, free: 44.46 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001749/1.058, allocations: 72.05 kB / 1.116 GB, free: 44.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.12/1.178, allocations: 45.89 MB / 1.161 GB, free: 18.63 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.122e-06/1.179, allocations: 0 / 1.161 GB, free: 18.63 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.094e-05/1.179, allocations: 8 kB / 1.161 GB, free: 18.62 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.0008656/1.179, allocations: 0.6244 MB / 1.161 GB, free: 17.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/1.179, allocations: 8.031 kB / 1.161 GB, free: 17.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/1.18, allocations: 61.14 kB / 1.161 GB, free: 17.92 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007419/1.18, allocations: 0.5093 MB / 1.162 GB, free: 17.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/1.18, allocations: 30.12 kB / 1.162 GB, free: 17.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/1.181, allocations: 46.48 kB / 1.162 GB, free: 17.39 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/1.181, allocations: 308.3 kB / 1.162 GB, free: 17.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.181, allocations: 0 / 1.162 GB, free: 17.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/1.181, allocations: 7.922 kB / 1.162 GB, free: 17.15 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/1.181, allocations: 4 kB / 1.162 GB, free: 17.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/1.181, allocations: 227.8 kB / 1.163 GB, free: 16.99 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/1.183, allocations: 1.181 MB / 1.164 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/1.183, allocations: 466.2 kB / 1.164 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/1.184, allocations: 183.1 kB / 1.164 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/1.184, allocations: 3.953 kB / 1.164 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003752/1.184, allocations: 342.2 kB / 1.165 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=24): time 1.352e-06/1.184, allocations: 0 / 1.165 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24): time 0.0006812/1.185, allocations: 495.2 kB / 1.165 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/1.185, allocations: 114.8 kB / 1.165 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005239/1.185, allocations: 0.535 MB / 1.166 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.889e-05/1.185, allocations: 47.2 kB / 1.166 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/1.186, allocations: 232.9 kB / 1.166 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/1.186, allocations: 47.3 kB / 1.166 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/1.186, allocations: 6.75 kB / 1.166 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.746e-05/1.186, allocations: 359.6 kB / 1.166 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/1.186, allocations: 131 kB / 1.166 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006068/1.187, allocations: 0.7172 MB / 1.167 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/1.187, allocations: 178.2 kB / 1.167 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.187, allocations: 0 / 1.167 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005408/1.187, allocations: 432.9 kB / 1.168 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/1.187, allocations: 4 kB / 1.168 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.187, allocations: 4 kB / 1.168 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/1.187, allocations: 4 kB / 1.168 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/1.188, allocations: 38.8 kB / 1.168 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/1.188, allocations: 10.78 kB / 1.168 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/1.189, allocations: 95.38 kB / 1.168 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-05/1.189, allocations: 23.72 kB / 1.168 GB, free: 12.14 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 () * 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.0002322/1.189, allocations: 153 kB / 1.168 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.851e-05/1.189, allocations: 47.47 kB / 1.168 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/1.189, allocations: 50.88 kB / 1.168 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/1.189, allocations: 0 / 1.168 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/1.189, allocations: 4.656 kB / 1.168 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/1.189, allocations: 3.984 kB / 1.168 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/1.19, allocations: 409.1 kB / 1.169 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.19, allocations: 0 / 1.169 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/1.19, allocations: 15.5 kB / 1.169 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/1.19, allocations: 4 kB / 1.169 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/1.19, allocations: 15.94 kB / 1.169 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.19, allocations: 1.406 kB / 1.169 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.19, allocations: 4 kB / 1.169 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006466/1.19, allocations: 0.5352 MB / 1.169 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/1.191, allocations: 142.8 kB / 1.169 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/1.191, allocations: 11.11 kB / 1.169 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/1.191, allocations: 11.98 kB / 1.169 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.215e-05/1.191, allocations: 35.27 kB / 1.169 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/1.191, allocations: 15.5 kB / 1.169 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004751/1.192, allocations: 426.5 kB / 1.17 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.192, allocations: 0 / 1.17 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005657/1.192, allocations: 121.9 kB / 1.17 GB, free: 10.39 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 () * 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.0002469/1.192, allocations: 161.8 kB / 1.17 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004728/1.193, allocations: 339.8 kB / 1.17 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.185e-06/1.193, allocations: 4 kB / 1.17 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002078/1.193, allocations: 183.4 kB / 1.171 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/1.193, allocations: 48.03 kB / 1.171 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009721/1.194, allocations: 0.6634 MB / 1.171 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/1.195, allocations: 0.841 MB / 1.172 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002959/1.195, allocations: 99.45 kB / 1.172 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.698e-05/1.195, allocations: 40.22 kB / 1.172 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.195, allocations: 0 / 1.172 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of Templates: time 0.01107/1.206, allocations: 7.339 MB / 1.179 GB, free: 1.059 MB / 0.7448 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)