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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.853/1.853, allocations: 292.3 MB / 308.1 MB, free: 4.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002237/0.002238, allocations: 185.5 kB / 376.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.873/1.873, allocations: 205.1 MB / 0.6354 GB, free: 9.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009929/0.000993, allocations: 99.36 kB / 0.748 GB, free: 61.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009939/0.000994, allocations: 55.92 kB / 0.8704 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2759, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.00261/0.2785, allocations: 0.7504 MB / 0.983 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.2808, allocations: 1.355 MB / 0.9843 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.984e-05/0.2809, allocations: 0 / 0.9843 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005247/0.2814, allocations: 179.7 kB / 0.9845 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.2816, allocations: 107.7 kB / 0.9846 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008127/0.2824, allocations: 195.6 kB / 0.9848 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006254/0.2831, allocations: 443.7 kB / 0.9852 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.176e-05/0.2832, allocations: 12 kB / 0.9852 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003638/0.2835, allocations: 187.6 kB / 0.9854 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003956/0.2839, allocations: 195.6 kB / 0.9856 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.2841, allocations: 8 kB / 0.9856 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.2843, allocations: 75.88 kB / 0.9856 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003464/0.2847, allocations: 239.5 kB / 0.9859 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.2849, allocations: 143.3 kB / 0.986 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006404/0.2856, allocations: 459 kB / 0.9864 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2856, allocations: 0 / 0.9864 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2856, allocations: 0 / 0.9864 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.2856, allocations: 0 / 0.9864 GB, free: 6.027 MB / 0.7136 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.001495/0.2871, allocations: 0.6423 MB / 0.9871 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.2872, allocations: 12.03 kB / 0.9871 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.2874, allocations: 36.55 kB / 0.9871 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007256/0.2881, allocations: 376.2 kB / 0.9875 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.2882, allocations: 12.38 kB / 0.9875 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.841e-05/0.2882, allocations: 24.36 kB / 0.9875 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.2886, allocations: 196.5 kB / 0.9877 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2886, allocations: 192 / 0.9877 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.2886, allocations: 7.938 kB / 0.9877 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2886, allocations: 0 / 0.9877 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.2888, allocations: 111.9 kB / 0.9878 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.2893, allocations: 387.1 kB / 0.9882 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/0.2898, allocations: 315.6 kB / 0.9885 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.29, allocations: 130.6 kB / 0.9886 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.29, allocations: 0 / 0.9886 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005044/0.2905, allocations: 285.6 kB / 0.9889 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.2905, allocations: 0 / 0.9889 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0009126/0.2914, allocations: 0.4899 MB / 0.9894 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.662e-05/0.2915, allocations: 114.8 kB / 0.9895 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005901/0.2921, allocations: 396.4 kB / 0.9898 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.161e-05/0.2922, allocations: 49.62 kB / 0.9899 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.2924, allocations: 152.7 kB / 0.99 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.945e-05/0.2925, allocations: 47.53 kB / 0.9901 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.2927, allocations: 117.6 kB / 0.9902 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.2928, allocations: 342.8 kB / 0.9905 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.293, allocations: 79.95 kB / 0.9906 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005579/0.2935, allocations: 471 kB / 0.991 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.2939, allocations: 253.5 kB / 0.9913 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.2939, allocations: 4 kB / 0.9913 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005687/0.2945, allocations: 337 kB / 0.9916 GB, free: 264 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.2945, allocations: 7.938 kB / 0.9916 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.2945, allocations: 4 kB / 0.9916 GB, free: 252 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.2945, allocations: 4 kB / 0.9916 GB, free: 248 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.2947, allocations: 35.91 kB / 0.9917 GB, free: 212 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.2947, allocations: 4.078 kB / 0.9917 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007278/0.2955, allocations: 68.17 kB / 0.9917 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.2955, allocations: 16.12 kB / 0.9917 GB, free: 124 kB / 0.7136 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.0002463/0.2958, allocations: 195.9 kB / 0.9919 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/0.2958, allocations: 31.56 kB / 0.992 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.616e-05/0.2959, allocations: 33.89 kB / 0.992 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2959, allocations: 0 / 0.992 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.2959, allocations: 7.938 kB / 0.992 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.2959, allocations: 7.984 kB / 0.992 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.2962, allocations: 285.5 kB / 0.9923 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2963, allocations: 3.938 kB / 0.9923 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.889e-05/0.2963, allocations: 11.92 kB / 0.9923 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2963, allocations: 0 / 0.9923 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.2963, allocations: 8 kB / 0.9923 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.2963, allocations: 0 / 0.9923 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.2963, allocations: 4 kB / 0.9923 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.2974, allocations: 1.174 MB / 0.9935 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.439e-05/0.2976, allocations: 92.92 kB / 0.9935 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.2976, allocations: 4 kB / 0.9936 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.09e-05/0.2977, allocations: 11.92 kB / 0.9936 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.2978, allocations: 15.98 kB / 0.9936 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.2978, allocations: 12 kB / 0.9936 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003201/0.2981, allocations: 302.9 kB / 0.9939 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2981, allocations: 0 / 0.9939 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005191/0.2987, allocations: 83.92 kB / 0.994 GB, free: 13.72 MB / 0.7292 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.0003086/0.299, allocations: 131.2 kB / 0.9941 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004365/0.2994, allocations: 256.2 kB / 0.9943 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2994, allocations: 4.25 kB / 0.9943 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.2997, allocations: 147.9 kB / 0.9945 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.3, allocations: 20.64 kB / 0.9945 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.3011, allocations: 0.7609 MB / 0.9952 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.3015, allocations: 0.7677 MB / 0.996 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001538/0.3016, allocations: 54.11 kB / 0.996 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.959e-05/0.3017, allocations: 31.42 kB / 0.9961 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.3017, allocations: 3.938 kB / 0.9961 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of Templates: time 0.01039/0.3121, allocations: 4.95 MB / 1.001 GB, free: 6.562 MB / 0.7292 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)