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.001482/0.001482, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 189.7 kB / 16.62 MB, free: 6.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.543/1.543, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.859/1.859, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001439/0.001439, allocations: 70.89 kB / 0.6723 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3075, allocations: 114.5 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002042/0.3096, allocations: 0.6894 MB / 0.7848 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001691/0.3113, allocations: 1.332 MB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.3114, allocations: 8 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004595/0.3119, allocations: 183.5 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.312, allocations: 103.7 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006891/0.3127, allocations: 245.3 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004882/0.3132, allocations: 491.7 kB / 0.7871 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.3132, allocations: 11.98 kB / 0.7871 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.3134, allocations: 207.6 kB / 0.7873 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/0.3138, allocations: 207.5 kB / 0.7875 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.699e-05/0.3138, allocations: 20 kB / 0.7875 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.314, allocations: 75.95 kB / 0.7876 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003338/0.3144, allocations: 260.6 kB / 0.7878 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.3146, allocations: 151.3 kB / 0.788 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005018/0.3151, allocations: 478.6 kB / 0.7884 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3151, allocations: 0 / 0.7884 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3151, allocations: 0 / 0.7884 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3151, allocations: 0 / 0.7884 GB, free: 8.293 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.001046/0.3162, allocations: 0.6346 MB / 0.7891 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.3162, allocations: 8.031 kB / 0.7891 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.3163, allocations: 28.66 kB / 0.7891 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005231/0.3169, allocations: 400 kB / 0.7895 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.3169, allocations: 12.38 kB / 0.7895 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.317, allocations: 16.38 kB / 0.7895 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.3173, allocations: 192.6 kB / 0.7897 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3173, allocations: 192 / 0.7897 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.3173, allocations: 7.922 kB / 0.7897 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.3173, allocations: 4 kB / 0.7897 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.3175, allocations: 103.9 kB / 0.7898 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.3179, allocations: 383.2 kB / 0.7902 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.3183, allocations: 315.6 kB / 0.7905 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.3185, allocations: 134.6 kB / 0.7906 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.3185, allocations: 0 / 0.7906 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004354/0.319, allocations: 286.4 kB / 0.7909 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.319, allocations: 0 / 0.7909 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0007676/0.3198, allocations: 0.5009 MB / 0.7914 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/0.3199, allocations: 110.8 kB / 0.7915 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.3203, allocations: 400.4 kB / 0.7919 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.833e-05/0.3203, allocations: 37.7 kB / 0.7919 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3205, allocations: 152.8 kB / 0.792 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.3205, allocations: 47.53 kB / 0.7921 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.3207, allocations: 109.6 kB / 0.7922 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3208, allocations: 350.8 kB / 0.7925 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.321, allocations: 91.89 kB / 0.7926 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/0.3214, allocations: 471.4 kB / 0.7931 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.3217, allocations: 249.5 kB / 0.7933 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3217, allocations: 4 kB / 0.7933 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004473/0.3222, allocations: 329.3 kB / 0.7936 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3222, allocations: 11.94 kB / 0.7936 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.3222, allocations: 4 kB / 0.7936 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.3222, allocations: 4 kB / 0.7936 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.3224, allocations: 31.86 kB / 0.7937 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.3224, allocations: 7.984 kB / 0.7937 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007004/0.3231, allocations: 68.19 kB / 0.7937 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.3231, allocations: 8 kB / 0.7937 GB, free: 2.398 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.0002169/0.3234, allocations: 200 kB / 0.7939 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.965e-05/0.3234, allocations: 31.66 kB / 0.794 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.401e-05/0.3235, allocations: 37.83 kB / 0.794 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3235, allocations: 4 kB / 0.794 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3235, allocations: 0 / 0.794 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.3235, allocations: 4 kB / 0.794 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.3238, allocations: 285.4 kB / 0.7943 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3238, allocations: 0 / 0.7943 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.692e-05/0.3238, allocations: 11.94 kB / 0.7943 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3238, allocations: 11.92 kB / 0.7943 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.3239, allocations: 4 kB / 0.7943 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3239, allocations: 0 / 0.7943 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3239, allocations: 0 / 0.7943 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005178/0.3244, allocations: 436.8 kB / 0.7947 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/0.3245, allocations: 104.8 kB / 0.7948 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.3245, allocations: 7.938 kB / 0.7948 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.707e-05/0.3246, allocations: 4 kB / 0.7948 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.3247, allocations: 27.84 kB / 0.7949 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.3247, allocations: 12 kB / 0.7949 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002979/0.325, allocations: 291 kB / 0.7951 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.325, allocations: 0 / 0.7951 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003574/0.3254, allocations: 79.94 kB / 0.7952 GB, free: 0.7773 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.0002225/0.3256, allocations: 135.2 kB / 0.7954 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004006/0.326, allocations: 251.7 kB / 0.7956 GB, free: 396 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.326, allocations: 0.8125 kB / 0.7956 GB, free: 396 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.3262, allocations: 152.5 kB / 0.7957 GB, free: 244 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.3265, allocations: 28.64 kB / 0.7958 GB, free: 216 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000843/0.3273, allocations: 0.5729 MB / 0.7963 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.3277, allocations: 0.7597 MB / 0.7971 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.3278, allocations: 54.11 kB / 0.7971 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.41e-05/0.3279, allocations: 31.42 kB / 0.7971 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.3279, allocations: 0 / 0.7971 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of Templates: time 0.008685/0.3366, allocations: 4.99 MB / 0.802 GB, free: 9.809 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)