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.001226/0.001225, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00187/0.00187, allocations: 190.9 kB / 16.14 MB, free: 6.703 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.687/1.687, allocations: 205.1 MB / 222 MB, free: 4.984 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.72/1.72, allocations: 292.2 MB / 0.5484 GB, free: 13.7 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.001402/0.001403, allocations: 73.8 kB / 0.6708 GB, free: 26.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3013, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002192/0.3035, allocations: 0.7464 MB / 0.7834 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.3054, allocations: 1.352 MB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.3055, allocations: 0 / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004925/0.306, allocations: 187.6 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.3062, allocations: 95.8 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006969/0.3069, allocations: 206.8 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005499/0.3075, allocations: 447.7 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.127e-05/0.3075, allocations: 4 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.3078, allocations: 183.7 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/0.3081, allocations: 199.5 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.3083, allocations: 12 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.3085, allocations: 79.88 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003217/0.3089, allocations: 235.5 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.3091, allocations: 139.3 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.3096, allocations: 467 kB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3096, allocations: 0 / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.71e-07/0.3096, allocations: 0 / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.3097, allocations: 0 / 0.7869 GB, free: 9.676 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.001303/0.311, allocations: 0.6307 MB / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.311, allocations: 12.03 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.3113, allocations: 32.66 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005953/0.3119, allocations: 388 kB / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.3119, allocations: 12.38 kB / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.889e-05/0.312, allocations: 24.36 kB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.3123, allocations: 188.6 kB / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.3123, allocations: 192 / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.3124, allocations: 11.92 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3124, allocations: 7.938 kB / 0.7882 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.3126, allocations: 107.9 kB / 0.7883 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005377/0.3131, allocations: 379.1 kB / 0.7886 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.3136, allocations: 327.6 kB / 0.7889 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.3138, allocations: 122.6 kB / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.3138, allocations: 4 kB / 0.7891 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004888/0.3143, allocations: 282.5 kB / 0.7893 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.3143, allocations: 0 / 0.7893 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0008413/0.3152, allocations: 0.4893 MB / 0.7898 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/0.3152, allocations: 118.8 kB / 0.7899 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/0.3157, allocations: 400.4 kB / 0.7903 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.701e-05/0.3158, allocations: 41.7 kB / 0.7903 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.3159, allocations: 152.8 kB / 0.7905 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.316, allocations: 43.53 kB / 0.7905 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.3162, allocations: 113.6 kB / 0.7906 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3163, allocations: 342.8 kB / 0.791 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.3164, allocations: 87.95 kB / 0.791 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004694/0.3169, allocations: 467.4 kB / 0.7915 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.3172, allocations: 257.5 kB / 0.7917 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3172, allocations: 0 / 0.7917 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005052/0.3177, allocations: 337 kB / 0.7921 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3177, allocations: 8 kB / 0.7921 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.3178, allocations: 4 kB / 0.7921 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3178, allocations: 4 kB / 0.7921 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.318, allocations: 31.92 kB / 0.7921 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.318, allocations: 11.98 kB / 0.7921 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008301/0.3188, allocations: 79.98 kB / 0.7922 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.3189, allocations: 12 kB / 0.7922 GB, free: 3.773 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.0002503/0.3191, allocations: 195.9 kB / 0.7924 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.3192, allocations: 35.5 kB / 0.7924 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.67e-05/0.3192, allocations: 33.89 kB / 0.7925 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3193, allocations: 0 / 0.7925 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3193, allocations: 4 kB / 0.7925 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.3193, allocations: 7.938 kB / 0.7925 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.3196, allocations: 281.5 kB / 0.7927 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3196, allocations: 4 kB / 0.7927 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.3196, allocations: 3.938 kB / 0.7927 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.3196, allocations: 7.984 kB / 0.7927 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.3196, allocations: 8 kB / 0.7928 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3196, allocations: 0 / 0.7928 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3197, allocations: 4 kB / 0.7928 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005772/0.3202, allocations: 432.9 kB / 0.7932 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.899e-05/0.3203, allocations: 104.8 kB / 0.7933 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.3204, allocations: 4 kB / 0.7933 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.246e-05/0.3205, allocations: 4 kB / 0.7933 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.3205, allocations: 19.97 kB / 0.7933 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.3206, allocations: 12 kB / 0.7933 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002941/0.3209, allocations: 287 kB / 0.7936 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3209, allocations: 4 kB / 0.7936 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004263/0.3213, allocations: 83.92 kB / 0.7937 GB, free: 2.168 MB / 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.0002502/0.3216, allocations: 135.1 kB / 0.7938 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004328/0.322, allocations: 260.4 kB / 0.794 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.322, allocations: 192 / 0.794 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.3222, allocations: 151.8 kB / 0.7942 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.3225, allocations: 28.58 kB / 0.7942 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009279/0.3235, allocations: 0.6058 MB / 0.7948 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.3238, allocations: 0.7638 MB / 0.7956 GB, free: 168 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001513/0.324, allocations: 54.11 kB / 0.7956 GB, free: 116 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.165e-05/0.324, allocations: 27.42 kB / 0.7956 GB, free: 92 kB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.324, allocations: 4 kB / 0.7956 GB, free: 88 kB / 0.6075 GB Notification: Performance of Templates: time 0.009955/0.334, allocations: 4.801 MB / 0.8003 GB, free: 11.34 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (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)