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.639/2.639, allocations: 285 MB / 292.5 MB, free: 10.49 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.002143/0.002143, allocations: 176.9 kB / 360.7 MB, free: 7.238 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.039/2.039, allocations: 205.3 MB / 0.6192 GB, free: 12.13 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.001135/0.001134, allocations: 93.73 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.262e-05/2.274e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8513/0.8513, allocations: 115.2 MB / 0.9635 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2559/1.107, allocations: 137.7 MB / 1.098 GB, free: 2.793 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/1.108, allocations: 71.95 kB / 1.098 GB, free: 2.723 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02183/1.129, allocations: 3.943 MB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.874e-06/1.13, allocations: 0 / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.199e-05/1.13, allocations: 4 kB / 1.102 GB, free: 14.85 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.0008572/1.13, allocations: 486.9 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.13, allocations: 12.03 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/1.131, allocations: 26.55 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/1.131, allocations: 174.9 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.567e-05/1.131, allocations: 11.98 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/1.131, allocations: 30.42 kB / 1.103 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002896/1.131, allocations: 86.64 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/1.132, allocations: 193.7 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/1.132, allocations: 0 / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.285e-05/1.132, allocations: 15.97 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/1.132, allocations: 11.95 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/1.133, allocations: 0.4892 MB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006079/1.134, allocations: 263 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/1.134, allocations: 128.8 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/1.134, allocations: 0 / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001186/1.135, allocations: 0.5448 MB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 4.108e-06/1.135, allocations: 0 / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.001176/1.136, allocations: 432 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/1.136, allocations: 63.83 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/1.137, allocations: 128.8 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/1.137, allocations: 49.69 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/1.137, allocations: 97.34 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/1.137, allocations: 106.8 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/1.137, allocations: 0 / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.137, allocations: 338.8 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004892/1.138, allocations: 165.3 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005924/1.138, allocations: 259.8 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006982/1.139, allocations: 138 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.139, allocations: 0 / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00159/1.141, allocations: 474.5 kB / 1.106 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.852e-05/1.141, allocations: 75.7 kB / 1.106 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.141, allocations: 0 / 1.106 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/1.141, allocations: 8 kB / 1.106 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/1.141, allocations: 25.17 kB / 1.106 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/1.141, allocations: 8 kB / 1.106 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006886/1.142, allocations: 71.94 kB / 1.107 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.023e-05/1.142, allocations: 27.98 kB / 1.107 GB, free: 9.746 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.0002738/1.142, allocations: 154.9 kB / 1.107 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.801e-05/1.142, allocations: 31.67 kB / 1.107 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/1.142, allocations: 34.17 kB / 1.107 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/1.142, allocations: 5.188 kB / 1.107 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.142, allocations: 0 / 1.107 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/1.142, allocations: 0 / 1.107 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/1.145, allocations: 0.8731 MB / 1.108 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/1.145, allocations: 0 / 1.108 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.367e-05/1.145, allocations: 15.92 kB / 1.108 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/1.145, allocations: 4 kB / 1.108 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/1.145, allocations: 20.84 kB / 1.108 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.836e-06/1.145, allocations: 13.11 kB / 1.108 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/1.145, allocations: 7.938 kB / 1.108 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/1.146, allocations: 0.5834 MB / 1.108 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-05/1.146, allocations: 88.92 kB / 1.108 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/1.146, allocations: 27.94 kB / 1.108 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/1.146, allocations: 7.984 kB / 1.108 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002975/1.147, allocations: 95.8 kB / 1.108 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.191e-05/1.147, allocations: 39.34 kB / 1.109 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.314e-05/1.147, allocations: 91.28 kB / 1.109 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-07/1.147, allocations: 0 / 1.109 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006884/1.148, allocations: 83.98 kB / 1.109 GB, free: 7.453 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.0003185/1.148, allocations: 146.2 kB / 1.109 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001254/1.149, allocations: 0.5276 MB / 1.109 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.149, allocations: 8.25 kB / 1.109 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005079/1.15, allocations: 243.8 kB / 1.11 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/1.15, allocations: 23.48 kB / 1.11 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009887/1.151, allocations: 339.6 kB / 1.11 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/1.152, allocations: 0.7465 MB / 1.111 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002285/1.152, allocations: 39.27 kB / 1.111 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/1.152, allocations: 47.41 kB / 1.111 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of SimCode: time 1.082e-06/1.152, allocations: 0 / 1.111 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.0134/1.166, allocations: 4.352 MB / 1.115 GB, free: 0.9844 MB / 0.7136 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)