Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.696/1.696, allocations: 285.4 MB / 298 MB, free: 5.941 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.001033/0.001034, allocations: 184.9 kB / 366.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.1 MB / 0.6248 GB, free: 7.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001003/0.001002, allocations: 93.14 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.301e-05/3.31e-05, allocations: 4 kB / 0.8583 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8138/0.8139, allocations: 115.3 MB / 0.9709 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1975/1.011, allocations: 138.5 MB / 1.106 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/1.012, allocations: 71.95 kB / 1.106 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01125/1.023, allocations: 3.96 MB / 1.11 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.365e-06/1.023, allocations: 3.938 kB / 1.11 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.796e-06/1.023, allocations: 4 kB / 1.11 GB, free: 9.316 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.0005672/1.024, allocations: 488.7 kB / 1.111 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/1.024, allocations: 12.02 kB / 1.111 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.286e-05/1.024, allocations: 27.86 kB / 1.111 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/1.024, allocations: 178.8 kB / 1.111 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.555e-05/1.024, allocations: 19.98 kB / 1.111 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.814e-05/1.024, allocations: 35.98 kB / 1.111 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/1.024, allocations: 216.1 kB / 1.111 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/1.024, allocations: 0 / 1.111 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/1.025, allocations: 11.98 kB / 1.111 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.025, allocations: 4 kB / 1.111 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/1.025, allocations: 87.98 kB / 1.111 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007787/1.026, allocations: 0.5468 MB / 1.112 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/1.026, allocations: 290.3 kB / 1.112 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/1.026, allocations: 140.8 kB / 1.112 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/1.026, allocations: 0 / 1.112 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007382/1.027, allocations: 0.5642 MB / 1.113 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 1.522e-06/1.027, allocations: 224 / 1.113 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.000751/1.028, allocations: 467.8 kB / 1.113 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/1.028, allocations: 63.78 kB / 1.113 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/1.028, allocations: 120.9 kB / 1.113 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-05/1.028, allocations: 69.69 kB / 1.113 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.698e-05/1.028, allocations: 109 kB / 1.113 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.763e-05/1.028, allocations: 102.8 kB / 1.114 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/1.028, allocations: 12 kB / 1.114 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.028, allocations: 342.8 kB / 1.114 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/1.029, allocations: 177.3 kB / 1.114 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/1.029, allocations: 280.9 kB / 1.114 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/1.029, allocations: 194.6 kB / 1.114 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.029, allocations: 3.953 kB / 1.114 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008305/1.03, allocations: 0.5488 MB / 1.115 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.505e-05/1.03, allocations: 68.48 kB / 1.115 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/1.03, allocations: 8 kB / 1.115 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/1.03, allocations: 4 kB / 1.115 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.903e-05/1.03, allocations: 27.86 kB / 1.115 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/1.03, allocations: 6.578 kB / 1.115 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003869/1.031, allocations: 87.94 kB / 1.115 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.242e-05/1.031, allocations: 27.98 kB / 1.115 GB, free: 3.762 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.0001716/1.031, allocations: 162 kB / 1.115 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/1.031, allocations: 35.66 kB / 1.115 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/1.031, allocations: 38.19 kB / 1.115 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/1.031, allocations: 4 kB / 1.115 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.031, allocations: 2.906 kB / 1.115 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/1.031, allocations: 0 / 1.115 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/1.033, allocations: 0.9623 MB / 1.116 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.033, allocations: 0 / 1.116 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.739e-05/1.033, allocations: 15.94 kB / 1.116 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-06/1.033, allocations: 7.984 kB / 1.116 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.839e-05/1.033, allocations: 27.95 kB / 1.116 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/1.033, allocations: 8.125 kB / 1.116 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.033, allocations: 0 / 1.116 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007833/1.034, allocations: 0.6147 MB / 1.117 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/1.034, allocations: 96.77 kB / 1.117 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/1.034, allocations: 27.98 kB / 1.117 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/1.034, allocations: 23.42 kB / 1.117 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/1.034, allocations: 91.8 kB / 1.117 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-05/1.034, allocations: 39.97 kB / 1.117 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.208e-05/1.034, allocations: 100.9 kB / 1.117 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.034, allocations: 0 / 1.117 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003891/1.035, allocations: 104 kB / 1.118 GB, free: 1.273 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.0002794/1.035, allocations: 159.2 kB / 1.118 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008265/1.036, allocations: 0.5643 MB / 1.118 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.036, allocations: 4.062 kB / 1.118 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003257/1.036, allocations: 267.7 kB / 1.118 GB, free: 264 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/1.036, allocations: 27.94 kB / 1.119 GB, free: 236 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006528/1.037, allocations: 363.5 kB / 1.119 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/1.037, allocations: 0.7426 MB / 1.12 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001181/1.037, allocations: 34.97 kB / 1.12 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/1.037, allocations: 51.39 kB / 1.12 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of SimCode: time 7.71e-07/1.037, allocations: 7.938 kB / 1.12 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of Templates: time 0.008239/1.046, allocations: 4.521 MB / 1.124 GB, free: 10.54 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1)