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.5/2.5, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002304/0.002304, allocations: 187.8 kB / 325.6 MB, free: 2.836 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.658/2.658, allocations: 205.4 MB / 0.5766 GB, free: 20.72 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.001184/0.001183, allocations: 86.42 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006547/0.0006543, allocations: 15.03 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2899, allocations: 106.2 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2393/0.5293, allocations: 131.8 MB / 1.028 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.5296, allocations: 71.95 kB / 1.028 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008722/0.5384, allocations: 1.978 MB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.415e-06/0.5384, allocations: 0 / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.5385, allocations: 4 kB / 1.03 GB, free: 11.36 MB / 0.6823 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.0009861/0.5395, allocations: 459 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.5395, allocations: 8.031 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.5396, allocations: 23.89 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.5398, allocations: 174.9 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.454e-05/0.5399, allocations: 15.98 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.096e-05/0.54, allocations: 31.98 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005891/0.5406, allocations: 217.4 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.5406, allocations: 0 / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/0.5407, allocations: 23.95 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.5407, allocations: 4 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/0.541, allocations: 92.59 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.5424, allocations: 0.5353 MB / 1.031 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.5436, allocations: 330.6 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.5437, allocations: 352 / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/0.5449, allocations: 0.5724 MB / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 3.085e-06/0.5449, allocations: 0 / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.001574/0.5465, allocations: 0.5455 MB / 1.033 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.5466, allocations: 83 kB / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.5468, allocations: 131.2 kB / 1.033 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.5469, allocations: 61.69 kB / 1.033 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.185e-05/0.547, allocations: 101 kB / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.5471, allocations: 102.9 kB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.5472, allocations: 12.22 kB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5474, allocations: 334.8 kB / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004142/0.5478, allocations: 149 kB / 1.034 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/0.5483, allocations: 221.8 kB / 1.034 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/0.5486, allocations: 103.6 kB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.5486, allocations: 0 / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001042/0.5497, allocations: 390.6 kB / 1.034 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.5497, allocations: 12.2 kB / 1.034 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.5498, allocations: 4 kB / 1.034 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.5498, allocations: 4 kB / 1.034 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.55, allocations: 31.86 kB / 1.034 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.55, allocations: 4 kB / 1.034 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.5503, allocations: 27.98 kB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/0.5504, allocations: 16 kB / 1.034 GB, free: 6.367 MB / 0.6823 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 () * Number of clocked 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.0003113/0.5507, allocations: 167 kB / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.394e-05/0.5508, allocations: 31.7 kB / 1.034 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.5509, allocations: 46.27 kB / 1.035 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.551, allocations: 4 kB / 1.035 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.551, allocations: 0 / 1.035 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.551, allocations: 3.984 kB / 1.035 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.5533, allocations: 0.9689 MB / 1.035 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.5533, allocations: 8.031 kB / 1.035 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.428e-05/0.5534, allocations: 15.92 kB / 1.036 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.5535, allocations: 4 kB / 1.036 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.817e-05/0.5535, allocations: 23.97 kB / 1.036 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.5536, allocations: 0 / 1.036 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.5536, allocations: 4 kB / 1.036 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.5548, allocations: 0.5829 MB / 1.036 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.71e-05/0.5549, allocations: 96.91 kB / 1.036 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.555, allocations: 31.94 kB / 1.036 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/0.5554, allocations: 27.98 kB / 1.036 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003048/0.5557, allocations: 99.78 kB / 1.036 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.162e-05/0.5558, allocations: 35.97 kB / 1.036 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001122/0.5559, allocations: 105.8 kB / 1.036 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5559, allocations: 0 / 1.036 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005502/0.5565, allocations: 79.98 kB / 1.037 GB, free: 3.887 MB / 0.6823 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) * Number of clocked states: 0 () * 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.0002694/0.5568, allocations: 155 kB / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.5578, allocations: 370.8 kB / 1.037 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5578, allocations: 3.938 kB / 1.037 GB, free: 3.359 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005906/0.5584, allocations: 228.4 kB / 1.037 GB, free: 3.137 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.5589, allocations: 36.09 kB / 1.037 GB, free: 3.102 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.5605, allocations: 0.5405 MB / 1.038 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.5609, allocations: 0.7426 MB / 1.039 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002489/0.5611, allocations: 38.95 kB / 1.039 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.5614, allocations: 43.41 kB / 1.039 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of SimCode: time 1.523e-06/0.5614, allocations: 4 kB / 1.039 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of Templates: time 0.01171/0.5731, allocations: 3.65 MB / 1.042 GB, free: 14.04 MB / 0.698 GB