Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.022/5.022, allocations: 0.5623 GB / 0.5775 GB, free: 3.371 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002427/0.002427, allocations: 351.5 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.172/4.172, allocations: 410.7 MB / 1.113 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001877/0.001877, allocations: 179 kB / 1.226 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.0004871, allocations: 12 kB / 1.349 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7395/0.74, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2035/0.9436, allocations: 138.4 MB / 1.597 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.9439, allocations: 78.02 kB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01841/0.9623, allocations: 3.983 MB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.547e-06/0.9624, allocations: 1.812 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.9624, allocations: 4 kB / 1.6 GB, free: 141.8 MB / 0.8542 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.0007408/0.9631, allocations: 491 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.9632, allocations: 11.62 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.9633, allocations: 32.72 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.616e-05/0.9634, allocations: 167 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.193e-05/0.9635, allocations: 28.98 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.9636, allocations: 31.98 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000528/0.9642, allocations: 217.4 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.9642, allocations: 5.188 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.708e-05/0.9642, allocations: 11.98 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.9643, allocations: 5 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.9646, allocations: 103.3 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.9656, allocations: 0.5381 MB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00063/0.9663, allocations: 295.8 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.9666, allocations: 141.3 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.9666, allocations: 1.531 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.9677, allocations: 0.5624 MB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 4.709e-06/0.9677, allocations: 0 / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.001537/0.9693, allocations: 0.6173 MB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.9694, allocations: 59.83 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.9695, allocations: 136 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.9697, allocations: 66.44 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/0.9697, allocations: 109.9 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.9699, allocations: 106.9 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/0.9699, allocations: 12 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.97, allocations: 340.4 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/0.9705, allocations: 189.1 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/0.9711, allocations: 283 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.9716, allocations: 196.4 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.9716, allocations: 0 / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001337/0.973, allocations: 0.5705 MB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.537e-05/0.973, allocations: 74.98 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.9731, allocations: 0.7812 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.9731, allocations: 8 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.9732, allocations: 29.48 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.9733, allocations: 4 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007373/0.974, allocations: 84.22 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.653e-05/0.9741, allocations: 27.98 kB / 1.606 GB, free: 136.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.falCleTruIni.clr,$PRE.falCleFalIni.clr,$PRE.truCleTruIni.clr,$PRE.truCleFalIni.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition25,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.falCleTruIni.u,falCleTruIni.u,falCleTruIni.clr,$PRE.falCleTruIni.y,falCleTruIni.y,$PRE.falCleFalIni.u,falCleFalIni.u,falCleFalIni.clr,$PRE.falCleFalIni.y,falCleFalIni.y,$PRE.truCleTruIni.u,truCleTruIni.u,truCleTruIni.clr,$PRE.truCleTruIni.y,truCleTruIni.y,$PRE.truCleFalIni.u,truCleFalIni.u,truCleFalIni.clr,$PRE.truCleFalIni.y,truCleFalIni.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.y,cleInp.y,$PRE.togInp.y,togInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.0002915/0.9744, allocations: 184.9 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/0.9745, allocations: 23.81 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.9746, allocations: 42.27 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.9747, allocations: 4 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.9747, allocations: 0 / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.9747, allocations: 3.938 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.9766, allocations: 0.9587 MB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.9767, allocations: 5.281 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.647e-05/0.9768, allocations: 19.86 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.9768, allocations: 4 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.217e-05/0.9769, allocations: 25.38 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/0.9769, allocations: 4 kB / 1.607 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.9769, allocations: 3.953 kB / 1.607 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.9781, allocations: 0.5805 MB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.868e-05/0.9782, allocations: 96.91 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.9783, allocations: 27.98 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.9785, allocations: 8 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000275/0.9788, allocations: 104.8 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.839e-05/0.9789, allocations: 35.97 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.293e-05/0.979, allocations: 100.1 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.7e-07/0.979, allocations: 1.469 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006773/0.9797, allocations: 99.98 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 48 (swiCleInp1.clr,swiCleInp.clr,$whenCondition25,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,falCleTruIni.u,falCleTruIni.y,falCleFalIni.u,falCleFalIni.y,truCleTruIni.u,truCleTruIni.y,truCleFalIni.u,truCleFalIni.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y,cleInp.y,togInp.y,falCleFalIni.clr,falCleTruIni.clr,truCleFalIni.clr,truCleTruIni.clr) * Number of discrete states: 12 (truCleFalIni.u,truCleFalIni.y,falCleTruIni.u,falCleTruIni.y,truCleTruIni.u,truCleTruIni.y,swiCleInp1.u,swiCleInp1.y,swiCleInp.u,swiCleInp.y,falCleFalIni.u,falCleFalIni.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.0003365/0.98, allocations: 157.5 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.9814, allocations: 0.5727 MB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.9814, allocations: 0.6562 kB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005033/0.9819, allocations: 269.9 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005865/0.9825, allocations: 55.42 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.9837, allocations: 0.5008 MB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.9839, allocations: 0.7416 MB / 1.61 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002285/0.9842, allocations: 37.72 kB / 1.61 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.9844, allocations: 51.39 kB / 1.61 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.533e-06/0.9844, allocations: 0 / 1.61 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.01247/0.9969, allocations: 4.531 MB / 1.615 GB, free: 126.9 MB / 0.8542 GB