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.01868/0.01869, allocations: 223 kB / 15.17 MB, free: 5.93 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.002011/0.002011, allocations: 181.8 kB / 16.06 MB, free: 5.828 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.455/3.455, allocations: 389.1 MB / 405.9 MB, free: 67.63 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.582/4.582, allocations: 472.3 MB / 0.9018 GB, free: 87.61 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004758, allocations: 11.19 kB / 1.008 GB, free: 37.39 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1571, allocations: 98.73 MB / 1.104 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001754/0.1589, allocations: 1.119 MB / 1.105 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0006671/0.1596, allocations: 261.7 kB / 1.105 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.1596, allocations: 4 kB / 1.105 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 9.397e-05/0.1597, allocations: 11.86 kB / 1.105 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.286e-05/0.1598, allocations: 19.91 kB / 1.105 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.1602, allocations: 76.23 kB / 1.105 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000295/0.1605, allocations: 197.5 kB / 1.106 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.1606, allocations: 9.109 kB / 1.106 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.1607, allocations: 79.81 kB / 1.106 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.1609, allocations: 104.5 kB / 1.106 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.298e-05/0.1609, allocations: 12 kB / 1.106 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 4.125e-05/0.161, allocations: 8 kB / 1.106 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.1611, allocations: 70.52 kB / 1.106 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.839e-05/0.1612, allocations: 61.58 kB / 1.106 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.1614, allocations: 183.6 kB / 1.106 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1615, allocations: 0 / 1.106 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.241e-06/0.1615, allocations: 0 / 1.106 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.669e-06/0.1615, allocations: 0 / 1.106 GB, free: 9.617 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001079/0.1626, allocations: 0.622 MB / 1.107 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1626, allocations: 11.97 kB / 1.107 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.414e-05/0.1627, allocations: 31.62 kB / 1.107 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.1631, allocations: 257.7 kB / 1.107 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.1632, allocations: 12.28 kB / 1.107 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.352e-05/0.1632, allocations: 27.88 kB / 1.107 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008108/0.1641, allocations: 467.2 kB / 1.108 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1641, allocations: 0 / 1.108 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/0.1641, allocations: 8 kB / 1.108 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.56e-06/0.1641, allocations: 0 / 1.108 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000558/0.1647, allocations: 327.8 kB / 1.108 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000849/0.1656, allocations: 0.5624 MB / 1.108 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.1673, allocations: 1.025 MB / 1.109 GB, free: 6.066 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.1684, allocations: 0.6594 MB / 1.11 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.1684, allocations: 11.98 kB / 1.11 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008385/0.1693, allocations: 482 kB / 1.111 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=37): time 3.163e-06/0.1693, allocations: 0 / 1.111 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.002116/0.1714, allocations: 1.11 MB / 1.112 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.1716, allocations: 132.5 kB / 1.112 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/0.1719, allocations: 256.8 kB / 1.112 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.172, allocations: 37.7 kB / 1.112 GB, free: 3.309 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.1721, allocations: 125.1 kB / 1.112 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.1722, allocations: 79.08 kB / 1.112 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.1723, allocations: 12 kB / 1.112 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.1725, allocations: 346.8 kB / 1.113 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005678/0.1731, allocations: 328.7 kB / 1.113 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006652/0.1737, allocations: 422.4 kB / 1.113 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006499/0.1744, allocations: 358.6 kB / 1.114 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.582e-06/0.1744, allocations: 4 kB / 1.114 GB, free: 1.621 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001521/0.1759, allocations: 0.8287 MB / 1.114 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.176, allocations: 8 kB / 1.114 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.176, allocations: 4 kB / 1.114 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.176, allocations: 4 kB / 1.114 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.1763, allocations: 47.84 kB / 1.114 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.1763, allocations: 4 kB / 1.114 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.1766, allocations: 27.73 kB / 1.115 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004084/0.177, allocations: 268.1 kB / 1.115 GB, free: 440 kB / 0.5261 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.0002988/0.1773, allocations: 209.1 kB / 1.115 GB, free: 224 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.511e-05/0.1774, allocations: 23.72 kB / 1.115 GB, free: 200 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.39e-05/0.1775, allocations: 38.17 kB / 1.115 GB, free: 164 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.1776, allocations: 8 kB / 1.115 GB, free: 156 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.237e-06/0.1776, allocations: 0 / 1.115 GB, free: 156 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.639e-06/0.1776, allocations: 3.984 kB / 1.115 GB, free: 152 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/0.1804, allocations: 1.721 MB / 1.117 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.823e-06/0.1805, allocations: 0 / 1.117 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.64e-05/0.1805, allocations: 23.92 kB / 1.117 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.499e-06/0.1806, allocations: 0 / 1.117 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.731e-05/0.1806, allocations: 27.91 kB / 1.117 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.567e-06/0.1806, allocations: 0 / 1.117 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.481e-06/0.1806, allocations: 0 / 1.117 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.1822, allocations: 1.114 MB / 1.118 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.1824, allocations: 108.8 kB / 1.118 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-05/0.1824, allocations: 16.12 kB / 1.118 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/0.1828, allocations: 4 kB / 1.118 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.183, allocations: 59.89 kB / 1.118 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004117/0.1834, allocations: 271.4 kB / 1.118 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002293/0.1836, allocations: 176.5 kB / 1.118 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.31e-07/0.1837, allocations: 0 / 1.118 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006646/0.1843, allocations: 60 kB / 1.119 GB, free: 12.49 MB / 0.5417 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.0002015/0.1845, allocations: 142.8 kB / 1.119 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.1859, allocations: 0.7413 MB / 1.119 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.449e-06/0.1859, allocations: 256 / 1.119 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007491/0.1867, allocations: 408 kB / 1.12 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/0.1886, allocations: 308.5 kB / 1.12 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.1906, allocations: 1.025 MB / 1.121 GB, free: 9.848 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/0.1911, allocations: 0.7571 MB / 1.122 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004563/0.1916, allocations: 103.5 kB / 1.122 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.1918, allocations: 67.38 kB / 1.122 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of SimCode: time 1.794e-06/0.1918, allocations: 0 / 1.122 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of Templates: time 0.01838/0.2102, allocations: 8.147 MB / 1.13 GB, free: 0.8438 MB / 0.5417 GB