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.001471/0.001476, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001186/0.001186, allocations: 193.4 kB / 16.25 MB, free: 6.617 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.698/1.698, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.835/1.835, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001346/0.001346, allocations: 68.16 kB / 0.671 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.279, allocations: 114.6 MB / 0.7829 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002062/0.2811, allocations: 0.7349 MB / 0.7836 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.2829, allocations: 1.344 MB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.945e-05/0.283, allocations: 0 / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004198/0.2834, allocations: 187.6 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.2835, allocations: 103.7 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005997/0.2842, allocations: 211.4 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004293/0.2846, allocations: 479.7 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.2846, allocations: 11.97 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.2848, allocations: 207.6 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.2851, allocations: 207.6 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.528e-05/0.2852, allocations: 20 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.2854, allocations: 91.92 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.2857, allocations: 247.5 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.2859, allocations: 155.3 kB / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.2863, allocations: 470.9 kB / 0.7872 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2864, allocations: 4 kB / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2864, allocations: 0 / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.2864, allocations: 4 kB / 0.7872 GB, free: 9.426 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.0008945/0.2873, allocations: 0.6307 MB / 0.7878 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.2873, allocations: 8.031 kB / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.2874, allocations: 40.64 kB / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004251/0.2879, allocations: 384 kB / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.2879, allocations: 12.38 kB / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.288, allocations: 20.38 kB / 0.7883 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.2883, allocations: 192.6 kB / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2883, allocations: 192 / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.2883, allocations: 3.938 kB / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.2883, allocations: 4 kB / 0.7885 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.2885, allocations: 103.9 kB / 0.7886 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.2889, allocations: 383.2 kB / 0.7889 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/0.2893, allocations: 323.6 kB / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.2895, allocations: 122.6 kB / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.2895, allocations: 4 kB / 0.7893 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004388/0.2899, allocations: 281.6 kB / 0.7896 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/0.2899, allocations: 0 / 0.7896 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0007614/0.2907, allocations: 0.4971 MB / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/0.2908, allocations: 118.7 kB / 0.7902 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/0.2912, allocations: 404.4 kB / 0.7906 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.018e-05/0.2912, allocations: 41.69 kB / 0.7906 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.2914, allocations: 148.8 kB / 0.7908 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.2914, allocations: 39.53 kB / 0.7908 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.2916, allocations: 121.6 kB / 0.7909 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2918, allocations: 342.8 kB / 0.7913 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.2919, allocations: 91.89 kB / 0.7913 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004628/0.2924, allocations: 475.4 kB / 0.7918 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.2926, allocations: 253.5 kB / 0.792 GB, free: 4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.2926, allocations: 0 / 0.792 GB, free: 4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004441/0.2931, allocations: 324.8 kB / 0.7924 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2931, allocations: 8 kB / 0.7924 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2931, allocations: 4 kB / 0.7924 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2932, allocations: 12.33 kB / 0.7924 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.2933, allocations: 35.92 kB / 0.7924 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.2933, allocations: 8 kB / 0.7924 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000731/0.2941, allocations: 60.19 kB / 0.7925 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.2941, allocations: 16 kB / 0.7925 GB, free: 3.535 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.0002028/0.2943, allocations: 199.9 kB / 0.7927 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.2944, allocations: 31.56 kB / 0.7927 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.8e-05/0.2944, allocations: 33.89 kB / 0.7927 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2944, allocations: 0 / 0.7927 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.2944, allocations: 11.94 kB / 0.7928 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2944, allocations: 3.984 kB / 0.7928 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.2947, allocations: 277.5 kB / 0.793 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.2947, allocations: 7.984 kB / 0.793 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.65e-05/0.2947, allocations: 7.875 kB / 0.793 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.2947, allocations: 4 kB / 0.793 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.2947, allocations: 8 kB / 0.7931 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2947, allocations: 0 / 0.7931 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2948, allocations: 0.625 kB / 0.7931 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005095/0.2953, allocations: 432.8 kB / 0.7935 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.2953, allocations: 104.8 kB / 0.7936 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.2954, allocations: 4 kB / 0.7936 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.853e-05/0.2955, allocations: 11.98 kB / 0.7936 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.2955, allocations: 19.92 kB / 0.7936 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.2956, allocations: 12 kB / 0.7936 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002715/0.2958, allocations: 287 kB / 0.7939 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2959, allocations: 3.938 kB / 0.7939 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003843/0.2962, allocations: 83.92 kB / 0.794 GB, free: 1.922 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.000229/0.2965, allocations: 135.2 kB / 0.7941 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004066/0.2969, allocations: 263.6 kB / 0.7943 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2969, allocations: 0 / 0.7943 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.2971, allocations: 151.9 kB / 0.7945 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.2974, allocations: 25.39 kB / 0.7945 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008431/0.2982, allocations: 0.6157 MB / 0.7951 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.2986, allocations: 0.7674 MB / 0.7959 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.2987, allocations: 58.05 kB / 0.7959 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.104e-05/0.2988, allocations: 27.44 kB / 0.7959 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.2988, allocations: 0 / 0.7959 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of Templates: time 0.008525/0.3073, allocations: 4.982 MB / 0.8008 GB, free: 10.89 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)