Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.495/2.495, allocations: 252.6 MB / 265.2 MB, free: 5.703 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001465, allocations: 183.8 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.327/2.327, allocations: 205.4 MB / 0.5754 GB, free: 10.49 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001145, allocations: 94.69 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.275e-05/3.277e-05, allocations: 12 kB / 0.7912 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2111, allocations: 106.2 MB / 0.8949 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8853/1.096, allocations: 131.8 MB / 1.024 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/1.097, allocations: 72.27 kB / 1.024 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009986/1.107, allocations: 1.984 MB / 1.026 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.903e-06/1.107, allocations: 8 kB / 1.026 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.072e-05/1.107, allocations: 0 / 1.026 GB, free: 0.9492 MB / 0.6355 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.0009332/1.108, allocations: 432 kB / 1.026 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/1.108, allocations: 15.97 kB / 1.026 GB, free: 492 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.479e-05/1.108, allocations: 19.66 kB / 1.026 GB, free: 476 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/1.108, allocations: 186.8 kB / 1.026 GB, free: 248 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/1.108, allocations: 19.88 kB / 1.026 GB, free: 232 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.908e-05/1.108, allocations: 30.42 kB / 1.026 GB, free: 208 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005545/1.109, allocations: 218.4 kB / 1.026 GB, free: 40 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/1.109, allocations: 0 / 1.026 GB, free: 40 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/1.109, allocations: 15.03 kB / 1.026 GB, free: 28 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/1.109, allocations: 4 kB / 1.026 GB, free: 24 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/1.109, allocations: 92.3 kB / 1.027 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/1.111, allocations: 0.5381 MB / 1.027 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/1.112, allocations: 324 kB / 1.027 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/1.112, allocations: 140.2 kB / 1.028 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/1.112, allocations: 4 kB / 1.028 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/1.114, allocations: 0.5502 MB / 1.028 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 3.376e-06/1.114, allocations: 0 / 1.028 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=46): time 0.001189/1.115, allocations: 426.3 kB / 1.028 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/1.115, allocations: 55.41 kB / 1.029 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/1.115, allocations: 141.6 kB / 1.029 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/1.115, allocations: 59 kB / 1.029 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.06e-05/1.115, allocations: 102.9 kB / 1.029 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/1.115, allocations: 107.3 kB / 1.029 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/1.116, allocations: 13.88 kB / 1.029 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.116, allocations: 330.9 kB / 1.029 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/1.116, allocations: 136.8 kB / 1.029 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004722/1.117, allocations: 224.4 kB / 1.03 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/1.117, allocations: 92.14 kB / 1.03 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/1.117, allocations: 7.938 kB / 1.03 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009478/1.118, allocations: 385 kB / 1.03 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/1.118, allocations: 8.219 kB / 1.03 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.118, allocations: 0 / 1.03 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/1.118, allocations: 16.12 kB / 1.03 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/1.118, allocations: 27.23 kB / 1.03 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/1.118, allocations: 11.92 kB / 1.03 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003172/1.118, allocations: 30.17 kB / 1.03 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-05/1.119, allocations: 19.38 kB / 1.03 GB, free: 12.86 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.falCle.clr,$PRE.truCle.clr,$PRE.iniFalOut.clr,$PRE.iniTruOut.clr,$PRE.swiCleInp.clr,$PRE.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,$PRE.falCle.u,falCle.u,falCle.clr,$PRE.falCle.y,falCle.y,$PRE.truCle.u,truCle.u,truCle.clr,$PRE.truCle.y,truCle.y,$PRE.iniFalOut.u,iniFalOut.u,iniFalOut.clr,$PRE.iniFalOut.y,iniFalOut.y,$PRE.iniTruOut.u,iniTruOut.u,iniTruOut.clr,$PRE.iniTruOut.y,iniTruOut.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.pulseStart,cleInp.pulseStart,$PRE.togInp.pulseStart,togInp.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.000223/1.119, allocations: 156.3 kB / 1.03 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/1.119, allocations: 31.66 kB / 1.03 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/1.119, allocations: 40.25 kB / 1.03 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/1.119, allocations: 4 kB / 1.03 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.119, allocations: 0 / 1.03 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/1.119, allocations: 3.984 kB / 1.03 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/1.121, allocations: 0.9652 MB / 1.031 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/1.121, allocations: 0 / 1.031 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.629e-05/1.121, allocations: 15.92 kB / 1.031 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/1.121, allocations: 8.125 kB / 1.031 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/1.122, allocations: 22.72 kB / 1.031 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/1.122, allocations: 4 kB / 1.031 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/1.122, allocations: 0 / 1.031 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/1.123, allocations: 0.5769 MB / 1.032 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/1.123, allocations: 96.88 kB / 1.032 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/1.123, allocations: 30.23 kB / 1.032 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003079/1.123, allocations: 27.41 kB / 1.032 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003137/1.124, allocations: 102 kB / 1.032 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/1.124, allocations: 34.53 kB / 1.032 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001076/1.124, allocations: 108.3 kB / 1.032 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.124, allocations: 0 / 1.032 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005205/1.124, allocations: 78.42 kB / 1.032 GB, free: 10.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 46 (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,truCle.u,truCle.y,iniFalOut.u,iniFalOut.y,iniTruOut.u,iniTruOut.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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.0002654/1.125, allocations: 156.8 kB / 1.033 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009344/1.126, allocations: 364 kB / 1.033 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.126, allocations: 0 / 1.033 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005203/1.126, allocations: 226.2 kB / 1.033 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/1.127, allocations: 29.7 kB / 1.033 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/1.128, allocations: 413.3 kB / 1.034 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/1.128, allocations: 0.7465 MB / 1.034 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002128/1.129, allocations: 38.95 kB / 1.034 GB, free: 9.059 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/1.129, allocations: 42.66 kB / 1.034 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of SimCode: time 8.42e-07/1.129, allocations: 0 / 1.034 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of Templates: time 0.01181/1.141, allocations: 3.673 MB / 1.038 GB, free: 5.383 MB / 0.6511 GB