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.397/2.397, allocations: 253.2 MB / 260.6 MB, free: 7.504 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.00142/0.00142, allocations: 182.4 kB / 319.9 MB, free: 3.039 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.5 MB / 0.5708 GB, free: 15.22 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.001205/0.001205, allocations: 94.2 kB / 0.6751 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.225e-05/3.225e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2214, allocations: 106.3 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9793/1.201, allocations: 132 MB / 1.018 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00038/1.201, allocations: 73.12 kB / 1.018 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01357/1.215, allocations: 1.96 MB / 1.02 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.236e-06/1.215, allocations: 4 kB / 1.02 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.687e-05/1.215, allocations: 4 kB / 1.02 GB, free: 3.461 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.001387/1.216, allocations: 442.2 kB / 1.02 GB, free: 3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.461e-05/1.216, allocations: 12.02 kB / 1.02 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/1.217, allocations: 19.91 kB / 1.02 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/1.217, allocations: 185.9 kB / 1.02 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.541e-05/1.217, allocations: 11.98 kB / 1.02 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/1.217, allocations: 19.98 kB / 1.02 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004237/1.217, allocations: 82.36 kB / 1.02 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007207/1.218, allocations: 196.2 kB / 1.021 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/1.218, allocations: 0 / 1.021 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.779e-05/1.218, allocations: 15.53 kB / 1.021 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/1.218, allocations: 0 / 1.021 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/1.22, allocations: 0.4932 MB / 1.021 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/1.222, allocations: 311.1 kB / 1.021 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004348/1.222, allocations: 125 kB / 1.021 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/1.222, allocations: 352 / 1.021 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001845/1.224, allocations: 0.536 MB / 1.022 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=46): time 5.059e-06/1.224, allocations: 3.938 kB / 1.022 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of matching and sorting (n=46): time 0.001541/1.226, allocations: 389 kB / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.693e-05/1.226, allocations: 67.34 kB / 1.022 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/1.226, allocations: 123.5 kB / 1.023 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001691/1.226, allocations: 48.08 kB / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/1.227, allocations: 104.2 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.00021/1.227, allocations: 106.6 kB / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.138e-05/1.227, allocations: 0 / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002107/1.227, allocations: 333.5 kB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005448/1.228, allocations: 129.2 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006401/1.228, allocations: 204.8 kB / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/1.229, allocations: 86.27 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/1.229, allocations: 0 / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001318/1.23, allocations: 336.9 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/1.23, allocations: 17.34 kB / 1.024 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/1.23, allocations: 224 / 1.024 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.861e-05/1.23, allocations: 4 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/1.231, allocations: 31.48 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/1.231, allocations: 13.69 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004339/1.231, allocations: 11.98 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.628e-05/1.231, allocations: 19.75 kB / 1.024 GB, free: 15.6 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.0003269/1.232, allocations: 136.3 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/1.232, allocations: 35.47 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/1.232, allocations: 31.95 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/1.232, allocations: 4 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.795e-05/1.232, allocations: 7.984 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/1.232, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003254/1.235, allocations: 0.8774 MB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/1.235, allocations: 4 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/1.236, allocations: 15.23 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.708e-05/1.236, allocations: 4 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.345e-05/1.236, allocations: 20.34 kB / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.114e-05/1.236, allocations: 7.938 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.278e-06/1.236, allocations: 4 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/1.237, allocations: 0.5368 MB / 1.026 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/1.237, allocations: 100.8 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/1.238, allocations: 23.62 kB / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/1.238, allocations: 23.92 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004418/1.239, allocations: 106 kB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/1.239, allocations: 38.22 kB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001308/1.239, allocations: 97.14 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.62e-07/1.239, allocations: 0 / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008614/1.24, allocations: 63.92 kB / 1.026 GB, free: 13.65 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.000382/1.24, allocations: 146.8 kB / 1.026 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00129/1.242, allocations: 339.8 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.242, allocations: 0 / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007176/1.242, allocations: 207.4 kB / 1.027 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006382/1.243, allocations: 23.84 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/1.245, allocations: 378.1 kB / 1.027 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006179/1.246, allocations: 0.7426 MB / 1.028 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004148/1.246, allocations: 35.28 kB / 1.028 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003702/1.247, allocations: 53.89 kB / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of SimCode: time 1.593e-06/1.247, allocations: 0 / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of Templates: time 0.01691/1.263, allocations: 3.554 MB / 1.031 GB, free: 8.395 MB / 0.6511 GB