Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.316/1.316, allocations: 252 MB / 267.9 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 179.2 kB / 327.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.4 MB / 0.5785 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000847/0.0008473, allocations: 81.61 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003647, allocations: 15.91 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.169, allocations: 106.3 MB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.3142, allocations: 132 MB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.3144, allocations: 79.94 kB / 1.03 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004868/0.3193, allocations: 1.98 MB / 1.032 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3193, allocations: 0 / 1.032 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.3193, allocations: 4 kB / 1.032 GB, free: 9.414 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.0005884/0.3199, allocations: 447.2 kB / 1.033 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.32, allocations: 12.03 kB / 1.033 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.32, allocations: 16.84 kB / 1.033 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.3202, allocations: 193.8 kB / 1.033 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.3202, allocations: 20.36 kB / 1.033 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.3202, allocations: 28.36 kB / 1.033 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.3206, allocations: 214.7 kB / 1.033 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3206, allocations: 192 / 1.033 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.3206, allocations: 23.91 kB / 1.033 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3206, allocations: 4 kB / 1.033 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.3208, allocations: 98.06 kB / 1.033 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000812/0.3216, allocations: 0.5393 MB / 1.034 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006224/0.3223, allocations: 330.6 kB / 1.034 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.3225, allocations: 136.8 kB / 1.034 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.3225, allocations: 11.98 kB / 1.034 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000687/0.3232, allocations: 0.5521 MB / 1.035 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 1.603e-06/0.3232, allocations: 0 / 1.035 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.0008529/0.3241, allocations: 0.5597 MB / 1.035 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.3241, allocations: 59.16 kB / 1.035 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.3242, allocations: 145.7 kB / 1.035 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.771e-05/0.3243, allocations: 57.91 kB / 1.036 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.3244, allocations: 105 kB / 1.036 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.148e-05/0.3245, allocations: 110.8 kB / 1.036 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/0.3245, allocations: 15.94 kB / 1.036 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3246, allocations: 342.8 kB / 1.036 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.3248, allocations: 141.1 kB / 1.036 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.3251, allocations: 225.8 kB / 1.036 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.3254, allocations: 236.6 kB / 1.037 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3254, allocations: 4 kB / 1.037 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005345/0.326, allocations: 390.6 kB / 1.037 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.326, allocations: 8 kB / 1.037 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.326, allocations: 3.984 kB / 1.037 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.326, allocations: 8 kB / 1.037 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.464e-05/0.3261, allocations: 27.86 kB / 1.037 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.3261, allocations: 12.17 kB / 1.037 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.3263, allocations: 32.05 kB / 1.037 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.3263, allocations: 23.94 kB / 1.037 GB, free: 4.074 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.0001379/0.3264, allocations: 163 kB / 1.037 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.3265, allocations: 27.72 kB / 1.037 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.766e-05/0.3266, allocations: 42.31 kB / 1.037 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3266, allocations: 4 kB / 1.037 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3266, allocations: 0 / 1.037 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3266, allocations: 3.984 kB / 1.037 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.3279, allocations: 0.9695 MB / 1.038 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.3279, allocations: 4 kB / 1.038 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.3279, allocations: 15.88 kB / 1.038 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3279, allocations: 4 kB / 1.038 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/0.328, allocations: 24.09 kB / 1.038 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.255e-05/0.328, allocations: 15.92 kB / 1.038 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.328, allocations: 0 / 1.038 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006118/0.3286, allocations: 0.5267 MB / 1.039 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.3287, allocations: 104.8 kB / 1.039 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.175e-05/0.3288, allocations: 31.98 kB / 1.039 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.3289, allocations: 27.97 kB / 1.039 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.3291, allocations: 99.73 kB / 1.039 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/0.3291, allocations: 31.97 kB / 1.039 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.122e-05/0.3292, allocations: 109.9 kB / 1.039 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.683e-06/0.3292, allocations: 0 / 1.039 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003072/0.3295, allocations: 83.94 kB / 1.039 GB, free: 1.66 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.0001754/0.3297, allocations: 147.1 kB / 1.04 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005583/0.3303, allocations: 378.8 kB / 1.04 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3303, allocations: 0.5 kB / 1.04 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.3306, allocations: 227.8 kB / 1.04 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.331, allocations: 56.86 kB / 1.04 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009439/0.3319, allocations: 0.5321 MB / 1.041 GB, free: 292 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.3322, allocations: 0.7377 MB / 1.041 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001175/0.3324, allocations: 38.97 kB / 1.041 GB, free: 15.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.3325, allocations: 51.39 kB / 1.041 GB, free: 15.43 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.3325, allocations: 0 / 1.041 GB, free: 15.43 MB / 0.698 GB Notification: Performance of Templates: time 0.006294/0.3388, allocations: 3.675 MB / 1.045 GB, free: 11.78 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1)