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.004294/0.004299, allocations: 231.2 kB / 15.82 MB, free: 6.293 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.001175/0.001175, allocations: 175.3 kB / 16.7 MB, free: 5.453 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.072/4.072, allocations: 389.1 MB / 406.5 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.062/4.062, allocations: 472.3 MB / 0.9024 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006715/0.0006719, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1795, allocations: 98.73 MB / 1.105 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7709/0.9505, allocations: 124.9 MB / 1.227 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.9508, allocations: 73.7 kB / 1.227 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.009674/0.9605, allocations: 2.265 MB / 1.229 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.497e-06/0.9605, allocations: 0 / 1.229 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.9606, allocations: 10.27 kB / 1.229 GB, free: 26.89 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001047/0.9616, allocations: 493.8 kB / 1.229 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.9617, allocations: 12.03 kB / 1.229 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.9618, allocations: 36.89 kB / 1.229 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.962, allocations: 187.4 kB / 1.23 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003197/0.9623, allocations: 365.5 kB / 1.23 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.01e-05/0.9624, allocations: 36.05 kB / 1.23 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007695/0.9632, allocations: 266.2 kB / 1.23 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.9632, allocations: 3.828 kB / 1.23 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.052e-05/0.9633, allocations: 11.27 kB / 1.23 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.9633, allocations: 4 kB / 1.23 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005773/0.9639, allocations: 175.8 kB / 1.23 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.9654, allocations: 0.599 MB / 1.231 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.9669, allocations: 412.1 kB / 1.231 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004476/0.9673, allocations: 168.6 kB / 1.232 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/0.9674, allocations: 9.906 kB / 1.232 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001376/0.9688, allocations: 0.5828 MB / 1.232 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=52): time 3.196e-06/0.9688, allocations: 4 kB / 1.232 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=52): time 0.001736/0.9705, allocations: 0.6018 MB / 1.233 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.9706, allocations: 59.84 kB / 1.233 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.9708, allocations: 150.8 kB / 1.233 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.9709, allocations: 65.73 kB / 1.233 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.046e-05/0.971, allocations: 103.1 kB / 1.233 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.9712, allocations: 125 kB / 1.233 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.9712, allocations: 14.34 kB / 1.233 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.9714, allocations: 339.2 kB / 1.234 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/0.9719, allocations: 171.7 kB / 1.234 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005915/0.9725, allocations: 290.6 kB / 1.234 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.9728, allocations: 120.8 kB / 1.234 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.9728, allocations: 0 / 1.234 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001193/0.9741, allocations: 477.2 kB / 1.235 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.9741, allocations: 7.594 kB / 1.235 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.9741, allocations: 12.84 kB / 1.235 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.9741, allocations: 11.41 kB / 1.235 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.9744, allocations: 45.77 kB / 1.235 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/0.9744, allocations: 13.16 kB / 1.235 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.9748, allocations: 31.91 kB / 1.235 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/0.9748, allocations: 19.81 kB / 1.235 GB, free: 22.63 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 78 ($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,$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,falCle.clr,$PRE.falCle.y,falCle.y,falCle.scenario,$PRE.truCle.u,truCle.u,truCle.clr,$PRE.truCle.y,truCle.y,truCle.scenario,$PRE.iniFalOut.u,iniFalOut.u,iniFalOut.clr,$PRE.iniFalOut.y,iniFalOut.y,iniFalOut.scenario,$PRE.iniTruOut.u,iniTruOut.u,iniTruOut.clr,$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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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.00031/0.9752, allocations: 183.1 kB / 1.235 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.65e-05/0.9753, allocations: 28.89 kB / 1.235 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.9754, allocations: 46.58 kB / 1.235 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.9754, allocations: 7.953 kB / 1.235 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.9754, allocations: 0 / 1.235 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.9755, allocations: 7.812 kB / 1.235 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.9779, allocations: 1.038 MB / 1.236 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.9779, allocations: 0.75 kB / 1.236 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.978, allocations: 21.77 kB / 1.236 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.9781, allocations: 6.688 kB / 1.236 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.507e-05/0.9781, allocations: 22.7 kB / 1.236 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.9782, allocations: 4 kB / 1.236 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.9782, allocations: 4 kB / 1.236 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.9797, allocations: 0.5765 MB / 1.237 GB, free: 37.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.9798, allocations: 99.41 kB / 1.237 GB, free: 37.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.98, allocations: 28.62 kB / 1.237 GB, free: 37.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.9803, allocations: 30.73 kB / 1.237 GB, free: 37.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003099/0.9806, allocations: 112.8 kB / 1.237 GB, free: 37.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.582e-05/0.9807, allocations: 37.92 kB / 1.237 GB, free: 37.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001009/0.9808, allocations: 105.5 kB / 1.237 GB, free: 36.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9808, allocations: 0 / 1.237 GB, free: 36.98 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006147/0.9815, allocations: 89.36 kB / 1.237 GB, free: 36.92 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 52 (swiCleInp.clr,swiCleInp1.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,falCle.clr,iniFalOut.clr,iniTruOut.clr,truCle.clr) * Number of discrete states: 12 (iniTruOut.u,iniTruOut.y,iniFalOut.u,iniFalOut.y,truCle.u,truCle.y,falCle.u,falCle.y,swiCleInp1.u,swiCleInp1.y,swiCleInp.u,swiCleInp.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 44 * 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.0002368/0.9817, allocations: 155.4 kB / 1.237 GB, free: 36.79 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.9829, allocations: 445.9 kB / 1.238 GB, free: 36.52 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.9829, allocations: 0 / 1.238 GB, free: 36.52 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005983/0.9835, allocations: 251.8 kB / 1.238 GB, free: 36.37 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.9841, allocations: 48.22 kB / 1.238 GB, free: 36.35 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.9857, allocations: 0.5783 MB / 1.239 GB, free: 35.88 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.986, allocations: 0.7481 MB / 1.239 GB, free: 35.14 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000312/0.9863, allocations: 48.27 kB / 1.239 GB, free: 35.11 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/0.9867, allocations: 57.27 kB / 1.239 GB, free: 35.07 MB / 0.6355 GB Notification: Performance of SimCode: time 1.272e-06/0.9867, allocations: 0 / 1.239 GB, free: 35.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.01214/0.9988, allocations: 4.554 MB / 1.244 GB, free: 31.62 MB / 0.6355 GB