Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.604/2.604, allocations: 287.9 MB / 302.9 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001442, allocations: 178.1 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 94.86 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004692/0.0004695, allocations: 11.56 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1624, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0006747/0.1631, allocations: 349.8 kB / 0.9791 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004049/0.1636, allocations: 176.5 kB / 0.9793 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.282e-05/0.1636, allocations: 7.938 kB / 0.9793 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.817e-05/0.1637, allocations: 0 / 0.9793 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.623e-05/0.1638, allocations: 7.938 kB / 0.9793 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.164, allocations: 31.95 kB / 0.9793 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.207e-05/0.1641, allocations: 35.84 kB / 0.9793 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.798e-05/0.1642, allocations: 19.92 kB / 0.9794 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.106e-05/0.1642, allocations: 19.98 kB / 0.9794 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.766e-05/0.1643, allocations: 23.91 kB / 0.9794 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1643, allocations: 0 / 0.9794 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.1643, allocations: 4 kB / 0.9794 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.049e-05/0.1644, allocations: 15.91 kB / 0.9794 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.1644, allocations: 37.64 kB / 0.9795 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.377e-05/0.1645, allocations: 43.91 kB / 0.9795 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.222e-06/0.1645, allocations: 0 / 0.9795 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.95e-06/0.1645, allocations: 0 / 0.9795 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.932e-06/0.1646, allocations: 4 kB / 0.9795 GB, free: 27.41 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004108/0.165, allocations: 397 kB / 0.9799 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.165, allocations: 8.031 kB / 0.9799 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.1651, allocations: 7.906 kB / 0.9799 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.1652, allocations: 179 kB / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.1652, allocations: 7.938 kB / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.1653, allocations: 8 kB / 0.9801 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1654, allocations: 81.58 kB / 0.9802 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.355e-06/0.1655, allocations: 7.938 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1655, allocations: 4 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.197e-06/0.1655, allocations: 0 / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.786e-05/0.1656, allocations: 39.97 kB / 0.9802 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.1662, allocations: 348.6 kB / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.1664, allocations: 114.5 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.1664, allocations: 8.031 kB / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.1666, allocations: 87.38 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.702e-06/0.1666, allocations: 0 / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003251/0.167, allocations: 153.5 kB / 0.9809 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.167, allocations: 55.78 kB / 0.9809 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.836e-05/0.1671, allocations: 125.8 kB / 0.9811 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.1671, allocations: 25.7 kB / 0.9811 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.397e-05/0.1672, allocations: 104.1 kB / 0.9812 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.1672, allocations: 27.84 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.54e-06/0.1672, allocations: 4 kB / 0.9812 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.452e-05/0.1673, allocations: 322.8 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.158e-05/0.1674, allocations: 31.98 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.054e-05/0.1675, allocations: 58.53 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.902e-05/0.1676, allocations: 39.98 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.446e-06/0.1676, allocations: 0 / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002251/0.1678, allocations: 129.5 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1678, allocations: 4 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.705e-06/0.1679, allocations: 0 / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1679, allocations: 4 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.542e-05/0.168, allocations: 7.984 kB / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.86e-06/0.168, allocations: 3.938 kB / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.424e-05/0.1681, allocations: 11.89 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.1682, allocations: 31.95 kB / 0.9818 GB, free: 24.79 MB / 0.6198 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 8.972e-05/0.1683, allocations: 127 kB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.1683, allocations: 3.906 kB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.1683, allocations: 12.38 kB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1684, allocations: 0 / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.166e-06/0.1684, allocations: 0 / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.09e-06/0.1684, allocations: 0 / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.1688, allocations: 410.4 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.849e-06/0.1688, allocations: 4 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.754e-05/0.1689, allocations: 11.92 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.326e-06/0.1689, allocations: 0 / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.1689, allocations: 11.94 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.472e-06/0.1689, allocations: 4 kB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.63e-06/0.1689, allocations: 3.953 kB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.1692, allocations: 215.4 kB / 0.9826 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.527e-05/0.1692, allocations: 85.11 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1692, allocations: 7.938 kB / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.934e-05/0.1693, allocations: 4 kB / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.1694, allocations: 11.98 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.1694, allocations: 31.89 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.068e-05/0.1695, allocations: 95.27 kB / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.69e-07/0.1695, allocations: 0 / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003165/0.1698, allocations: 19.94 kB / 0.9828 GB, free: 23.65 MB / 0.6198 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 9.816e-05/0.17, allocations: 104.1 kB / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.1702, allocations: 87.89 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.824e-06/0.1702, allocations: 0 / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.1703, allocations: 47.91 kB / 0.9831 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.1707, allocations: 61.62 kB / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.1711, allocations: 209.2 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.1713, allocations: 0.6965 MB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.575e-05/0.1714, allocations: 16.44 kB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.1714, allocations: 19.42 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of SimCode: time 1.381e-06/0.1714, allocations: 3.938 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of Templates: time 0.004311/0.1757, allocations: 1.522 MB / 0.9855 GB, free: 20.86 MB / 0.6198 GB