Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.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.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.728/2.728, allocations: 287.9 MB / 302.9 MB, free: 8.324 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.001411/0.00141, allocations: 180.2 kB / 371.4 MB, free: 10.68 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.065/2.065, allocations: 205.4 MB / 0.6301 GB, free: 10.37 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.001041/0.001041, allocations: 92.23 kB / 0.7434 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.0004679, allocations: 13.12 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1578, allocations: 115.3 MB / 0.9788 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.0008315/0.1586, allocations: 486 kB / 0.9792 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1603, allocations: 1.29 MB / 0.9805 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.1604, allocations: 0 / 0.9805 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.535e-05/0.1604, allocations: 11.86 kB / 0.9805 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.064e-05/0.1605, allocations: 11.98 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007918/0.1613, allocations: 267.2 kB / 0.9808 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.1615, allocations: 175.7 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1616, allocations: 45.08 kB / 0.981 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1618, allocations: 131.8 kB / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.1619, allocations: 107.7 kB / 0.9812 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.744e-05/0.162, allocations: 20 kB / 0.9812 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.197e-05/0.1621, allocations: 31.98 kB / 0.9813 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.1622, allocations: 59.78 kB / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.733e-05/0.1622, allocations: 57.64 kB / 0.9814 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.1625, allocations: 235.7 kB / 0.9816 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.64e-06/0.1625, allocations: 0 / 0.9816 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.015e-06/0.1625, allocations: 0 / 0.9816 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.493e-06/0.1625, allocations: 4 kB / 0.9816 GB, free: 25.22 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005348/0.1631, allocations: 480.6 kB / 0.9821 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1631, allocations: 12.02 kB / 0.9821 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.369e-05/0.1632, allocations: 23.91 kB / 0.9821 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006154/0.1639, allocations: 278.6 kB / 0.9824 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.1639, allocations: 19.98 kB / 0.9824 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.849e-05/0.164, allocations: 32 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.1644, allocations: 218 kB / 0.9826 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1645, allocations: 3.984 kB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.1645, allocations: 15.97 kB / 0.9826 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1645, allocations: 8 kB / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.1648, allocations: 91.88 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008725/0.1657, allocations: 0.5703 MB / 0.9833 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005137/0.1662, allocations: 253 kB / 0.9835 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.1662, allocations: 7.984 kB / 0.9835 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008088/0.167, allocations: 0.5351 MB / 0.9841 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 3.124e-06/0.1671, allocations: 0 / 0.9841 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.00114/0.1682, allocations: 0.5558 MB / 0.9846 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.1683, allocations: 59.41 kB / 0.9847 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.1684, allocations: 154.9 kB / 0.9848 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.65e-05/0.1685, allocations: 65.62 kB / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.1686, allocations: 113.2 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.753e-05/0.1687, allocations: 102.8 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.1687, allocations: 12 kB / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.869e-05/0.1688, allocations: 342.7 kB / 0.9854 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/0.1692, allocations: 181.1 kB / 0.9856 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/0.1697, allocations: 291.9 kB / 0.9859 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.17, allocations: 193.5 kB / 0.986 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.016e-06/0.1701, allocations: 0 / 0.986 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001053/0.1711, allocations: 0.5682 MB / 0.9866 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.833e-05/0.1712, allocations: 67.41 kB / 0.9867 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1712, allocations: 0 / 0.9867 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1712, allocations: 8 kB / 0.9867 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.815e-05/0.1713, allocations: 31.86 kB / 0.9867 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.1713, allocations: 7.984 kB / 0.9867 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004786/0.1718, allocations: 100 kB / 0.9868 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.52e-05/0.1719, allocations: 24 kB / 0.9868 GB, free: 19.56 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 70 ($PRE.falCleTruIni.clr,$PRE.falCleFalIni.clr,$PRE.truCleTruIni.clr,$PRE.truCleFalIni.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,fal.y,tru.y,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.falCleTruIni.u,falCleTruIni.u,$PRE.falCleTruIni.y,falCleTruIni.y,$PRE.falCleFalIni.u,falCleFalIni.u,$PRE.falCleFalIni.y,falCleFalIni.y,$PRE.truCleTruIni.u,truCleTruIni.u,$PRE.truCleTruIni.y,truCleTruIni.y,$PRE.truCleFalIni.u,truCleFalIni.u,$PRE.truCleFalIni.y,truCleFalIni.y,$PRE.swiCleInp.u,swiCleInp.u,swiCleInp.clr,$PRE.swiCleInp.y,swiCleInp.y,$PRE.swiCleInp1.u,swiCleInp1.u,swiCleInp1.clr,$PRE.swiCleInp1.y,swiCleInp1.y,$PRE.cleInp.y,cleInp.y,$PRE.togInp.y,togInp.y,truCleFalIni.clr,truCleTruIni.clr,falCleFalIni.clr,falCleTruIni.clr) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 2 * 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.0002053/0.1721, allocations: 179 kB / 0.987 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.1722, allocations: 31.66 kB / 0.987 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.484e-05/0.1723, allocations: 38.31 kB / 0.9871 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.829e-06/0.1723, allocations: 4 kB / 0.9871 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.746e-06/0.1723, allocations: 3.938 kB / 0.9871 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.1723, allocations: 3.984 kB / 0.9871 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.1737, allocations: 0.882 MB / 0.9879 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.026e-06/0.1738, allocations: 0 / 0.9879 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.892e-05/0.1738, allocations: 11.94 kB / 0.9879 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.297e-06/0.1738, allocations: 4 kB / 0.988 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/0.1739, allocations: 23.97 kB / 0.988 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.171e-06/0.1739, allocations: 0 / 0.988 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.756e-06/0.1739, allocations: 11.97 kB / 0.988 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007937/0.1747, allocations: 0.5305 MB / 0.9885 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.1748, allocations: 96.77 kB / 0.9886 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.1749, allocations: 27.98 kB / 0.9886 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.175, allocations: 15.98 kB / 0.9886 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/0.1752, allocations: 91.81 kB / 0.9887 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.1753, allocations: 31.97 kB / 0.9888 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.813e-05/0.1754, allocations: 108.9 kB / 0.9889 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.82e-07/0.1754, allocations: 0 / 0.9889 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005365/0.1759, allocations: 99.98 kB / 0.989 GB, free: 17.29 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: 44 (swiCleInp1.clr,swiCleInp.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,falCleTruIni.u,falCleTruIni.y,falCleFalIni.u,falCleFalIni.y,truCleTruIni.u,truCleTruIni.y,truCleFalIni.u,truCleFalIni.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y,cleInp.y,togInp.y) * Number of discrete states: 12 (falCleFalIni.u,falCleFalIni.y,falCleTruIni.u,falCleTruIni.y,truCleTruIni.u,truCleTruIni.y,truCleFalIni.u,truCleFalIni.y,swiCleInp1.u,swiCleInp1.y,swiCleInp.u,swiCleInp.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * 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.0002093/0.1762, allocations: 139.2 kB / 0.9891 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000914/0.1771, allocations: 0.5603 MB / 0.9896 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.873e-06/0.1771, allocations: 0 / 0.9896 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003804/0.1775, allocations: 260.1 kB / 0.9899 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.1778, allocations: 35.81 kB / 0.9899 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008468/0.1787, allocations: 474.9 kB / 0.9904 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.1789, allocations: 0.7374 MB / 0.9911 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001645/0.179, allocations: 38.97 kB / 0.9911 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.1792, allocations: 55.39 kB / 0.9912 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of SimCode: time 1.436e-06/0.1792, allocations: 0 / 0.9912 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of Templates: time 0.009793/0.189, allocations: 4.427 MB / 0.9955 GB, free: 10.52 MB / 0.6198 GB