Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.709/2.709, allocations: 287.5 MB / 303.2 MB, free: 8.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001244/0.001243, allocations: 185.9 kB / 371.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.4 MB / 0.6305 GB, free: 10.51 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009656/0.0009651, allocations: 97.28 kB / 0.7438 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005141/0.0005144, allocations: 20.64 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2232, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9494/1.173, allocations: 138.4 MB / 1.114 GB, free: 16.06 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/1.173, allocations: 76.02 kB / 1.115 GB, free: 16.06 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02887/1.202, allocations: 3.992 MB / 1.118 GB, free: 31.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.327e-06/1.202, allocations: 0 / 1.118 GB, free: 31.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.763e-05/1.202, allocations: 3.906 kB / 1.118 GB, free: 31.58 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.001233/1.203, allocations: 495.2 kB / 1.119 GB, free: 31.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/1.203, allocations: 11.53 kB / 1.119 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/1.204, allocations: 24.16 kB / 1.119 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/1.204, allocations: 174.8 kB / 1.119 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.799e-05/1.204, allocations: 21.83 kB / 1.119 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/1.204, allocations: 36.92 kB / 1.119 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000774/1.205, allocations: 219.7 kB / 1.119 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/1.205, allocations: 416 / 1.119 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-05/1.205, allocations: 21.48 kB / 1.119 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/1.205, allocations: 6.219 kB / 1.119 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000431/1.205, allocations: 95.28 kB / 1.12 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/1.207, allocations: 0.5435 MB / 1.12 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009083/1.208, allocations: 297.1 kB / 1.12 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000434/1.208, allocations: 140.3 kB / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/1.208, allocations: 3.938 kB / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00152/1.21, allocations: 0.567 MB / 1.121 GB, free: 30.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 4.719e-06/1.21, allocations: 0 / 1.121 GB, free: 30.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.002015/1.212, allocations: 0.6128 MB / 1.122 GB, free: 30.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/1.212, allocations: 55.66 kB / 1.122 GB, free: 30.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/1.212, allocations: 140.7 kB / 1.122 GB, free: 30.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001375/1.212, allocations: 63.41 kB / 1.122 GB, free: 30.22 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.827e-05/1.213, allocations: 105.1 kB / 1.122 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/1.213, allocations: 110.1 kB / 1.122 GB, free: 30.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/1.213, allocations: 10.44 kB / 1.122 GB, free: 30.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.213, allocations: 342.8 kB / 1.122 GB, free: 29.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/1.213, allocations: 183.5 kB / 1.123 GB, free: 29.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005952/1.214, allocations: 292.6 kB / 1.123 GB, free: 29.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006999/1.215, allocations: 356.7 kB / 1.123 GB, free: 29.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/1.215, allocations: 0 / 1.123 GB, free: 29.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00133/1.216, allocations: 0.5665 MB / 1.124 GB, free: 29.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.327e-05/1.216, allocations: 70.16 kB / 1.124 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/1.216, allocations: 4.781 kB / 1.124 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/1.216, allocations: 7.844 kB / 1.124 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/1.216, allocations: 26.69 kB / 1.124 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/1.216, allocations: 7.781 kB / 1.124 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007086/1.217, allocations: 87.2 kB / 1.124 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.821e-05/1.217, allocations: 26.12 kB / 1.124 GB, free: 29.28 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.000349/1.218, allocations: 184.2 kB / 1.124 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.341e-05/1.218, allocations: 34.47 kB / 1.124 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/1.218, allocations: 36.53 kB / 1.124 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/1.218, allocations: 3.844 kB / 1.124 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/1.218, allocations: 4 kB / 1.124 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/1.218, allocations: 7.312 kB / 1.124 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/1.22, allocations: 0.9625 MB / 1.125 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.22, allocations: 0 / 1.125 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.837e-05/1.22, allocations: 18.3 kB / 1.125 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/1.22, allocations: 7.781 kB / 1.125 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.038e-05/1.22, allocations: 24.73 kB / 1.125 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.024e-06/1.22, allocations: 0 / 1.125 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.22, allocations: 3.656 kB / 1.125 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/1.221, allocations: 0.577 MB / 1.126 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.343e-05/1.221, allocations: 106.8 kB / 1.126 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/1.221, allocations: 26.2 kB / 1.126 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/1.222, allocations: 15.17 kB / 1.126 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/1.222, allocations: 94.77 kB / 1.126 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-05/1.222, allocations: 39.2 kB / 1.126 GB, free: 28.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.641e-05/1.222, allocations: 97.95 kB / 1.126 GB, free: 28.37 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.222, allocations: 0 / 1.126 GB, free: 28.37 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007344/1.223, allocations: 103.5 kB / 1.126 GB, free: 28.36 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.0003183/1.223, allocations: 164.9 kB / 1.126 GB, free: 28.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001303/1.225, allocations: 0.5749 MB / 1.127 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.225, allocations: 3.875 kB / 1.127 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005246/1.225, allocations: 264.6 kB / 1.127 GB, free: 28.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006067/1.226, allocations: 47.78 kB / 1.127 GB, free: 28.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/1.227, allocations: 0.5016 MB / 1.128 GB, free: 27.83 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/1.227, allocations: 0.7313 MB / 1.128 GB, free: 27.13 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002499/1.228, allocations: 45.86 kB / 1.129 GB, free: 27.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/1.228, allocations: 45.66 kB / 1.129 GB, free: 27.11 MB / 0.698 GB Notification: Performance of SimCode: time 8.71e-07/1.228, allocations: 0 / 1.129 GB, free: 27.11 MB / 0.698 GB Notification: Performance of Templates: time 0.01296/1.241, allocations: 4.565 MB / 1.133 GB, free: 26.21 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)