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.Logical.Validation.Toggle.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.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01055/0.01056, allocations: 220.3 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.001126/0.001125, allocations: 178.7 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.985/3.985, allocations: 389.1 MB / 405.9 MB, free: 11.82 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.034/4.034, allocations: 472.3 MB / 0.9018 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0008374/0.0008379, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1656, allocations: 98.72 MB / 1.104 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.00134/0.167, allocations: 1.19 MB / 1.105 GB, free: 40.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1682, allocations: 415.9 kB / 1.106 GB, free: 40.42 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.658e-05/0.1683, allocations: 4 kB / 1.106 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.722e-05/0.1684, allocations: 4.969 kB / 1.106 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.848e-05/0.1685, allocations: 15.91 kB / 1.106 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.1688, allocations: 125.9 kB / 1.106 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.1691, allocations: 299.5 kB / 1.106 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.1692, allocations: 45.88 kB / 1.106 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.1694, allocations: 131.7 kB / 1.106 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.1695, allocations: 119.6 kB / 1.106 GB, free: 39.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.263e-05/0.1696, allocations: 16 kB / 1.106 GB, free: 39.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.8e-05/0.1696, allocations: 16 kB / 1.106 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.463e-05/0.1697, allocations: 87.78 kB / 1.106 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.477e-05/0.1698, allocations: 64.23 kB / 1.106 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.17, allocations: 227.4 kB / 1.107 GB, free: 39.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.524e-06/0.17, allocations: 7.875 kB / 1.107 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.298e-06/0.1701, allocations: 0 / 1.107 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.722e-06/0.1701, allocations: 0 / 1.107 GB, free: 39.27 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007746/0.1709, allocations: 0.4991 MB / 1.107 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.1709, allocations: 12.03 kB / 1.107 GB, free: 38.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.454e-05/0.171, allocations: 39.75 kB / 1.107 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.1714, allocations: 273.2 kB / 1.108 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/0.1717, allocations: 364.4 kB / 1.108 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.157e-05/0.1718, allocations: 35.98 kB / 1.108 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005378/0.1723, allocations: 262.3 kB / 1.108 GB, free: 37.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1724, allocations: 0.5312 kB / 1.108 GB, free: 37.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.27e-05/0.1724, allocations: 11.98 kB / 1.108 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.365e-06/0.1724, allocations: 11.14 kB / 1.108 GB, free: 37.63 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/0.1729, allocations: 168.4 kB / 1.108 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.174, allocations: 0.601 MB / 1.109 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009545/0.175, allocations: 345.9 kB / 1.109 GB, free: 36.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/0.1753, allocations: 137.1 kB / 1.109 GB, free: 36.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.1753, allocations: 192 / 1.109 GB, free: 36.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008748/0.1762, allocations: 0.5722 MB / 1.11 GB, free: 35.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 3.404e-06/0.1762, allocations: 0 / 1.11 GB, free: 35.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.001266/0.1775, allocations: 0.5573 MB / 1.11 GB, free: 35.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.1776, allocations: 55.84 kB / 1.111 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.1777, allocations: 154.9 kB / 1.111 GB, free: 34.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.502e-05/0.1778, allocations: 68.47 kB / 1.111 GB, free: 34.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.1779, allocations: 121.1 kB / 1.111 GB, free: 34.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.955e-05/0.178, allocations: 114.8 kB / 1.111 GB, free: 34.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.178, allocations: 8 kB / 1.111 GB, free: 34.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.1781, allocations: 346.8 kB / 1.111 GB, free: 34.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/0.1785, allocations: 169.2 kB / 1.111 GB, free: 34.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/0.179, allocations: 313.7 kB / 1.112 GB, free: 33.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/0.1793, allocations: 124.6 kB / 1.112 GB, free: 33.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.821e-06/0.1793, allocations: 0 / 1.112 GB, free: 33.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009614/0.1803, allocations: 485.3 kB / 1.112 GB, free: 33.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1803, allocations: 8 kB / 1.112 GB, free: 33.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1803, allocations: 4 kB / 1.112 GB, free: 33.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.1804, allocations: 8 kB / 1.112 GB, free: 33.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.1806, allocations: 51.16 kB / 1.112 GB, free: 33.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.1806, allocations: 11.94 kB / 1.112 GB, free: 33.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.1808, allocations: 51.58 kB / 1.112 GB, free: 33.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.052e-05/0.1809, allocations: 24 kB / 1.113 GB, free: 33.06 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 80 ($PRE.falCle.clr,$PRE.falCle.scenario,$PRE.truCle.clr,$PRE.truCle.scenario,$PRE.iniFalOut.clr,$PRE.iniFalOut.scenario,$PRE.iniTruOut.clr,$PRE.iniTruOut.scenario,$PRE.swiCleInp.clr,$PRE.swiCleInp.scenario,$PRE.swiCleInp1.clr,$PRE.swiCleInp1.scenario,$whenCondition26,$whenCondition25,tru.y,fal.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.falCle.u,falCle.u,$PRE.falCle.y,falCle.y,falCle.scenario,$PRE.truCle.u,truCle.u,$PRE.truCle.y,truCle.y,truCle.scenario,$PRE.iniFalOut.u,iniFalOut.u,$PRE.iniFalOut.y,iniFalOut.y,iniFalOut.scenario,$PRE.iniTruOut.u,iniTruOut.u,$PRE.iniTruOut.y,iniTruOut.y,iniTruOut.scenario,$PRE.swiCleInp.u,swiCleInp.u,swiCleInp.clr,$PRE.swiCleInp.y,swiCleInp.y,swiCleInp.scenario,$PRE.swiCleInp1.u,swiCleInp1.u,swiCleInp1.clr,$PRE.swiCleInp1.y,swiCleInp1.y,swiCleInp1.scenario,$PRE.cleInp.pulseStart,cleInp.pulseStart,$PRE.togInp.pulseStart,togInp.pulseStart,iniTruOut.clr,iniFalOut.clr,falCle.clr,truCle.clr) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.0002221/0.1811, allocations: 191.6 kB / 1.113 GB, free: 32.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-05/0.1812, allocations: 27.72 kB / 1.113 GB, free: 32.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.229e-05/0.1813, allocations: 42.61 kB / 1.113 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.498e-06/0.1814, allocations: 4 kB / 1.113 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.937e-06/0.1814, allocations: 0 / 1.113 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.4e-06/0.1814, allocations: 2.594 kB / 1.113 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.183, allocations: 0.9577 MB / 1.114 GB, free: 31.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.141e-06/0.183, allocations: 0 / 1.114 GB, free: 31.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.257e-05/0.1831, allocations: 17.34 kB / 1.114 GB, free: 31.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.723e-06/0.1831, allocations: 0 / 1.114 GB, free: 31.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.462e-05/0.1832, allocations: 27.95 kB / 1.114 GB, free: 31.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.187e-06/0.1832, allocations: 0 / 1.114 GB, free: 31.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2e-06/0.1832, allocations: 3.938 kB / 1.114 GB, free: 31.74 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008781/0.1841, allocations: 0.5295 MB / 1.114 GB, free: 31.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.1842, allocations: 100.8 kB / 1.114 GB, free: 31.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.1843, allocations: 27.98 kB / 1.114 GB, free: 31.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.1845, allocations: 31.16 kB / 1.114 GB, free: 31.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002283/0.1848, allocations: 100.2 kB / 1.115 GB, free: 30.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.467e-05/0.1848, allocations: 39.95 kB / 1.115 GB, free: 30.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.752e-05/0.1849, allocations: 107.6 kB / 1.115 GB, free: 30.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.54e-07/0.1849, allocations: 0 / 1.115 GB, free: 30.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00055/0.1855, allocations: 91.98 kB / 1.115 GB, free: 30.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 48 (swiCleInp1.clr,swiCleInp.clr,$whenCondition26,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,falCle.u,falCle.y,falCle.scenario,truCle.u,truCle.y,truCle.scenario,iniFalOut.u,iniFalOut.y,iniFalOut.scenario,iniTruOut.u,iniTruOut.y,iniTruOut.scenario,swiCleInp.u,swiCleInp.y,swiCleInp.scenario,swiCleInp1.u,swiCleInp1.y,swiCleInp1.scenario,cleInp.pulseStart,togInp.pulseStart) * Number of discrete states: 12 (iniFalOut.u,iniFalOut.y,iniTruOut.u,iniTruOut.y,falCle.u,falCle.y,truCle.u,truCle.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * 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.0002002/0.1857, allocations: 154.9 kB / 1.115 GB, free: 30.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009541/0.1867, allocations: 443 kB / 1.115 GB, free: 30.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.692e-06/0.1867, allocations: 0 / 1.115 GB, free: 30.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004521/0.1871, allocations: 230.4 kB / 1.116 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.1876, allocations: 43.42 kB / 1.116 GB, free: 29.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.1888, allocations: 0.5248 MB / 1.116 GB, free: 29.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.189, allocations: 0.7486 MB / 1.117 GB, free: 28.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002303/0.1893, allocations: 50.73 kB / 1.117 GB, free: 28.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/0.1895, allocations: 51.39 kB / 1.117 GB, free: 28.43 MB / 0.6042 GB Notification: Performance of SimCode: time 1.645e-06/0.1896, allocations: 0 / 1.117 GB, free: 28.43 MB / 0.6042 GB Notification: Performance of Templates: time 0.01019/0.1998, allocations: 4.442 MB / 1.121 GB, free: 24.2 MB / 0.6042 GB