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.001191/0.001191, allocations: 102.5 kB / 16.27 MB, free: 5.859 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.001122/0.001122, allocations: 187 kB / 17.19 MB, free: 5.512 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.493/1.493, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.857/1.857, allocations: 292.3 MB / 0.5495 GB, free: 17.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.001463/0.001464, allocations: 71.19 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2775, allocations: 114.5 MB / 0.784 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002228/0.2798, allocations: 0.6781 MB / 0.7847 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002025/0.2818, allocations: 1.347 MB / 0.786 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.157e-05/0.2819, allocations: 4 kB / 0.786 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005077/0.2825, allocations: 187.6 kB / 0.7862 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.2826, allocations: 103.7 kB / 0.7863 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008016/0.2834, allocations: 233.2 kB / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005503/0.284, allocations: 475.7 kB / 0.787 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.377e-05/0.284, allocations: 4 kB / 0.787 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.2843, allocations: 207.7 kB / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003764/0.2847, allocations: 219.4 kB / 0.7874 GB, free: 416 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.954e-05/0.2848, allocations: 20 kB / 0.7874 GB, free: 396 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.2851, allocations: 83.92 kB / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003704/0.2854, allocations: 251.5 kB / 0.7877 GB, free: 60 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.4143/0.6997, allocations: 149.8 kB / 0.7879 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006103/0.7004, allocations: 474.3 kB / 0.7883 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.7004, allocations: 0.8438 kB / 0.7883 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7004, allocations: 0.875 kB / 0.7883 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.667e-05/0.7004, allocations: 0 / 0.7883 GB, free: 46.67 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.000898/0.7013, allocations: 0.6371 MB / 0.789 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.7014, allocations: 10.12 kB / 0.789 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.7015, allocations: 31.59 kB / 0.789 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.7019, allocations: 380.2 kB / 0.7894 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.702, allocations: 18.41 kB / 0.7894 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.285e-05/0.702, allocations: 17.66 kB / 0.7894 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.7023, allocations: 189.7 kB / 0.7896 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.7023, allocations: 2.375 kB / 0.7896 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.7024, allocations: 10.5 kB / 0.7896 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.7024, allocations: 0 / 0.7896 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.7025, allocations: 106.3 kB / 0.7897 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.7029, allocations: 391.9 kB / 0.7901 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.7032, allocations: 317 kB / 0.7904 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.7034, allocations: 127.3 kB / 0.7905 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/0.7034, allocations: 2.625 kB / 0.7905 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004034/0.7038, allocations: 277.8 kB / 0.7907 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.7038, allocations: 0 / 0.7907 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0007084/0.7045, allocations: 0.4975 MB / 0.7912 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.7046, allocations: 115.9 kB / 0.7913 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.7049, allocations: 401.3 kB / 0.7917 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.705, allocations: 43.28 kB / 0.7918 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.7051, allocations: 147 kB / 0.7919 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.7052, allocations: 35.78 kB / 0.7919 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.7053, allocations: 118.5 kB / 0.7921 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.696e-05/0.7054, allocations: 349.2 kB / 0.7924 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.877e-05/0.7055, allocations: 84.02 kB / 0.7925 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.7059, allocations: 464.5 kB / 0.7929 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.7061, allocations: 263.3 kB / 0.7932 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.7061, allocations: 2.625 kB / 0.7932 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000415/0.7065, allocations: 329.3 kB / 0.7935 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.7066, allocations: 8.156 kB / 0.7935 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.7066, allocations: 3.344 kB / 0.7935 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.7066, allocations: 10.41 kB / 0.7935 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.7068, allocations: 28.44 kB / 0.7935 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.7068, allocations: 9.688 kB / 0.7935 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007014/0.7075, allocations: 72.47 kB / 0.7936 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.7075, allocations: 14.31 kB / 0.7936 GB, free: 44.3 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.000159/0.7077, allocations: 193.7 kB / 0.7938 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.7077, allocations: 32.88 kB / 0.7938 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.952e-05/0.7078, allocations: 34.73 kB / 0.7939 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.7078, allocations: 5.438 kB / 0.7939 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.7078, allocations: 0 / 0.7939 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.7078, allocations: 2.438 kB / 0.7939 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.708, allocations: 283.8 kB / 0.7941 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.708, allocations: 0 / 0.7941 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.448e-05/0.708, allocations: 10.77 kB / 0.7942 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.7081, allocations: 3.469 kB / 0.7942 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.7081, allocations: 10.66 kB / 0.7942 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.7081, allocations: 4.688 kB / 0.7942 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.7081, allocations: 0.625 kB / 0.7942 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/0.7085, allocations: 429.3 kB / 0.7946 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.7086, allocations: 109.2 kB / 0.7947 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.7086, allocations: 9.406 kB / 0.7947 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.102e-05/0.7087, allocations: 4.625 kB / 0.7947 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.7088, allocations: 19.2 kB / 0.7947 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.7088, allocations: 10.53 kB / 0.7947 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002351/0.7091, allocations: 288.8 kB / 0.795 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7091, allocations: 0 / 0.795 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003585/0.7094, allocations: 80.44 kB / 0.7951 GB, free: 43.68 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.0002067/0.7096, allocations: 141.9 kB / 0.7952 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.71, allocations: 270.4 kB / 0.7955 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.71, allocations: 7.844 kB / 0.7955 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.7103, allocations: 173 kB / 0.7956 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.7105, allocations: 32.61 kB / 0.7957 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007537/0.7113, allocations: 0.5993 MB / 0.7963 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.7115, allocations: 0.7639 MB / 0.797 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.311e-05/0.7116, allocations: 31.05 kB / 0.797 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/0.7116, allocations: 0 / 0.797 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.007906/0.7195, allocations: 4.289 MB / 0.8012 GB, free: 42.34 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)