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.Discrete.Examples.DayType.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: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004193/0.004197, allocations: 231.2 kB / 15.82 MB, free: 6.293 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.001167/0.001167, allocations: 175.3 kB / 16.7 MB, free: 5.453 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 3.821/3.821, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.042/4.042, allocations: 472.3 MB / 0.9024 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004849, allocations: 15.98 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1852, allocations: 98.71 MB / 1.105 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7783/0.9636, allocations: 124.5 MB / 1.226 GB, free: 28.53 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.9639, allocations: 70.38 kB / 1.226 GB, free: 28.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.09198/1.056, allocations: 22.32 MB / 1.248 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.254e-06/1.056, allocations: 3.469 kB / 1.248 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.159e-05/1.056, allocations: 7.938 kB / 1.248 GB, free: 13.19 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001248/1.057, allocations: 0.6393 MB / 1.249 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/1.057, allocations: 8.031 kB / 1.249 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.676e-05/1.057, allocations: 27.72 kB / 1.249 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/1.058, allocations: 249.2 kB / 1.249 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.317e-05/1.058, allocations: 21.56 kB / 1.249 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/1.058, allocations: 21.36 kB / 1.249 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007365/1.059, allocations: 458.8 kB / 1.249 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/1.059, allocations: 0 / 1.249 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/1.059, allocations: 11.48 kB / 1.249 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.059, allocations: 3.938 kB / 1.249 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005206/1.059, allocations: 320.5 kB / 1.25 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007769/1.06, allocations: 0.5588 MB / 1.25 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/1.062, allocations: 1.035 MB / 1.251 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/1.063, allocations: 0.6532 MB / 1.252 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-05/1.063, allocations: 11.3 kB / 1.252 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007561/1.064, allocations: 474.7 kB / 1.252 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 2.975e-06/1.064, allocations: 0 / 1.252 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.002024/1.066, allocations: 1.111 MB / 1.254 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/1.066, allocations: 143.6 kB / 1.254 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/1.066, allocations: 251.5 kB / 1.254 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.434e-05/1.066, allocations: 39.39 kB / 1.254 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/1.066, allocations: 121.1 kB / 1.254 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.07e-05/1.066, allocations: 78.17 kB / 1.254 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/1.066, allocations: 7.062 kB / 1.254 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.067, allocations: 350.1 kB / 1.254 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000536/1.067, allocations: 330.5 kB / 1.255 GB, free: 7.051 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005823/1.068, allocations: 422.8 kB / 1.255 GB, free: 6.676 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/1.068, allocations: 360.4 kB / 1.256 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/1.068, allocations: 0 / 1.256 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001441/1.07, allocations: 0.8278 MB / 1.256 GB, free: 5.719 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/1.07, allocations: 4 kB / 1.256 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.07, allocations: 12.44 kB / 1.256 GB, free: 5.703 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/1.07, allocations: 7.984 kB / 1.256 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/1.07, allocations: 39.78 kB / 1.256 GB, free: 5.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/1.07, allocations: 6.812 kB / 1.256 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/1.071, allocations: 19.31 kB / 1.256 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003454/1.071, allocations: 209.7 kB / 1.257 GB, free: 5.445 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.skipIDayIncrement,$whenCondition4,dayTypMonThr.sampleTrigger,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],$PRE.dayTypMonThr.iDay,dayTypMonThr.iDay,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.skipIDayIncrement,$whenCondition3,dayTypTwoWeeks.sampleTrigger,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.iDay,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,$whenCondition2,dayTypSat.sampleTrigger,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.skipIDayIncrement,$whenCondition1,dayTypMon.sampleTrigger,dayTypMon.y[1],dayTypMon.y[2],$PRE.dayTypMon.iDay,dayTypMon.iDay) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0003265/1.071, allocations: 201.1 kB / 1.257 GB, free: 5.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-05/1.071, allocations: 31.62 kB / 1.257 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.048e-05/1.071, allocations: 36.86 kB / 1.257 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/1.071, allocations: 4 kB / 1.257 GB, free: 5.223 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/1.071, allocations: 0 / 1.257 GB, free: 5.223 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/1.072, allocations: 0 / 1.257 GB, free: 5.223 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002777/1.074, allocations: 1.704 MB / 1.259 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.074, allocations: 128 / 1.259 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.43e-05/1.074, allocations: 27.09 kB / 1.259 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/1.074, allocations: 4 kB / 1.259 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.52e-05/1.075, allocations: 22.22 kB / 1.259 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/1.075, allocations: 7.094 kB / 1.259 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/1.075, allocations: 7.891 kB / 1.259 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/1.076, allocations: 1.112 MB / 1.26 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-05/1.076, allocations: 104.7 kB / 1.26 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.912e-05/1.076, allocations: 7.625 kB / 1.26 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/1.077, allocations: 15.64 kB / 1.26 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/1.077, allocations: 53.17 kB / 1.26 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003577/1.077, allocations: 226.5 kB / 1.26 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002834/1.077, allocations: 172.7 kB / 1.26 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.077, allocations: 0 / 1.26 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006979/1.078, allocations: 65.92 kB / 1.26 GB, free: 18.07 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.y[1],dayTypMon.y[2],dayTypMon.iDay,dayTypMon.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],dayTypTwoWeeks.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],dayTypMonThr.iDay,dayTypMonThr.skipIDayIncrement) * Number of discrete states: 8 (dayTypMonThr.skipIDayIncrement,dayTypMonThr.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.iDay,dayTypSat.skipIDayIncrement,dayTypSat.iDay,dayTypMon.skipIDayIncrement,dayTypMon.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * 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.0002292/1.078, allocations: 141.7 kB / 1.26 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001347/1.08, allocations: 0.7358 MB / 1.261 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.08, allocations: 0 / 1.261 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007224/1.081, allocations: 403.6 kB / 1.262 GB, free: 17.01 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002828/1.083, allocations: 365.2 kB / 1.262 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/1.085, allocations: 1.022 MB / 1.263 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/1.086, allocations: 0.758 MB / 1.264 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005064/1.086, allocations: 107.2 kB / 1.264 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/1.086, allocations: 65.5 kB / 1.264 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of SimCode: time 1.542e-06/1.086, allocations: 0 / 1.264 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of Templates: time 0.02188/1.108, allocations: 8.042 MB / 1.272 GB, free: 7.18 MB / 0.6355 GB