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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 108 kB / 15.6 MB, free: 132 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.001113/0.001113, allocations: 198.2 kB / 16.53 MB, free: 6.391 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.468/1.468, allocations: 205.1 MB / 222.4 MB, free: 4.562 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.721/1.721, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.002277/0.002278, allocations: 69.36 kB / 0.6716 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2943, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001903/0.2962, allocations: 0.6896 MB / 0.7842 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001828/0.2981, allocations: 1.332 MB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.985e-05/0.2981, allocations: 4 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004656/0.2986, allocations: 191.5 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.2987, allocations: 107.7 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006697/0.2994, allocations: 226.5 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004889/0.2999, allocations: 479.8 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.3, allocations: 4 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.3002, allocations: 207.6 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.3005, allocations: 211.5 kB / 0.7868 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.231e-05/0.3005, allocations: 20 kB / 0.7869 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.3008, allocations: 79.95 kB / 0.7869 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000375/0.3011, allocations: 260.6 kB / 0.7872 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.3013, allocations: 147.3 kB / 0.7873 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004657/0.3018, allocations: 475 kB / 0.7878 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3018, allocations: 0 / 0.7878 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3018, allocations: 0 / 0.7878 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.3018, allocations: 4 kB / 0.7878 GB, free: 8.977 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.0009625/0.3028, allocations: 0.6346 MB / 0.7884 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3028, allocations: 12.03 kB / 0.7884 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.3029, allocations: 34.75 kB / 0.7884 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.303, allocations: 36.64 kB / 0.7885 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.3035, allocations: 380 kB / 0.7888 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.3035, allocations: 16.36 kB / 0.7889 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.915e-05/0.3036, allocations: 20.38 kB / 0.7889 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.3039, allocations: 192.6 kB / 0.7891 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3039, allocations: 3.938 kB / 0.7891 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.3039, allocations: 0 / 0.7891 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3039, allocations: 4 kB / 0.7891 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.3041, allocations: 107.9 kB / 0.7892 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.3045, allocations: 387.2 kB / 0.7895 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.3049, allocations: 319.6 kB / 0.7898 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.3051, allocations: 122.6 kB / 0.79 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-06/0.3051, allocations: 4 kB / 0.79 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004292/0.3055, allocations: 292 kB / 0.7902 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.3056, allocations: 0 / 0.7902 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0007505/0.3063, allocations: 0.4894 MB / 0.7907 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.3064, allocations: 114.8 kB / 0.7908 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003877/0.3068, allocations: 404.4 kB / 0.7912 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/0.3068, allocations: 45.62 kB / 0.7913 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.307, allocations: 152.8 kB / 0.7914 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.307, allocations: 35.55 kB / 0.7914 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.3072, allocations: 121.6 kB / 0.7916 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3073, allocations: 342.8 kB / 0.7919 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.3074, allocations: 87.95 kB / 0.792 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/0.3079, allocations: 474.8 kB / 0.7924 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.3082, allocations: 253.5 kB / 0.7927 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3082, allocations: 0 / 0.7927 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004875/0.3087, allocations: 328.8 kB / 0.793 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.3087, allocations: 8 kB / 0.793 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.3087, allocations: 4.406 kB / 0.793 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3088, allocations: 8 kB / 0.793 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.3089, allocations: 35.91 kB / 0.793 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.3089, allocations: 8 kB / 0.793 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007241/0.3097, allocations: 56.59 kB / 0.7931 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.3097, allocations: 16 kB / 0.7931 GB, free: 3.039 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.0001933/0.3099, allocations: 196.2 kB / 0.7933 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.31, allocations: 39.55 kB / 0.7933 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.235e-05/0.31, allocations: 33.89 kB / 0.7934 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.31, allocations: 0 / 0.7934 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.31, allocations: 3.938 kB / 0.7934 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.31, allocations: 7.984 kB / 0.7934 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.3103, allocations: 285.5 kB / 0.7936 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3103, allocations: 7.875 kB / 0.7937 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.396e-05/0.3103, allocations: 7.984 kB / 0.7937 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.3104, allocations: 8 kB / 0.7937 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.3104, allocations: 4 kB / 0.7937 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3104, allocations: 3.938 kB / 0.7937 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3104, allocations: 0 / 0.7937 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005287/0.3109, allocations: 438.2 kB / 0.7941 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.309e-05/0.311, allocations: 104.8 kB / 0.7942 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.311, allocations: 4 kB / 0.7942 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.42e-05/0.3111, allocations: 11.98 kB / 0.7942 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.3112, allocations: 15.98 kB / 0.7942 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.3112, allocations: 12 kB / 0.7942 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002915/0.3115, allocations: 287 kB / 0.7945 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3115, allocations: 0 / 0.7945 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003807/0.3119, allocations: 83.92 kB / 0.7946 GB, free: 1.414 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.0008983/0.3128, allocations: 1 MB / 0.7956 GB, free: 384 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004078/0.3133, allocations: 267.2 kB / 0.7958 GB, free: 120 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3133, allocations: 4.25 kB / 0.7958 GB, free: 116 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.3135, allocations: 143.9 kB / 0.796 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.3137, allocations: 23.05 kB / 0.796 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.3172, allocations: 3.27 MB / 0.7992 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.3175, allocations: 0.7636 MB / 0.7999 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001334/0.3177, allocations: 50.12 kB / 0.8 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.3178, allocations: 79.41 kB / 0.8 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of SimCode: time 2.71e-07/0.3178, allocations: 0 / 0.8 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/0.343, allocations: 7.534 MB / 0.8074 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/8.525, allocations: 17.12 kB / 0.8074 GB, free: 4.25 MB / 0.6231 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)