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.006606/0.006612, allocations: 237.3 kB / 15.8 MB, free: 6.316 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.001879/0.001879, allocations: 178.7 kB / 16.68 MB, free: 5.473 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.664/3.664, allocations: 389.1 MB / 406.5 MB, free: 6.715 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.664/4.664, allocations: 472.3 MB / 0.9023 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006769/0.0006771, allocations: 16 kB / 1.008 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.219, allocations: 98.7 MB / 1.105 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType): time 0.001936/0.221, allocations: 1.114 MB / 1.106 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000825/0.2219, allocations: 271.2 kB / 1.106 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.222, allocations: 3.938 kB / 1.106 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.2221, allocations: 7.922 kB / 1.106 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.317e-05/0.2222, allocations: 19.86 kB / 1.106 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.2226, allocations: 67.86 kB / 1.106 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003508/0.223, allocations: 192 kB / 1.106 GB, free: 2.164 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.291e-05/0.223, allocations: 20.95 kB / 1.106 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.2232, allocations: 83.81 kB / 1.106 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.2235, allocations: 107.7 kB / 1.106 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.036e-05/0.2235, allocations: 8 kB / 1.106 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.359e-05/0.2236, allocations: 8 kB / 1.106 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.2237, allocations: 71.8 kB / 1.107 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.758e-05/0.2238, allocations: 57.58 kB / 1.107 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.2241, allocations: 207.5 kB / 1.107 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2242, allocations: 0 / 1.107 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.295e-06/0.2242, allocations: 0 / 1.107 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2242, allocations: 4 kB / 1.107 GB, free: 1.602 MB / 0.7448 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.001411/0.2256, allocations: 0.6384 MB / 1.107 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.2257, allocations: 8.031 kB / 1.107 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.651e-05/0.2258, allocations: 27.72 kB / 1.107 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.2262, allocations: 253.6 kB / 1.108 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.862e-05/0.2263, allocations: 16.28 kB / 1.108 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/0.2264, allocations: 16 kB / 1.108 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009504/0.2273, allocations: 458.8 kB / 1.108 GB, free: 72 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.2274, allocations: 4 kB / 1.108 GB, free: 68 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.78e-05/0.2274, allocations: 8 kB / 1.108 GB, free: 60 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.2275, allocations: 4 kB / 1.108 GB, free: 56 kB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006959/0.2282, allocations: 323.7 kB / 1.108 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.2292, allocations: 0.5624 MB / 1.109 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002073/0.2313, allocations: 1.037 MB / 1.11 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/0.2326, allocations: 0.6515 MB / 1.111 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.966e-05/0.2326, allocations: 8 kB / 1.111 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009557/0.2336, allocations: 486.3 kB / 1.111 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=37): time 5.22e-06/0.2336, allocations: 0 / 1.111 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37): time 0.002462/0.2361, allocations: 1.114 MB / 1.112 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.606e-05/0.2362, allocations: 140.5 kB / 1.112 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.2366, allocations: 256.8 kB / 1.113 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.23e-05/0.2367, allocations: 37.7 kB / 1.113 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.2368, allocations: 121.1 kB / 1.113 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.2369, allocations: 79.14 kB / 1.113 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.237, allocations: 12 kB / 1.113 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.2371, allocations: 338.8 kB / 1.113 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006802/0.2378, allocations: 324.7 kB / 1.113 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008264/0.2387, allocations: 430.4 kB / 1.114 GB, free: 9.953 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008264/0.2395, allocations: 363.5 kB / 1.114 GB, free: 9.602 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.2395, allocations: 0 / 1.114 GB, free: 9.602 MB / 0.7605 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001815/0.2414, allocations: 0.8286 MB / 1.115 GB, free: 8.766 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.2414, allocations: 8.125 kB / 1.115 GB, free: 8.758 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.2414, allocations: 8 kB / 1.115 GB, free: 8.75 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.2415, allocations: 4 kB / 1.115 GB, free: 8.746 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.2418, allocations: 47.83 kB / 1.115 GB, free: 8.699 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.2418, allocations: 4 kB / 1.115 GB, free: 8.695 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00045/0.2423, allocations: 31.69 kB / 1.115 GB, free: 8.664 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005279/0.2428, allocations: 272 kB / 1.115 GB, free: 8.398 MB / 0.7605 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.0003477/0.2432, allocations: 189.6 kB / 1.116 GB, free: 8.203 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-05/0.2433, allocations: 31.66 kB / 1.116 GB, free: 8.172 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.2434, allocations: 34.19 kB / 1.116 GB, free: 8.141 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.2434, allocations: 11.98 kB / 1.116 GB, free: 8.129 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2435, allocations: 0 / 1.116 GB, free: 8.129 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.776e-05/0.2436, allocations: 104.7 kB / 1.116 GB, free: 8.008 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.698e-05/0.2437, allocations: 12.27 kB / 1.116 GB, free: 7.996 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.2439, allocations: 8 kB / 1.116 GB, free: 7.988 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.2441, allocations: 47.94 kB / 1.116 GB, free: 7.941 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002124/0.2462, allocations: 1.139 MB / 1.117 GB, free: 6.797 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001926/0.2482, allocations: 1.195 MB / 1.118 GB, free: 5.582 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008159/0.249, allocations: 387.7 kB / 1.118 GB, free: 5.203 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002341/0.2493, allocations: 168.5 kB / 1.119 GB, free: 5.043 MB / 0.7605 GB Notification: Performance of Backend: time 7.71e-07/0.2493, allocations: 4 kB / 1.119 GB, free: 5.039 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.2509, allocations: 0.4905 MB / 1.119 GB, free: 4.543 MB / 0.7605 GB Notification: Performance of SimCode: time 0.002555/0.2535, allocations: 1.106 MB / 1.12 GB, free: 3.391 MB / 0.7605 GB Notification: Performance of Templates: time 0.01813/0.2717, allocations: 6.516 MB / 1.127 GB, free: 12.94 MB / 0.7761 GB