Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.277/3.277, allocations: 287.5 MB / 302.4 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002109/0.002109, allocations: 177 kB / 371 MB, free: 10.78 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.434/2.434, allocations: 205.4 MB / 0.6297 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001496/0.001496, allocations: 102.7 kB / 0.743 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005407/0.0005406, allocations: 13.7 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2165, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9407/1.157, allocations: 138.4 MB / 1.114 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/1.158, allocations: 72.36 kB / 1.114 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01825/1.176, allocations: 3.977 MB / 1.118 GB, free: 31.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.013e-06/1.176, allocations: 0 / 1.118 GB, free: 31.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.198e-05/1.176, allocations: 3.844 kB / 1.118 GB, free: 31.11 MB / 0.698 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.000863/1.177, allocations: 0.4888 MB / 1.118 GB, free: 30.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/1.177, allocations: 11.64 kB / 1.118 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/1.177, allocations: 33.23 kB / 1.118 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/1.177, allocations: 164.8 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/1.177, allocations: 24.47 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/1.177, allocations: 31.75 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/1.178, allocations: 215.5 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.178, allocations: 3.938 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/1.178, allocations: 22.61 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/1.178, allocations: 7.844 kB / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002818/1.178, allocations: 93.52 kB / 1.119 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/1.179, allocations: 0.5434 MB / 1.119 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/1.18, allocations: 294.2 kB / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/1.18, allocations: 3.844 kB / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/1.181, allocations: 0.5608 MB / 1.12 GB, free: 30.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 4.969e-06/1.181, allocations: 0 / 1.12 GB, free: 30.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.001607/1.183, allocations: 0.6165 MB / 1.121 GB, free: 29.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/1.183, allocations: 55.72 kB / 1.121 GB, free: 29.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/1.183, allocations: 135.8 kB / 1.121 GB, free: 29.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000179/1.183, allocations: 59.36 kB / 1.121 GB, free: 29.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/1.183, allocations: 99.77 kB / 1.121 GB, free: 29.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/1.184, allocations: 110.3 kB / 1.121 GB, free: 29.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.112e-05/1.184, allocations: 11.22 kB / 1.121 GB, free: 29.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002775/1.184, allocations: 340.3 kB / 1.121 GB, free: 29.33 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009117/1.185, allocations: 183.8 kB / 1.121 GB, free: 29.33 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009676/1.186, allocations: 281.6 kB / 1.122 GB, free: 29.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007169/1.187, allocations: 198.7 kB / 1.122 GB, free: 29.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/1.187, allocations: 0 / 1.122 GB, free: 29.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00226/1.189, allocations: 0.5698 MB / 1.123 GB, free: 29.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/1.189, allocations: 66.05 kB / 1.123 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/1.189, allocations: 4.188 kB / 1.123 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.481e-05/1.189, allocations: 7.812 kB / 1.123 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/1.189, allocations: 30.16 kB / 1.123 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.137e-05/1.189, allocations: 6.562 kB / 1.123 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/1.191, allocations: 84.55 kB / 1.123 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/1.191, allocations: 26.39 kB / 1.123 GB, free: 28.93 MB / 0.698 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.0004606/1.191, allocations: 178.5 kB / 1.123 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/1.191, allocations: 26.95 kB / 1.123 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/1.192, allocations: 42.48 kB / 1.123 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/1.192, allocations: 7.625 kB / 1.123 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/1.192, allocations: 11.88 kB / 1.123 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.039e-05/1.192, allocations: 3.094 kB / 1.123 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/1.195, allocations: 0.9578 MB / 1.124 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/1.195, allocations: 0 / 1.124 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/1.195, allocations: 17.39 kB / 1.124 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-05/1.195, allocations: 3.781 kB / 1.124 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.403e-05/1.195, allocations: 22.02 kB / 1.124 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.236e-05/1.195, allocations: 7.844 kB / 1.124 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.195, allocations: 4.125 kB / 1.124 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/1.197, allocations: 0.6337 MB / 1.125 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/1.197, allocations: 95.92 kB / 1.125 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/1.198, allocations: 28.56 kB / 1.125 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/1.198, allocations: 13.61 kB / 1.125 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004309/1.198, allocations: 99.97 kB / 1.125 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/1.199, allocations: 35.34 kB / 1.125 GB, free: 28.03 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001283/1.199, allocations: 97.38 kB / 1.125 GB, free: 27.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.11e-07/1.199, allocations: 4 kB / 1.125 GB, free: 27.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001062/1.2, allocations: 101.3 kB / 1.125 GB, free: 27.95 MB / 0.698 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.0004491/1.2, allocations: 157.3 kB / 1.125 GB, free: 27.85 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001412/1.202, allocations: 0.5694 MB / 1.126 GB, free: 27.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.202, allocations: 4.062 kB / 1.126 GB, free: 27.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004821/1.202, allocations: 275.5 kB / 1.126 GB, free: 27.69 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/1.203, allocations: 35.36 kB / 1.126 GB, free: 27.69 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/1.204, allocations: 0.5027 MB / 1.127 GB, free: 27.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/1.204, allocations: 0.739 MB / 1.127 GB, free: 26.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000205/1.204, allocations: 41.27 kB / 1.127 GB, free: 26.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/1.205, allocations: 45.47 kB / 1.127 GB, free: 26.71 MB / 0.698 GB Notification: Performance of SimCode: time 1.041e-06/1.205, allocations: 4 kB / 1.127 GB, free: 26.7 MB / 0.698 GB Notification: Performance of Templates: time 0.01212/1.217, allocations: 4.52 MB / 1.132 GB, free: 26.22 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1)