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.352/5.352, allocations: 0.5623 GB / 0.5776 GB, free: 3.328 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.002602/0.002602, allocations: 353.6 kB / 0.6446 GB, free: 185.6 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.388/4.388, allocations: 410.7 MB / 1.113 GB, free: 6.02 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.001815/0.001815, allocations: 180.4 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 16 kB / 1.349 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8595/0.8609, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001101/0.8621, allocations: 495.1 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.8642, allocations: 1.278 MB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.948e-05/0.8644, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.165e-05/0.8644, allocations: 7.922 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.698e-05/0.8645, allocations: 11.92 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.8657, allocations: 265.2 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.8661, allocations: 299.5 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.8663, allocations: 37.84 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.8665, allocations: 131.8 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.8667, allocations: 107.6 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.683e-05/0.8668, allocations: 20 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.8669, allocations: 31.97 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.387e-05/0.867, allocations: 55.84 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.301e-05/0.8671, allocations: 58.52 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.8674, allocations: 233.5 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.8674, allocations: 5.188 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8675, allocations: 3.938 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.8675, allocations: 0 / 1.464 GB, free: 281.3 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.000713/0.8682, allocations: 483 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/0.8683, allocations: 16.33 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.8684, allocations: 23.91 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008609/0.8693, allocations: 270 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.771e-05/0.8693, allocations: 23.98 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.997e-05/0.8694, allocations: 31.98 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005214/0.87, allocations: 217.4 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.87, allocations: 0.5938 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/0.87, allocations: 15.97 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.8701, allocations: 0.75 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002818/0.8704, allocations: 95.88 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.8714, allocations: 0.5724 MB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006175/0.872, allocations: 257.4 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/0.8723, allocations: 112.8 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.8724, allocations: 3.984 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.8734, allocations: 0.5451 MB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=44): time 3.386e-06/0.8734, allocations: 0 / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=44): time 0.001396/0.8748, allocations: 0.5557 MB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.8749, allocations: 59.41 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.875, allocations: 153.4 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.8751, allocations: 58.59 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.077e-05/0.8752, allocations: 114.6 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.762e-05/0.8753, allocations: 98.88 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.94e-05/0.8754, allocations: 16 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.61e-05/0.8755, allocations: 338.8 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004938/0.876, allocations: 185.7 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008799/0.8769, allocations: 289 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006629/0.8776, allocations: 192.9 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.8776, allocations: 0.625 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002103/0.8798, allocations: 0.5714 MB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.949e-05/0.8799, allocations: 63.41 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.8799, allocations: 3.938 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.184e-05/0.8799, allocations: 8 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.8802, allocations: 24.61 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.674e-05/0.8802, allocations: 11.92 kB / 1.47 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.8815, allocations: 101 kB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.8816, allocations: 30.05 kB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 70 ($PRE.falCleTruIni.clr,$PRE.falCleFalIni.clr,$PRE.truCleTruIni.clr,$PRE.truCleFalIni.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,fal.y,tru.y,$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.falCleTruIni.u,falCleTruIni.u,$PRE.falCleTruIni.y,falCleTruIni.y,$PRE.falCleFalIni.u,falCleFalIni.u,$PRE.falCleFalIni.y,falCleFalIni.y,$PRE.truCleTruIni.u,truCleTruIni.u,$PRE.truCleTruIni.y,truCleTruIni.y,$PRE.truCleFalIni.u,truCleFalIni.u,$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,truCleFalIni.clr,truCleTruIni.clr,falCleFalIni.clr,falCleTruIni.clr) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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.0003975/0.882, allocations: 174.9 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.8822, allocations: 27.75 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/0.8824, allocations: 41.09 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.8824, allocations: 3.984 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.8824, allocations: 3.938 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.8825, allocations: 104.8 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.8827, allocations: 19.98 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.883, allocations: 15.98 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004327/0.8834, allocations: 93.88 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00174/0.8852, allocations: 0.5188 MB / 1.471 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001638/0.8868, allocations: 0.614 MB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00067/0.8875, allocations: 228.3 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001039/0.8877, allocations: 99.27 kB / 1.472 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of Backend: time 1.012e-06/0.8877, allocations: 1 kB / 1.472 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002133/0.8898, allocations: 0.5317 MB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001333/0.8912, allocations: 0.8014 MB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.01305/0.9043, allocations: 4.532 MB / 1.477 GB, free: 268 MB / 0.8542 GB