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.001392/0.001393, allocations: 108 kB / 15.61 MB, free: 152 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.001657/0.001657, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.676/1.676, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.83/1.83, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001441/0.001441, allocations: 75.38 kB / 0.6715 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2992, allocations: 114.6 MB / 0.7834 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002069/0.3013, allocations: 0.6842 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.3032, allocations: 1.335 MB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.067e-05/0.3033, allocations: 4 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004571/0.3038, allocations: 187.5 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.3039, allocations: 103.7 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007273/0.3047, allocations: 242.7 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006316/0.3053, allocations: 467.8 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.055e-05/0.3054, allocations: 11.97 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.3056, allocations: 211.6 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.306, allocations: 207.6 kB / 0.7867 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.667e-05/0.3061, allocations: 24 kB / 0.7868 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.3063, allocations: 83.94 kB / 0.7868 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003642/0.3067, allocations: 252.5 kB / 0.7871 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.3069, allocations: 155.3 kB / 0.7872 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005017/0.3074, allocations: 467 kB / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3074, allocations: 0 / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3074, allocations: 0 / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.3074, allocations: 0 / 0.7877 GB, free: 9.035 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.001056/0.3085, allocations: 0.6424 MB / 0.7883 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.3085, allocations: 8.031 kB / 0.7883 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.3087, allocations: 28.66 kB / 0.7883 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005678/0.3092, allocations: 384 kB / 0.7887 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.3093, allocations: 16.38 kB / 0.7887 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.038e-05/0.3093, allocations: 20.38 kB / 0.7887 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.3097, allocations: 192.6 kB / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3097, allocations: 192 / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.3097, allocations: 7.938 kB / 0.7889 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3097, allocations: 0 / 0.7889 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.3099, allocations: 111.9 kB / 0.789 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.3104, allocations: 379.1 kB / 0.7894 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004572/0.3109, allocations: 315.6 kB / 0.7897 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.311, allocations: 126.6 kB / 0.7898 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.719e-06/0.3111, allocations: 0 / 0.7898 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004861/0.3116, allocations: 286.5 kB / 0.7901 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.3116, allocations: 0 / 0.7901 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.000833/0.3124, allocations: 0.5009 MB / 0.7906 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.3125, allocations: 110.8 kB / 0.7907 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004877/0.313, allocations: 408.3 kB / 0.7911 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.251e-05/0.3131, allocations: 45.7 kB / 0.7911 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.3133, allocations: 156.7 kB / 0.7913 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.3133, allocations: 39.55 kB / 0.7913 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.3135, allocations: 113.6 kB / 0.7914 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3136, allocations: 342.8 kB / 0.7917 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.3138, allocations: 91.95 kB / 0.7918 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005954/0.3144, allocations: 466.8 kB / 0.7923 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.3147, allocations: 257.5 kB / 0.7925 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.3147, allocations: 3.984 kB / 0.7925 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005118/0.3152, allocations: 333 kB / 0.7928 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.3152, allocations: 11.98 kB / 0.7928 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.3153, allocations: 3.984 kB / 0.7929 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.3153, allocations: 8 kB / 0.7929 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.3155, allocations: 27.92 kB / 0.7929 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.3155, allocations: 4 kB / 0.7929 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007287/0.3162, allocations: 68.38 kB / 0.793 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.3162, allocations: 8 kB / 0.793 GB, free: 3.137 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.0002424/0.3165, allocations: 195.9 kB / 0.7932 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.654e-05/0.3166, allocations: 31.56 kB / 0.7932 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.3166, allocations: 33.89 kB / 0.7932 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.3166, allocations: 7.984 kB / 0.7932 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.3167, allocations: 11.94 kB / 0.7932 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3167, allocations: 0 / 0.7932 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.3169, allocations: 285.5 kB / 0.7935 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.317, allocations: 0 / 0.7935 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.857e-05/0.317, allocations: 11.88 kB / 0.7935 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.317, allocations: 0 / 0.7935 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.317, allocations: 8 kB / 0.7935 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.317, allocations: 7.984 kB / 0.7935 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.317, allocations: 0 / 0.7935 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.3176, allocations: 436.9 kB / 0.7939 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.95e-05/0.3176, allocations: 100.8 kB / 0.794 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.3177, allocations: 7.984 kB / 0.7941 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.3178, allocations: 4 kB / 0.7941 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/0.3179, allocations: 15.98 kB / 0.7941 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.3179, allocations: 8 kB / 0.7941 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003034/0.3182, allocations: 299 kB / 0.7944 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3182, allocations: 0 / 0.7944 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003737/0.3186, allocations: 83.86 kB / 0.7944 GB, free: 1.52 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.000207/0.3188, allocations: 135.2 kB / 0.7946 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004437/0.3193, allocations: 264.4 kB / 0.7948 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3193, allocations: 4.062 kB / 0.7948 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.3195, allocations: 144.7 kB / 0.795 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.3197, allocations: 32.58 kB / 0.795 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007777/0.3205, allocations: 0.569 MB / 0.7956 GB, free: 348 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.3208, allocations: 0.7674 MB / 0.7963 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001176/0.321, allocations: 53.92 kB / 0.7964 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/0.321, allocations: 23.44 kB / 0.7964 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of SimCode: time 2.01e-07/0.321, allocations: 0 / 0.7964 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of Templates: time 0.008839/0.3299, allocations: 4.992 MB / 0.8012 GB, free: 10.54 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)