Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Sources.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.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004319/0.004323, allocations: 234.3 kB / 15.8 MB, free: 6.285 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: 179.4 kB / 16.68 MB, free: 5.449 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 4.181/4.181, allocations: 389.1 MB / 406.5 MB, free: 11.84 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.153/4.153, allocations: 472.3 MB / 0.9024 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004996, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.17, allocations: 98.72 MB / 1.105 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001609/0.1716, allocations: 1.121 MB / 1.106 GB, free: 40.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007049/0.1724, allocations: 268 kB / 1.106 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.405e-05/0.1724, allocations: 3.938 kB / 1.106 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.1726, allocations: 7.922 kB / 1.106 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.2e-05/0.1726, allocations: 15.88 kB / 1.106 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.173, allocations: 77.16 kB / 1.106 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.1733, allocations: 196 kB / 1.106 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.932e-05/0.1734, allocations: 5.125 kB / 1.106 GB, free: 40.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.434e-05/0.1735, allocations: 83.81 kB / 1.106 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.1737, allocations: 99.75 kB / 1.106 GB, free: 40.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.054e-05/0.1738, allocations: 11.94 kB / 1.106 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.925e-05/0.1738, allocations: 8 kB / 1.106 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.517e-05/0.1739, allocations: 75.78 kB / 1.107 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.935e-05/0.174, allocations: 61.42 kB / 1.107 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.1742, allocations: 175.6 kB / 1.107 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1742, allocations: 4 kB / 1.107 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1742, allocations: 0 / 1.107 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.1743, allocations: 0 / 1.107 GB, free: 39.86 MB / 0.6042 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.001209/0.1755, allocations: 0.6239 MB / 1.107 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.1755, allocations: 8.031 kB / 1.107 GB, free: 39.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.669e-05/0.1756, allocations: 31.67 kB / 1.107 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.176, allocations: 257.4 kB / 1.108 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.176, allocations: 20.27 kB / 1.108 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/0.1761, allocations: 16 kB / 1.108 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007502/0.1769, allocations: 458.3 kB / 1.108 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1769, allocations: 3.812 kB / 1.108 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.1769, allocations: 8 kB / 1.108 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.177, allocations: 7.953 kB / 1.108 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005522/0.1775, allocations: 323.7 kB / 1.108 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007892/0.1783, allocations: 0.5645 MB / 1.109 GB, free: 37.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.1799, allocations: 1.031 MB / 1.11 GB, free: 36.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.181, allocations: 0.6539 MB / 1.111 GB, free: 35.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.216e-05/0.1811, allocations: 4 kB / 1.111 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000824/0.1819, allocations: 490.9 kB / 1.111 GB, free: 35.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 3.376e-06/0.1819, allocations: 0 / 1.111 GB, free: 35.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.001981/0.1839, allocations: 1.109 MB / 1.112 GB, free: 34.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.184, allocations: 136 kB / 1.112 GB, free: 33.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.1843, allocations: 264.8 kB / 1.113 GB, free: 33.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.1844, allocations: 29.7 kB / 1.113 GB, free: 33.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.1845, allocations: 125.1 kB / 1.113 GB, free: 33.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.777e-05/0.1846, allocations: 79.14 kB / 1.113 GB, free: 33.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.1846, allocations: 8 kB / 1.113 GB, free: 33.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.421e-05/0.1847, allocations: 338.8 kB / 1.113 GB, free: 33.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005736/0.1853, allocations: 331.8 kB / 1.113 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005898/0.1859, allocations: 425.8 kB / 1.114 GB, free: 32.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006145/0.1865, allocations: 361.8 kB / 1.114 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.1865, allocations: 4 kB / 1.114 GB, free: 31.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001391/0.1879, allocations: 0.8241 MB / 1.115 GB, free: 31.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.188, allocations: 8 kB / 1.115 GB, free: 31.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.188, allocations: 4 kB / 1.115 GB, free: 31.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.188, allocations: 11.92 kB / 1.115 GB, free: 31.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.1883, allocations: 43.84 kB / 1.115 GB, free: 31.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.1883, allocations: 4 kB / 1.115 GB, free: 31.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.1888, allocations: 27.7 kB / 1.115 GB, free: 31.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003901/0.1892, allocations: 270.8 kB / 1.115 GB, free: 30.76 MB / 0.6042 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.0002999/0.1895, allocations: 199.2 kB / 1.116 GB, free: 30.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-05/0.1896, allocations: 27.62 kB / 1.116 GB, free: 30.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.848e-05/0.1897, allocations: 38.17 kB / 1.116 GB, free: 30.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.1897, allocations: 4 kB / 1.116 GB, free: 30.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1897, allocations: 0 / 1.116 GB, free: 30.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.1898, allocations: 110.4 kB / 1.116 GB, free: 30.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.453e-05/0.1899, allocations: 14.08 kB / 1.116 GB, free: 30.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.1901, allocations: 8 kB / 1.116 GB, free: 30.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.1903, allocations: 47.94 kB / 1.116 GB, free: 30.31 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001652/0.1919, allocations: 1.134 MB / 1.117 GB, free: 29.18 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001521/0.1935, allocations: 1.207 MB / 1.118 GB, free: 27.96 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006541/0.1942, allocations: 377.9 kB / 1.118 GB, free: 27.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002011/0.1944, allocations: 176 kB / 1.119 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of Backend: time 1.002e-06/0.1944, allocations: 0 / 1.119 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.1959, allocations: 0.4925 MB / 1.119 GB, free: 26.94 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002189/0.1981, allocations: 1.076 MB / 1.12 GB, free: 25.83 MB / 0.6042 GB Notification: Performance of Templates: time 0.01465/0.2128, allocations: 6.385 MB / 1.126 GB, free: 19.71 MB / 0.6042 GB