Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000927/0.0009271, allocations: 91.22 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01188/0.01188, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.878/1.878, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.925/1.925, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005747/0.0005747, allocations: 15.41 kB / 0.6743 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3208, allocations: 116.3 MB / 0.7879 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.000984/0.3218, allocations: 413.5 kB / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002247/0.3241, allocations: 1.337 MB / 0.7896 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.3242, allocations: 3.938 kB / 0.7896 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005801/0.3248, allocations: 179.7 kB / 0.7898 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.325, allocations: 103.7 kB / 0.7899 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009158/0.3259, allocations: 214.4 kB / 0.7901 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006663/0.3266, allocations: 443.7 kB / 0.7905 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.445e-05/0.3267, allocations: 4 kB / 0.7905 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004117/0.3271, allocations: 187.6 kB / 0.7907 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004384/0.3276, allocations: 199.6 kB / 0.7909 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.3277, allocations: 11.98 kB / 0.7909 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002474/0.3279, allocations: 67.95 kB / 0.791 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003463/0.3283, allocations: 243.5 kB / 0.7912 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.3286, allocations: 165 kB / 0.7913 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006435/0.3292, allocations: 470.9 kB / 0.7918 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3292, allocations: 0 / 0.7918 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.534e-06/0.3292, allocations: 0 / 0.7918 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.3293, allocations: 0 / 0.7918 GB, free: 7.531 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001062/0.3303, allocations: 0.5178 MB / 0.7923 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.3304, allocations: 8.031 kB / 0.7923 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.3306, allocations: 40.56 kB / 0.7923 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006786/0.3313, allocations: 380.1 kB / 0.7927 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.3313, allocations: 12.38 kB / 0.7927 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.094e-05/0.3314, allocations: 20.38 kB / 0.7927 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003748/0.3318, allocations: 192.6 kB / 0.7929 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3318, allocations: 192 / 0.7929 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.3318, allocations: 7.922 kB / 0.7929 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.3319, allocations: 4 kB / 0.7929 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.332, allocations: 107.9 kB / 0.793 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.3326, allocations: 383.1 kB / 0.7934 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.3331, allocations: 319.6 kB / 0.7937 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.3333, allocations: 126.6 kB / 0.7938 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.3333, allocations: 0 / 0.7938 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004752/0.3338, allocations: 284.4 kB / 0.7941 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 3.276e-06/0.3338, allocations: 3.984 kB / 0.7941 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0008897/0.3347, allocations: 0.4932 MB / 0.7946 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.254e-05/0.3348, allocations: 110.8 kB / 0.7947 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005356/0.3353, allocations: 400.4 kB / 0.7951 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.424e-05/0.3354, allocations: 37.7 kB / 0.7951 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.3356, allocations: 160.7 kB / 0.7953 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.3358, allocations: 43.53 kB / 0.7953 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.957e-05/0.3359, allocations: 29.7 kB / 0.7953 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.3361, allocations: 342.8 kB / 0.7957 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.3362, allocations: 87.89 kB / 0.7957 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005809/0.3368, allocations: 475.3 kB / 0.7962 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.3372, allocations: 261.5 kB / 0.7964 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.3372, allocations: 4 kB / 0.7964 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005993/0.3379, allocations: 333.1 kB / 0.7968 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.3379, allocations: 4 kB / 0.7968 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3379, allocations: 7.938 kB / 0.7968 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.3379, allocations: 4 kB / 0.7968 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.3381, allocations: 31.92 kB / 0.7968 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.3381, allocations: 4 kB / 0.7968 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007922/0.3389, allocations: 76.16 kB / 0.7969 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/0.339, allocations: 15.98 kB / 0.7969 GB, free: 1.84 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002633/0.3393, allocations: 191.9 kB / 0.7971 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.946e-05/0.3394, allocations: 35.55 kB / 0.7971 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.816e-05/0.3394, allocations: 33.89 kB / 0.7972 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3395, allocations: 0 / 0.7972 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.3395, allocations: 4 kB / 0.7972 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3395, allocations: 4 kB / 0.7972 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.3399, allocations: 289.4 kB / 0.7974 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.3399, allocations: 4 kB / 0.7974 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.95e-05/0.3399, allocations: 7.875 kB / 0.7974 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.3399, allocations: 4 kB / 0.7974 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.3399, allocations: 11.98 kB / 0.7975 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3399, allocations: 128 / 0.7975 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.34, allocations: 4 kB / 0.7975 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000672/0.3406, allocations: 430.3 kB / 0.7979 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.3408, allocations: 116.7 kB / 0.798 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.3408, allocations: 4 kB / 0.798 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.572e-05/0.3409, allocations: 11.92 kB / 0.798 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.914e-05/0.341, allocations: 19.97 kB / 0.798 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.3411, allocations: 12 kB / 0.798 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003798/0.3414, allocations: 291 kB / 0.7983 GB, free: 300 kB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3415, allocations: 4 kB / 0.7983 GB, free: 296 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004615/0.3419, allocations: 79.92 kB / 0.7984 GB, free: 216 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002975/0.3422, allocations: 131.2 kB / 0.7985 GB, free: 72 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004872/0.3427, allocations: 248.3 kB / 0.7988 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3427, allocations: 192 / 0.7988 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.343, allocations: 156.6 kB / 0.7989 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.3433, allocations: 32.12 kB / 0.7989 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.3444, allocations: 0.624 MB / 0.7995 GB, free: 15 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.3448, allocations: 0.7638 MB / 0.8003 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001565/0.345, allocations: 53.92 kB / 0.8003 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.345, allocations: 27.44 kB / 0.8004 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of SimCode: time 6.51e-07/0.345, allocations: 0 / 0.8004 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of Templates: time 0.01051/0.3556, allocations: 4.755 MB / 0.805 GB, free: 9.414 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) Environment - environmentSimulation: