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.847/1.847, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001798/0.001799, allocations: 180.9 kB / 361.4 MB, free: 6.805 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.772/1.772, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0008905/0.0008903, allocations: 85.64 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.41e-05/2.428e-05, allocations: 8 kB / 0.8518 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.803/0.803, allocations: 115.3 MB / 0.9644 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1971/1, allocations: 137.8 MB / 1.099 GB, free: 1.984 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/1, allocations: 67.97 kB / 1.099 GB, free: 1.918 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01194/1.012, allocations: 3.951 MB / 1.103 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.904e-06/1.013, allocations: 0.8438 kB / 1.103 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.437e-05/1.013, allocations: 4 kB / 1.103 GB, free: 14.05 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.000696/1.013, allocations: 482.4 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/1.013, allocations: 12.03 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/1.013, allocations: 27.84 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/1.014, allocations: 170.9 kB / 1.104 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.054e-05/1.014, allocations: 11.98 kB / 1.104 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.066e-05/1.014, allocations: 27.98 kB / 1.104 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002316/1.014, allocations: 83.92 kB / 1.104 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/1.014, allocations: 192.6 kB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/1.014, allocations: 0 / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.283e-05/1.014, allocations: 15.97 kB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/1.014, allocations: 4 kB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009288/1.015, allocations: 0.4985 MB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/1.016, allocations: 271 kB / 1.105 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/1.016, allocations: 121.2 kB / 1.105 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/1.016, allocations: 7.953 kB / 1.105 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008149/1.017, allocations: 0.5399 MB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 1.683e-06/1.017, allocations: 224 / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0007913/1.018, allocations: 435.8 kB / 1.106 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/1.018, allocations: 59.78 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/1.018, allocations: 128.9 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.26e-05/1.018, allocations: 45.7 kB / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.448e-05/1.018, allocations: 101.3 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.276e-05/1.018, allocations: 102.8 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/1.018, allocations: 4 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.018, allocations: 338.8 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/1.019, allocations: 165.3 kB / 1.107 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/1.019, allocations: 255.8 kB / 1.107 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/1.019, allocations: 142 kB / 1.107 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.019, allocations: 0 / 1.107 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009528/1.02, allocations: 474.5 kB / 1.107 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.755e-05/1.021, allocations: 71.7 kB / 1.108 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/1.021, allocations: 4 kB / 1.108 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/1.021, allocations: 8 kB / 1.108 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.163e-05/1.021, allocations: 23.86 kB / 1.108 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/1.021, allocations: 8 kB / 1.108 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004061/1.021, allocations: 67.94 kB / 1.108 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/1.021, allocations: 27.98 kB / 1.108 GB, free: 8.949 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.0001918/1.021, allocations: 155.1 kB / 1.108 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/1.021, allocations: 34.28 kB / 1.108 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.327e-05/1.022, allocations: 34.19 kB / 1.108 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/1.022, allocations: 4 kB / 1.108 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/1.022, allocations: 0 / 1.108 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/1.022, allocations: 3.984 kB / 1.108 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/1.023, allocations: 0.8692 MB / 1.109 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.023, allocations: 0 / 1.109 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.142e-05/1.023, allocations: 15.94 kB / 1.109 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.607e-06/1.023, allocations: 7.984 kB / 1.109 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/1.023, allocations: 17.69 kB / 1.109 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/1.023, allocations: 11.94 kB / 1.109 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/1.023, allocations: 0 / 1.109 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006718/1.024, allocations: 0.5795 MB / 1.109 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/1.024, allocations: 92.91 kB / 1.109 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.968e-05/1.024, allocations: 27.94 kB / 1.109 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.789e-05/1.024, allocations: 4 kB / 1.109 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/1.024, allocations: 95.8 kB / 1.11 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.985e-05/1.024, allocations: 39.95 kB / 1.11 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.941e-05/1.024, allocations: 92.48 kB / 1.11 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.024, allocations: 0 / 1.11 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004059/1.025, allocations: 87.98 kB / 1.11 GB, free: 6.656 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.0003072/1.025, allocations: 150 kB / 1.11 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007884/1.026, allocations: 0.5238 MB / 1.11 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.026, allocations: 4.188 kB / 1.11 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003179/1.026, allocations: 247.8 kB / 1.111 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/1.026, allocations: 23.16 kB / 1.111 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007562/1.027, allocations: 342.7 kB / 1.111 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/1.027, allocations: 0.7426 MB / 1.112 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001169/1.028, allocations: 35.28 kB / 1.112 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/1.028, allocations: 51.39 kB / 1.112 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of SimCode: time 2.325e-06/1.028, allocations: 0 / 1.112 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of Templates: time 0.008865/1.037, allocations: 4.369 MB / 1.116 GB, free: 176 kB / 0.7136 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)