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 2.493/2.493, allocations: 284.8 MB / 297.3 MB, free: 6.324 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.001427/0.001427, allocations: 172.3 kB / 365.7 MB, free: 2.578 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.291/2.291, allocations: 205.1 MB / 0.6241 GB, free: 8.172 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001028, allocations: 100.1 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.972e-05/4.993e-05, allocations: 7.984 kB / 0.8575 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8108/0.8109, allocations: 115.2 MB / 0.97 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2404/1.051, allocations: 138.3 MB / 1.105 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/1.052, allocations: 74.16 kB / 1.105 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01969/1.071, allocations: 3.976 MB / 1.109 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.314e-06/1.071, allocations: 0 / 1.109 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.24e-05/1.072, allocations: 4 kB / 1.109 GB, free: 10.13 MB / 0.7136 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.0008804/1.072, allocations: 482.3 kB / 1.109 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/1.072, allocations: 8.031 kB / 1.109 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/1.073, allocations: 31.86 kB / 1.11 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/1.073, allocations: 181 kB / 1.11 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.199e-05/1.073, allocations: 23.98 kB / 1.11 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/1.073, allocations: 28 kB / 1.11 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005866/1.074, allocations: 215.9 kB / 1.11 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/1.074, allocations: 0 / 1.11 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.163e-05/1.074, allocations: 15.97 kB / 1.11 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/1.074, allocations: 4 kB / 1.11 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/1.074, allocations: 87.95 kB / 1.11 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/1.075, allocations: 0.5432 MB / 1.111 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007607/1.076, allocations: 291.1 kB / 1.111 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/1.076, allocations: 143.1 kB / 1.111 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/1.076, allocations: 0 / 1.111 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001242/1.078, allocations: 0.5645 MB / 1.112 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 3.046e-06/1.078, allocations: 0 / 1.112 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.001343/1.079, allocations: 468 kB / 1.112 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.144e-05/1.079, allocations: 59.84 kB / 1.112 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/1.079, allocations: 128.8 kB / 1.112 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001514/1.08, allocations: 57.7 kB / 1.112 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/1.08, allocations: 113 kB / 1.112 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/1.08, allocations: 110.8 kB / 1.112 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.115e-05/1.08, allocations: 15.94 kB / 1.112 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001607/1.08, allocations: 339.1 kB / 1.113 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005765/1.081, allocations: 181.3 kB / 1.113 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006582/1.081, allocations: 276.9 kB / 1.113 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/1.082, allocations: 194.6 kB / 1.113 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/1.082, allocations: 4 kB / 1.113 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001504/1.083, allocations: 0.5488 MB / 1.114 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.914e-05/1.083, allocations: 67.39 kB / 1.114 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/1.084, allocations: 4 kB / 1.114 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.577e-05/1.084, allocations: 4.312 kB / 1.114 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/1.084, allocations: 33.36 kB / 1.114 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/1.084, allocations: 4 kB / 1.114 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007546/1.085, allocations: 83.94 kB / 1.114 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.4e-05/1.085, allocations: 27.98 kB / 1.114 GB, free: 4.582 MB / 0.7136 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 () * 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.0002878/1.085, allocations: 168.7 kB / 1.114 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-05/1.085, allocations: 23.72 kB / 1.114 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/1.085, allocations: 46.19 kB / 1.114 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/1.085, allocations: 4 kB / 1.114 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/1.085, allocations: 0 / 1.114 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/1.085, allocations: 7.922 kB / 1.114 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/1.088, allocations: 0.9507 MB / 1.115 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/1.088, allocations: 4 kB / 1.115 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.46e-05/1.088, allocations: 15.92 kB / 1.115 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.495e-05/1.088, allocations: 4 kB / 1.115 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-05/1.088, allocations: 26.28 kB / 1.115 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/1.088, allocations: 4 kB / 1.115 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.088, allocations: 1.781 kB / 1.115 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/1.089, allocations: 0.6226 MB / 1.116 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-05/1.089, allocations: 92.83 kB / 1.116 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/1.089, allocations: 31.92 kB / 1.116 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/1.09, allocations: 15.98 kB / 1.116 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002937/1.09, allocations: 95.8 kB / 1.116 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-05/1.09, allocations: 35.97 kB / 1.116 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.654e-05/1.09, allocations: 96.66 kB / 1.116 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.41e-07/1.09, allocations: 0 / 1.116 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006818/1.091, allocations: 104 kB / 1.116 GB, free: 2.105 MB / 0.7136 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) * 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.000339/1.091, allocations: 158.2 kB / 1.117 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001516/1.093, allocations: 0.5634 MB / 1.117 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/1.093, allocations: 0.625 kB / 1.117 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006138/1.093, allocations: 272.1 kB / 1.117 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/1.094, allocations: 33.33 kB / 1.117 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/1.095, allocations: 359.6 kB / 1.118 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/1.095, allocations: 0.7464 MB / 1.119 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002652/1.096, allocations: 46.94 kB / 1.119 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/1.096, allocations: 43.41 kB / 1.119 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of SimCode: time 1.032e-06/1.096, allocations: 0 / 1.119 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of Templates: time 0.01492/1.111, allocations: 4.535 MB / 1.123 GB, free: 11.36 MB / 0.7292 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)