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.001619/0.001619, allocations: 117.7 kB / 16.38 MB, free: 6.012 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.001953/0.001953, allocations: 189.3 kB / 17.31 MB, free: 5.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.503/1.503, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.915/1.915, allocations: 292.3 MB / 0.5496 GB, free: 17.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.001519/0.001519, allocations: 67.91 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2722, allocations: 114.5 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002291/0.2745, allocations: 0.7039 MB / 0.7855 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.2765, allocations: 1.335 MB / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.2766, allocations: 4 kB / 0.7868 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005148/0.2772, allocations: 195.5 kB / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.2774, allocations: 99.72 kB / 0.7871 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008601/0.2782, allocations: 233 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006237/0.2789, allocations: 495.7 kB / 0.7878 GB, free: 100 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.512e-05/0.2789, allocations: 15.98 kB / 0.7878 GB, free: 84 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4186/0.6975, allocations: 196.2 kB / 0.788 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004446/0.698, allocations: 212.3 kB / 0.7882 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.792e-05/0.6981, allocations: 20.31 kB / 0.7882 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.6984, allocations: 74.59 kB / 0.7883 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003215/0.6987, allocations: 259.4 kB / 0.7885 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.6989, allocations: 153.8 kB / 0.7887 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.6993, allocations: 475.6 kB / 0.7891 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6993, allocations: 6.062 kB / 0.7891 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6993, allocations: 0 / 0.7891 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.6994, allocations: 0 / 0.7891 GB, free: 46.56 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.0008589/0.7002, allocations: 0.6291 MB / 0.7897 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.7003, allocations: 9.344 kB / 0.7897 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.7004, allocations: 33.72 kB / 0.7898 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.7008, allocations: 383.4 kB / 0.7901 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.7009, allocations: 13.12 kB / 0.7902 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-05/0.7009, allocations: 23.02 kB / 0.7902 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.7012, allocations: 191.1 kB / 0.7904 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.7012, allocations: 0.75 kB / 0.7904 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.7013, allocations: 6.812 kB / 0.7904 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.7013, allocations: 2.625 kB / 0.7904 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.7014, allocations: 109.9 kB / 0.7905 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.7018, allocations: 391.7 kB / 0.7909 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.7022, allocations: 314.7 kB / 0.7912 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.7023, allocations: 129.4 kB / 0.7913 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.7023, allocations: 6.719 kB / 0.7913 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003385/0.7027, allocations: 280.1 kB / 0.7915 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.7027, allocations: 0 / 0.7915 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0007004/0.7034, allocations: 0.4985 MB / 0.792 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.7035, allocations: 112.6 kB / 0.7921 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.7038, allocations: 402.6 kB / 0.7925 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.436e-05/0.7039, allocations: 40.05 kB / 0.7926 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.704, allocations: 153.3 kB / 0.7927 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.7041, allocations: 33.23 kB / 0.7927 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.7042, allocations: 118.6 kB / 0.7929 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.936e-05/0.7043, allocations: 345 kB / 0.7932 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.884e-05/0.7044, allocations: 81 kB / 0.7933 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.7048, allocations: 463 kB / 0.7937 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.7051, allocations: 255 kB / 0.7939 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7051, allocations: 3.5 kB / 0.794 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004088/0.7055, allocations: 331.7 kB / 0.7943 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.7055, allocations: 15.53 kB / 0.7943 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.7055, allocations: 3.281 kB / 0.7943 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.7055, allocations: 7.625 kB / 0.7943 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.7057, allocations: 28.72 kB / 0.7943 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.7057, allocations: 3.5 kB / 0.7943 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007169/0.7064, allocations: 75.45 kB / 0.7944 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.7065, allocations: 18.28 kB / 0.7944 GB, free: 44.2 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.0001764/0.7067, allocations: 193.8 kB / 0.7946 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.7067, allocations: 33.41 kB / 0.7946 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.079e-05/0.7068, allocations: 39.14 kB / 0.7947 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.7068, allocations: 0 / 0.7947 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.7068, allocations: 3.281 kB / 0.7947 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.7068, allocations: 0 / 0.7947 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.707, allocations: 285.2 kB / 0.7949 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.707, allocations: 2.75 kB / 0.7949 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.588e-05/0.707, allocations: 8.047 kB / 0.795 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.707, allocations: 7.375 kB / 0.795 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.7071, allocations: 6.094 kB / 0.795 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.7071, allocations: 4.938 kB / 0.795 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.7071, allocations: 5.25 kB / 0.795 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004406/0.7075, allocations: 431.8 kB / 0.7954 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.7076, allocations: 106.5 kB / 0.7955 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.7076, allocations: 10.62 kB / 0.7955 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.002e-05/0.7077, allocations: 3.141 kB / 0.7955 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.7078, allocations: 13.47 kB / 0.7955 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.7078, allocations: 18.91 kB / 0.7955 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002299/0.7081, allocations: 287.4 kB / 0.7958 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7081, allocations: 0 / 0.7958 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003735/0.7084, allocations: 82.53 kB / 0.7959 GB, free: 43.57 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.0002215/0.7087, allocations: 141.1 kB / 0.796 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003675/0.709, allocations: 252.7 kB / 0.7963 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.7091, allocations: 1.156 kB / 0.7963 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.7093, allocations: 181.9 kB / 0.7964 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.7095, allocations: 27.03 kB / 0.7965 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007977/0.7103, allocations: 0.6021 MB / 0.797 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.7106, allocations: 0.7662 MB / 0.7978 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/0.7106, allocations: 29.11 kB / 0.7978 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.7106, allocations: 0 / 0.7978 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.008649/0.7193, allocations: 4.292 MB / 0.802 GB, free: 42.25 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)