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.001379/0.001379, allocations: 104.6 kB / 16.29 MB, free: 6.023 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.001529/0.001529, allocations: 187.9 kB / 17.22 MB, free: 5.629 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.64/1.64, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.986/1.986, allocations: 292.3 MB / 0.5495 GB, free: 17.55 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.001456/0.001456, allocations: 71.89 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2968, allocations: 114.6 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.00238/0.2992, allocations: 0.682 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002025/0.3013, allocations: 1.335 MB / 0.7861 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.109e-05/0.3013, allocations: 4 kB / 0.7861 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000559/0.3019, allocations: 191.5 kB / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.3021, allocations: 99.73 kB / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008407/0.3029, allocations: 238.4 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006001/0.3035, allocations: 0.4919 MB / 0.7871 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.305e-05/0.3036, allocations: 4 kB / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.3038, allocations: 207.7 kB / 0.7873 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.3042, allocations: 203.6 kB / 0.7875 GB, free: 384 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-05/0.3043, allocations: 20 kB / 0.7875 GB, free: 364 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.3045, allocations: 87.88 kB / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003574/0.3049, allocations: 263.5 kB / 0.7878 GB, free: 12 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.5219/0.8268, allocations: 145.7 kB / 0.7879 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005186/0.8274, allocations: 479.1 kB / 0.7884 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8274, allocations: 0 / 0.7884 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8274, allocations: 0 / 0.7884 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.8274, allocations: 0 / 0.7884 GB, free: 46.13 MB / 0.6544 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.0008465/0.8283, allocations: 0.6314 MB / 0.789 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.8283, allocations: 9.281 kB / 0.789 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.8284, allocations: 29.53 kB / 0.7891 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.8289, allocations: 389 kB / 0.7894 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.8289, allocations: 15.34 kB / 0.7894 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.033e-05/0.8289, allocations: 18.62 kB / 0.7895 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.8292, allocations: 188.8 kB / 0.7896 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.8292, allocations: 2.812 kB / 0.7896 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.8292, allocations: 6.656 kB / 0.7897 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.8292, allocations: 0 / 0.7897 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.8294, allocations: 110.9 kB / 0.7898 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.8297, allocations: 383.8 kB / 0.7901 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.8301, allocations: 323.2 kB / 0.7904 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.8302, allocations: 126.2 kB / 0.7906 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.8302, allocations: 2.625 kB / 0.7906 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003785/0.8306, allocations: 282.9 kB / 0.7908 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.8306, allocations: 3.938 kB / 0.7908 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0006841/0.8313, allocations: 0.4968 MB / 0.7913 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.8314, allocations: 110.9 kB / 0.7914 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.8317, allocations: 404.3 kB / 0.7918 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/0.8317, allocations: 39.86 kB / 0.7918 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.533e-05/0.8319, allocations: 154.9 kB / 0.792 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.8319, allocations: 33.69 kB / 0.792 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.832, allocations: 119.8 kB / 0.7921 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.8321, allocations: 341.2 kB / 0.7925 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.703e-05/0.8322, allocations: 87.06 kB / 0.7925 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.8325, allocations: 466.4 kB / 0.793 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.8328, allocations: 256.1 kB / 0.7932 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.8328, allocations: 0 / 0.7932 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000392/0.8332, allocations: 333.9 kB / 0.7936 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.8332, allocations: 7.156 kB / 0.7936 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.8332, allocations: 8.719 kB / 0.7936 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.8332, allocations: 3.406 kB / 0.7936 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.8334, allocations: 32.61 kB / 0.7936 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.8334, allocations: 5.844 kB / 0.7936 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006375/0.834, allocations: 79.14 kB / 0.7937 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.834, allocations: 12.03 kB / 0.7937 GB, free: 43.77 MB / 0.6544 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.0001514/0.8342, allocations: 189 kB / 0.7939 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.8343, allocations: 40.47 kB / 0.7939 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.952e-05/0.8343, allocations: 34.11 kB / 0.7939 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.8343, allocations: 5.562 kB / 0.794 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.8343, allocations: 0 / 0.794 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.8343, allocations: 3.5 kB / 0.794 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.8345, allocations: 279 kB / 0.7942 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8346, allocations: 3.469 kB / 0.7942 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.456e-05/0.8346, allocations: 11.16 kB / 0.7942 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.8346, allocations: 0 / 0.7942 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.8346, allocations: 8.344 kB / 0.7942 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.8346, allocations: 8.625 kB / 0.7943 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8346, allocations: 0 / 0.7943 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.8351, allocations: 425.6 kB / 0.7947 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.8351, allocations: 113.5 kB / 0.7948 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.8352, allocations: 7.844 kB / 0.7948 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-05/0.8353, allocations: 8.75 kB / 0.7948 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.8353, allocations: 18.83 kB / 0.7948 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.8353, allocations: 13.22 kB / 0.7948 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002422/0.8356, allocations: 289.8 kB / 0.7951 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8356, allocations: 0 / 0.7951 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000351/0.836, allocations: 79.95 kB / 0.7952 GB, free: 43.14 MB / 0.6544 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.000188/0.8362, allocations: 137.8 kB / 0.7953 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003502/0.8365, allocations: 253.2 kB / 0.7955 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8365, allocations: 3.5 kB / 0.7955 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.8367, allocations: 152.4 kB / 0.7957 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.837, allocations: 33.88 kB / 0.7957 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/0.8376, allocations: 0.557 MB / 0.7963 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.8378, allocations: 0.7621 MB / 0.797 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.867e-05/0.8379, allocations: 52.5 kB / 0.7971 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/0.838, allocations: 28.53 kB / 0.7971 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.838, allocations: 0 / 0.7971 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.01058/0.8486, allocations: 4.991 MB / 0.802 GB, free: 41.92 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)