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.0009641/0.0009645, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00099/0.00099, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.679/1.679, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005254/0.0005257, allocations: 15.69 kB / 0.6736 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2807, allocations: 116.3 MB / 0.7871 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.0008187/0.2816, allocations: 397.7 kB / 0.7875 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.2831, allocations: 1.302 MB / 0.7888 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.914e-05/0.2832, allocations: 4 kB / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004397/0.2836, allocations: 179.6 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.2838, allocations: 103.8 kB / 0.7891 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000603/0.2844, allocations: 210 kB / 0.7893 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000388/0.2848, allocations: 284 kB / 0.7895 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.2849, allocations: 4 kB / 0.7895 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.2851, allocations: 199.6 kB / 0.7897 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.2853, allocations: 183.6 kB / 0.7899 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.343e-05/0.2854, allocations: 8 kB / 0.7899 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.2856, allocations: 63.94 kB / 0.79 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003013/0.2859, allocations: 239.5 kB / 0.7902 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.722e-05/0.286, allocations: 61.58 kB / 0.7903 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003573/0.2863, allocations: 351.5 kB / 0.7906 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2863, allocations: 0 / 0.7906 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2863, allocations: 0 / 0.7906 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.2864, allocations: 4 kB / 0.7906 GB, free: 8.379 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.00086/0.2872, allocations: 0.5293 MB / 0.7911 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2873, allocations: 8.031 kB / 0.7911 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.2874, allocations: 31.62 kB / 0.7912 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/0.288, allocations: 379 kB / 0.7915 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.288, allocations: 12 kB / 0.7915 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.338e-05/0.2881, allocations: 24 kB / 0.7916 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.2884, allocations: 184.1 kB / 0.7917 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2884, allocations: 0 / 0.7917 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.2884, allocations: 7.984 kB / 0.7917 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2885, allocations: 0 / 0.7917 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.2886, allocations: 107.9 kB / 0.7918 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.2891, allocations: 391 kB / 0.7922 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.2895, allocations: 319.8 kB / 0.7925 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.2895, allocations: 3.938 kB / 0.7925 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004551/0.29, allocations: 285.6 kB / 0.7928 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.29, allocations: 0 / 0.7928 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0008086/0.2908, allocations: 0.497 MB / 0.7933 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/0.2909, allocations: 114.8 kB / 0.7934 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004427/0.2914, allocations: 400.4 kB / 0.7938 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.394e-05/0.2915, allocations: 37.7 kB / 0.7938 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.2916, allocations: 153.1 kB / 0.794 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.2917, allocations: 43.53 kB / 0.794 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.2917, allocations: 4 kB / 0.794 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.2918, allocations: 346.8 kB / 0.7943 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.292, allocations: 83.95 kB / 0.7944 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/0.2925, allocations: 466.8 kB / 0.7949 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.2927, allocations: 127.8 kB / 0.795 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.2927, allocations: 4 kB / 0.795 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004244/0.2931, allocations: 325 kB / 0.7953 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.2931, allocations: 10.81 kB / 0.7953 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2931, allocations: 7.938 kB / 0.7953 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.2932, allocations: 4.234 kB / 0.7953 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.2933, allocations: 27.92 kB / 0.7953 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.2933, allocations: 8 kB / 0.7953 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006846/0.294, allocations: 80.38 kB / 0.7954 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.2941, allocations: 15.92 kB / 0.7954 GB, free: 3.031 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 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001939/0.2943, allocations: 203.9 kB / 0.7956 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.2943, allocations: 27.62 kB / 0.7957 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.152e-05/0.2944, allocations: 33.89 kB / 0.7957 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.2944, allocations: 8 kB / 0.7957 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2944, allocations: 0 / 0.7957 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2944, allocations: 0 / 0.7957 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.2946, allocations: 289.4 kB / 0.796 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2947, allocations: 0 / 0.796 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.578e-05/0.2947, allocations: 7.938 kB / 0.796 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2947, allocations: 0 / 0.796 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.2947, allocations: 11.98 kB / 0.796 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2947, allocations: 4.125 kB / 0.796 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2947, allocations: 4 kB / 0.796 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005319/0.2953, allocations: 453.6 kB / 0.7964 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.2954, allocations: 112.8 kB / 0.7965 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.2954, allocations: 4 kB / 0.7965 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.2955, allocations: 11.92 kB / 0.7966 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.2956, allocations: 23.94 kB / 0.7966 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.2956, allocations: 15.98 kB / 0.7966 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002905/0.2959, allocations: 283 kB / 0.7969 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2959, allocations: 4 kB / 0.7969 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003628/0.2963, allocations: 79.92 kB / 0.7969 GB, free: 1.371 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002325/0.2965, allocations: 135.2 kB / 0.7971 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003982/0.2969, allocations: 263.6 kB / 0.7973 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.297, allocations: 0 / 0.7973 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.2971, allocations: 143.9 kB / 0.7975 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.2973, allocations: 16.66 kB / 0.7975 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008247/0.2982, allocations: 0.5975 MB / 0.7981 GB, free: 196 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.2985, allocations: 0.7677 MB / 0.7988 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.2987, allocations: 49.94 kB / 0.7989 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.2987, allocations: 27.44 kB / 0.7989 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.2987, allocations: 0 / 0.7989 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of Templates: time 0.008251/0.307, allocations: 4.604 MB / 0.8034 GB, free: 10.76 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: