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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 195 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 292.3 MB / 0.5488 GB, free: 12.86 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 83.09 kB / 0.6715 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3236, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.003269/0.3269, allocations: 0.8685 MB / 0.7842 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002743/0.3297, allocations: 1.453 MB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.3299, allocations: 4 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000679/0.3306, allocations: 195.4 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.3308, allocations: 111.6 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.332, allocations: 349.4 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009965/0.333, allocations: 0.8582 MB / 0.7871 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.3333, allocations: 100.2 kB / 0.7872 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003847/0.3337, allocations: 347.5 kB / 0.7875 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004223/0.3341, allocations: 259.3 kB / 0.7878 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.3343, allocations: 48 kB / 0.7878 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.3346, allocations: 107.9 kB / 0.7879 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004714/0.335, allocations: 343.3 kB / 0.7883 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003674/0.3354, allocations: 270.8 kB / 0.7885 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.3365, allocations: 0.9041 MB / 0.7894 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3365, allocations: 0 / 0.7894 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.827e-06/0.3365, allocations: 4 kB / 0.7894 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.3365, allocations: 3.938 kB / 0.7894 GB, free: 7.262 MB / 0.6075 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.001751/0.3383, allocations: 0.8957 MB / 0.7903 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.3383, allocations: 8.031 kB / 0.7903 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002027/0.3385, allocations: 52.38 kB / 0.7904 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008127/0.3394, allocations: 0.5371 MB / 0.7909 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.254e-05/0.3394, allocations: 32.59 kB / 0.7909 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.3395, allocations: 32.38 kB / 0.7909 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005391/0.3401, allocations: 311.4 kB / 0.7912 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3401, allocations: 192 / 0.7912 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.3401, allocations: 11.94 kB / 0.7912 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.3402, allocations: 4 kB / 0.7913 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00036/0.3405, allocations: 219.8 kB / 0.7915 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.3427, allocations: 1.187 MB / 0.7926 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006909/0.3434, allocations: 475.7 kB / 0.7931 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.3436, allocations: 174.6 kB / 0.7932 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3437, allocations: 0 / 0.7932 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005138/0.3442, allocations: 347.8 kB / 0.7936 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.442e-06/0.3442, allocations: 0 / 0.7936 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.001118/0.3453, allocations: 0.618 MB / 0.7942 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.999e-05/0.3454, allocations: 126.7 kB / 0.7943 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008017/0.3463, allocations: 0.5992 MB / 0.7949 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.3464, allocations: 45.7 kB / 0.7949 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.3466, allocations: 218.5 kB / 0.7951 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.59e-05/0.3467, allocations: 51.34 kB / 0.7952 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.347, allocations: 185.5 kB / 0.7954 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3472, allocations: 362.8 kB / 0.7957 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.3474, allocations: 123.8 kB / 0.7958 GB, free: 432 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009551/0.3483, allocations: 0.7143 MB / 0.7965 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.3487, allocations: 308.5 kB / 0.7968 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3487, allocations: 0 / 0.7968 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006919/0.3494, allocations: 416.7 kB / 0.7972 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.3495, allocations: 4.375 kB / 0.7972 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3495, allocations: 8 kB / 0.7972 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.3495, allocations: 15.92 kB / 0.7972 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.3497, allocations: 27.92 kB / 0.7973 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.3497, allocations: 4 kB / 0.7973 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.351, allocations: 132.9 kB / 0.7974 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.3511, allocations: 16 kB / 0.7974 GB, free: 14.57 MB / 0.6231 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.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003779/0.3514, allocations: 261.6 kB / 0.7977 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.114e-05/0.3515, allocations: 47.44 kB / 0.7977 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.3516, allocations: 51.3 kB / 0.7978 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.3517, allocations: 4 kB / 0.7978 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.3517, allocations: 3.938 kB / 0.7978 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3517, allocations: 4 kB / 0.7978 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.3521, allocations: 409.3 kB / 0.7982 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3521, allocations: 0 / 0.7982 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.3522, allocations: 4 kB / 0.7982 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.3522, allocations: 0 / 0.7982 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.3522, allocations: 15.92 kB / 0.7982 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.3522, allocations: 4 kB / 0.7982 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3522, allocations: 3.938 kB / 0.7982 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006849/0.3529, allocations: 0.5097 MB / 0.7987 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.353, allocations: 128.6 kB / 0.7988 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.3531, allocations: 7.938 kB / 0.7988 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.3533, allocations: 19.98 kB / 0.7988 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.3534, allocations: 27.97 kB / 0.7989 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/0.3534, allocations: 15.98 kB / 0.7989 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005408/0.354, allocations: 435 kB / 0.7993 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.354, allocations: 4 kB / 0.7993 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005693/0.3546, allocations: 111.9 kB / 0.7994 GB, free: 12.42 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003978/0.355, allocations: 145.5 kB / 0.7995 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006954/0.3557, allocations: 368.1 kB / 0.7999 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3557, allocations: 4.25 kB / 0.7999 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.356, allocations: 191.8 kB / 0.8001 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.3564, allocations: 38.86 kB / 0.8001 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.3578, allocations: 0.8344 MB / 0.8009 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.3583, allocations: 0.8349 MB / 0.8017 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002661/0.3586, allocations: 94.92 kB / 0.8018 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.624e-05/0.3587, allocations: 39.38 kB / 0.8019 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.3587, allocations: 0 / 0.8019 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of Templates: time 0.01602/0.3747, allocations: 7.934 MB / 0.8096 GB, free: 1.988 MB / 0.6231 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)