Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01094/0.01095, allocations: 107.8 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001251/0.001251, allocations: 180.2 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.108/2.108, allocations: 194.6 MB / 211.3 MB, free: 11.25 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.548/2.548, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004701, allocations: 16 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6605/0.661, allocations: 98.71 MB / 0.6834 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001593/0.6627, allocations: 1.02 MB / 0.6844 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0005244/0.6632, allocations: 178.4 kB / 0.6846 GB, free: 16.01 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.231e-05/0.6633, allocations: 4.906 kB / 0.6846 GB, free: 16 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 8.883e-05/0.6634, allocations: 1.359 kB / 0.6846 GB, free: 16 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.564e-05/0.6634, allocations: 10.56 kB / 0.6846 GB, free: 16 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.6637, allocations: 30.78 kB / 0.6847 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.6638, allocations: 35.17 kB / 0.6847 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.664, allocations: 15.92 kB / 0.6847 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.685e-05/0.664, allocations: 20.03 kB / 0.6847 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.386e-05/0.6641, allocations: 17.09 kB / 0.6847 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.6641, allocations: 2.625 kB / 0.6847 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.752e-05/0.6642, allocations: 1.375 kB / 0.6847 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.433e-05/0.6642, allocations: 21.75 kB / 0.6848 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.6643, allocations: 33.39 kB / 0.6848 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.6644, allocations: 49.67 kB / 0.6848 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.6644, allocations: 0 / 0.6848 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6644, allocations: 0 / 0.6848 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.6644, allocations: 1.312 kB / 0.6848 GB, free: 15.89 MB / 0.5261 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.0005279/0.665, allocations: 391.2 kB / 0.6852 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.665, allocations: 10.09 kB / 0.6852 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.6651, allocations: 37.14 kB / 0.6853 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.6651, allocations: 4.781 kB / 0.6853 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.6653, allocations: 190.8 kB / 0.6854 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.6653, allocations: 6.812 kB / 0.6855 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.6653, allocations: 9.266 kB / 0.6855 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.6656, allocations: 78.22 kB / 0.6855 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.6656, allocations: 4.688 kB / 0.6855 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.6656, allocations: 4 kB / 0.6855 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.6657, allocations: 1.344 kB / 0.6855 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.6658, allocations: 39.34 kB / 0.6856 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007056/0.6665, allocations: 357.2 kB / 0.6859 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.6668, allocations: 114.8 kB / 0.686 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.6669, allocations: 1.828 kB / 0.686 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.6671, allocations: 89.78 kB / 0.6861 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 2.314e-06/0.6671, allocations: 0 / 0.6861 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0004217/0.6675, allocations: 152.9 kB / 0.6863 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.6676, allocations: 58.08 kB / 0.6863 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.6677, allocations: 133.6 kB / 0.6864 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.6677, allocations: 26.98 kB / 0.6865 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/0.6678, allocations: 88.62 kB / 0.6866 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.6678, allocations: 24.7 kB / 0.6866 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.6678, allocations: 0 / 0.6866 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.444e-05/0.6679, allocations: 319.9 kB / 0.6869 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.393e-05/0.668, allocations: 34.92 kB / 0.6869 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.6681, allocations: 61.55 kB / 0.687 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.6682, allocations: 38.17 kB / 0.687 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6683, allocations: 0 / 0.687 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002777/0.6685, allocations: 130.5 kB / 0.6871 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.6686, allocations: 6 kB / 0.6871 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.6686, allocations: 0 / 0.6871 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.6686, allocations: 1.094 kB / 0.6871 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.566e-05/0.6687, allocations: 12.98 kB / 0.6872 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.6687, allocations: 13.27 kB / 0.6872 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.6689, allocations: 11.48 kB / 0.6872 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.551e-05/0.669, allocations: 23.45 kB / 0.6872 GB, free: 13.9 MB / 0.5261 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 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.6691, allocations: 131.1 kB / 0.6873 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.6691, allocations: 7.656 kB / 0.6873 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.6692, allocations: 10.77 kB / 0.6873 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.6692, allocations: 1.469 kB / 0.6873 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.6692, allocations: 1.875 kB / 0.6874 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.6692, allocations: 8.562 kB / 0.6874 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005534/0.6698, allocations: 414.9 kB / 0.6878 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6698, allocations: 0.7969 kB / 0.6878 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/0.6698, allocations: 2.156 kB / 0.6878 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.6698, allocations: 1.625 kB / 0.6878 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.6698, allocations: 2.453 kB / 0.6878 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.6699, allocations: 4.75 kB / 0.6878 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6699, allocations: 1.688 kB / 0.6878 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.6702, allocations: 219 kB / 0.688 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.6702, allocations: 83.77 kB / 0.6881 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.6703, allocations: 7.047 kB / 0.6881 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.6704, allocations: 1.797 kB / 0.6881 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.6704, allocations: 12.3 kB / 0.6881 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.927e-05/0.6705, allocations: 31.39 kB / 0.6881 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.438e-05/0.6706, allocations: 99.11 kB / 0.6882 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/0.6706, allocations: 0 / 0.6882 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003291/0.6709, allocations: 16.56 kB / 0.6882 GB, free: 13.04 MB / 0.5261 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 (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.0004829/0.6714, allocations: 0.7527 MB / 0.689 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002607/0.6717, allocations: 93.38 kB / 0.689 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6717, allocations: 4.062 kB / 0.689 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.6719, allocations: 52.08 kB / 0.6891 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.6725, allocations: 72.38 kB / 0.6892 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007807/0.6732, allocations: 0.72 MB / 0.6899 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.6734, allocations: 0.6977 MB / 0.6905 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.409e-05/0.6735, allocations: 11.28 kB / 0.6906 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.618e-05/0.6736, allocations: 25.58 kB / 0.6906 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of SimCode: time 7.72e-07/0.6736, allocations: 4 kB / 0.6906 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.7002, allocations: 2.507 MB / 0.693 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000253/0.7005, allocations: 197.8 kB / 0.6932 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/3.142, allocations: 4 kB / 0.6932 GB, free: 10.38 MB / 0.5261 GB