Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.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.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",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.0008138/0.0008139, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005207/0.005207, allocations: 170.8 kB / 16.26 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.322/1.322, allocations: 205.4 MB / 222.5 MB, free: 5.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.638/1.638, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005033/0.0005033, allocations: 18.39 kB / 0.6744 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1895, allocations: 116.3 MB / 0.788 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0008036/0.1903, allocations: 357.8 kB / 0.7884 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004065/0.1908, allocations: 180.5 kB / 0.7885 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.862e-05/0.1908, allocations: 4 kB / 0.7885 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.958e-05/0.1909, allocations: 3.938 kB / 0.7885 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.058e-05/0.1909, allocations: 3.984 kB / 0.7885 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.1912, allocations: 43.91 kB / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.1913, allocations: 55.83 kB / 0.7886 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.644e-05/0.1914, allocations: 8 kB / 0.7886 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.789e-05/0.1914, allocations: 19.92 kB / 0.7887 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.111e-05/0.1915, allocations: 23.91 kB / 0.7887 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.1915, allocations: 4 kB / 0.7887 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.1915, allocations: 0 / 0.7887 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.1916, allocations: 19.92 kB / 0.7887 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.655e-05/0.1916, allocations: 53.56 kB / 0.7888 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.351e-05/0.1917, allocations: 59.77 kB / 0.7888 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1917, allocations: 0 / 0.7888 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1917, allocations: 0 / 0.7888 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.1917, allocations: 4 kB / 0.7888 GB, free: 10.61 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004845/0.1922, allocations: 393.2 kB / 0.7892 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1923, allocations: 8.031 kB / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.931e-05/0.1923, allocations: 38.73 kB / 0.7892 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.1924, allocations: 8.844 kB / 0.7892 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.1925, allocations: 184.2 kB / 0.7894 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1926, allocations: 8.312 kB / 0.7894 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.1926, allocations: 8.375 kB / 0.7894 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1927, allocations: 82.2 kB / 0.7895 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1928, allocations: 3.938 kB / 0.7895 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.1928, allocations: 0 / 0.7895 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1928, allocations: 4 kB / 0.7895 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.01e-05/0.1929, allocations: 39.98 kB / 0.7896 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/0.1934, allocations: 348.6 kB / 0.7899 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.1936, allocations: 114.5 kB / 0.79 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.4e-05/0.1937, allocations: 64.84 kB / 0.7901 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.1937, allocations: 4 kB / 0.7901 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.1939, allocations: 95.25 kB / 0.7902 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.1939, allocations: 0 / 0.7902 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002861/0.1942, allocations: 153.5 kB / 0.7903 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.1943, allocations: 51.52 kB / 0.7904 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.1944, allocations: 133.7 kB / 0.7905 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.1944, allocations: 29.7 kB / 0.7905 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.1945, allocations: 92.12 kB / 0.7906 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.1945, allocations: 19.88 kB / 0.7906 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.1945, allocations: 21.7 kB / 0.7906 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1947, allocations: 322.8 kB / 0.7909 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.834e-05/0.1947, allocations: 39.97 kB / 0.791 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/0.1948, allocations: 54.55 kB / 0.791 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.1949, allocations: 94.48 kB / 0.7911 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1949, allocations: 0 / 0.7911 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001783/0.1951, allocations: 125.5 kB / 0.7912 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1951, allocations: 8.031 kB / 0.7913 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1952, allocations: 0 / 0.7913 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1952, allocations: 4 kB / 0.7913 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.647e-05/0.1952, allocations: 8 kB / 0.7913 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1953, allocations: 3.984 kB / 0.7913 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.741e-05/0.1953, allocations: 11.89 kB / 0.7913 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.1954, allocations: 35.88 kB / 0.7913 GB, free: 7.793 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (dayTypSat.skipIDayIncrement,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.iDay,$PRE.dayTypSat.iDay,dayTypSat.y[2],dayTypSat.y[1],isHoliday.y,isNonWorDay.y,isWorDay.y,dayTypSat.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 9.742e-05/0.1955, allocations: 137.7 kB / 0.7914 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.1955, allocations: 0 / 0.7914 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.1956, allocations: 12.38 kB / 0.7915 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1956, allocations: 0 / 0.7915 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.1956, allocations: 0 / 0.7915 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1956, allocations: 3.938 kB / 0.7915 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.196, allocations: 422.6 kB / 0.7919 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.196, allocations: 4 kB / 0.7919 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.258e-05/0.196, allocations: 3.984 kB / 0.7919 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.196, allocations: 0 / 0.7919 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.1961, allocations: 8 kB / 0.7919 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1961, allocations: 3.938 kB / 0.7919 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1961, allocations: 3.938 kB / 0.7919 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.1963, allocations: 219.3 kB / 0.7921 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.1963, allocations: 77.11 kB / 0.7922 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.1963, allocations: 8 kB / 0.7922 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.569e-05/0.1964, allocations: 3.906 kB / 0.7922 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.1965, allocations: 15.92 kB / 0.7922 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.1965, allocations: 31.95 kB / 0.7922 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.782e-05/0.1966, allocations: 95.86 kB / 0.7923 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1966, allocations: 0 / 0.7923 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002311/0.1968, allocations: 19.92 kB / 0.7923 GB, free: 6.648 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (dayTypSat.sampleTrigger,$whenCondition1,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement) * Number of discrete states: 2 (dayTypSat.skipIDayIncrement,dayTypSat.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004679/0.1973, allocations: 0.7515 MB / 0.7931 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.1974, allocations: 91.89 kB / 0.7932 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1975, allocations: 0 / 0.7932 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.998e-05/0.1975, allocations: 44.2 kB / 0.7932 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.198, allocations: 78.42 kB / 0.7933 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.1994, allocations: 1.576 MB / 0.7948 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.1997, allocations: 0.6887 MB / 0.7955 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.962e-05/0.1997, allocations: 20.64 kB / 0.7955 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.464e-05/0.1998, allocations: 27.42 kB / 0.7955 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.1998, allocations: 0 / 0.7955 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01144/0.2112, allocations: 2.527 MB / 0.798 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/0.2114, allocations: 218.3 kB / 0.7982 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.136/2.347, allocations: 0 / 0.7982 GB, free: 0.6055 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck_fmu --startTime=0 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)