Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 292.6 MB / 307.5 MB, free: 5.133 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.001153/0.001153, allocations: 181 kB / 377.1 MB, free: 1.438 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.737/1.737, allocations: 205.4 MB / 0.6367 GB, free: 8.57 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.0009909/0.0009908, allocations: 90.97 kB / 0.751 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003701, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3143, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8455/1.16, allocations: 139.6 MB / 1.125 GB, free: 35.28 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/1.16, allocations: 71.81 kB / 1.125 GB, free: 35.22 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01044/1.171, allocations: 3.978 MB / 1.129 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.756e-06/1.171, allocations: 0.6562 kB / 1.129 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.427e-06/1.171, allocations: 0 / 1.129 GB, free: 32.51 MB / 0.7292 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.000599/1.171, allocations: 495.2 kB / 1.129 GB, free: 32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/1.171, allocations: 16.02 kB / 1.129 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.134e-05/1.171, allocations: 28.08 kB / 1.129 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/1.171, allocations: 170.5 kB / 1.129 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.1e-05/1.171, allocations: 23.38 kB / 1.129 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.708e-05/1.172, allocations: 36.08 kB / 1.129 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/1.172, allocations: 217.8 kB / 1.13 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.172, allocations: 0 / 1.13 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/1.172, allocations: 15.5 kB / 1.13 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.172, allocations: 4 kB / 1.13 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/1.172, allocations: 94 kB / 1.13 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006816/1.173, allocations: 0.5515 MB / 1.13 GB, free: 31 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/1.173, allocations: 293.7 kB / 1.13 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/1.173, allocations: 5.359 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007321/1.174, allocations: 0.5686 MB / 1.131 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=48): time 1.643e-06/1.174, allocations: 0 / 1.131 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.0009231/1.175, allocations: 0.6075 MB / 1.132 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/1.175, allocations: 71.34 kB / 1.132 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.765e-05/1.175, allocations: 124.4 kB / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.735e-05/1.175, allocations: 57.22 kB / 1.132 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/1.175, allocations: 108.6 kB / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.99e-05/1.175, allocations: 105.3 kB / 1.132 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/1.175, allocations: 16 kB / 1.132 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.398e-05/1.175, allocations: 334.7 kB / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/1.176, allocations: 184.9 kB / 1.133 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/1.176, allocations: 287.2 kB / 1.133 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/1.176, allocations: 192.3 kB / 1.133 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.176, allocations: 8 kB / 1.133 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007713/1.177, allocations: 0.5612 MB / 1.134 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/1.177, allocations: 70.73 kB / 1.134 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.177, allocations: 4.703 kB / 1.134 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/1.177, allocations: 4 kB / 1.134 GB, free: 27.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.415e-05/1.177, allocations: 29.12 kB / 1.134 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/1.177, allocations: 11.94 kB / 1.134 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/1.178, allocations: 85 kB / 1.134 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/1.178, allocations: 31.42 kB / 1.134 GB, free: 27.61 MB / 0.7292 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 () * Number of clocked 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.0001617/1.178, allocations: 170.4 kB / 1.134 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/1.178, allocations: 28.45 kB / 1.134 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.676e-05/1.178, allocations: 42.28 kB / 1.134 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.178, allocations: 8 kB / 1.134 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.178, allocations: 0.8438 kB / 1.134 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/1.178, allocations: 8.062 kB / 1.134 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/1.179, allocations: 0.9542 MB / 1.135 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.18, allocations: 4 kB / 1.135 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/1.18, allocations: 15.28 kB / 1.135 GB, free: 26.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/1.18, allocations: 4.609 kB / 1.135 GB, free: 26.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-05/1.18, allocations: 24.44 kB / 1.135 GB, free: 26.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/1.18, allocations: 4 kB / 1.135 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.18, allocations: 0.6094 kB / 1.135 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008336/1.18, allocations: 0.6342 MB / 1.136 GB, free: 25.83 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/1.181, allocations: 98.19 kB / 1.136 GB, free: 25.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.777e-05/1.181, allocations: 27.56 kB / 1.136 GB, free: 25.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/1.181, allocations: 11.52 kB / 1.136 GB, free: 25.69 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/1.181, allocations: 101.9 kB / 1.136 GB, free: 25.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/1.181, allocations: 37.31 kB / 1.136 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.973e-05/1.181, allocations: 96.31 kB / 1.136 GB, free: 25.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.181, allocations: 0 / 1.136 GB, free: 25.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004237/1.182, allocations: 105.2 kB / 1.136 GB, free: 25.43 MB / 0.7292 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) * Number of clocked states: 0 () * 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.0003048/1.182, allocations: 166.8 kB / 1.136 GB, free: 25.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008045/1.183, allocations: 0.5661 MB / 1.137 GB, free: 24.71 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.183, allocations: 4.625 kB / 1.137 GB, free: 24.71 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003272/1.183, allocations: 279.7 kB / 1.137 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/1.183, allocations: 26.14 kB / 1.137 GB, free: 24.44 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008557/1.184, allocations: 0.5013 MB / 1.138 GB, free: 23.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/1.185, allocations: 0.7468 MB / 1.138 GB, free: 23.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001384/1.185, allocations: 36.52 kB / 1.138 GB, free: 23.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/1.185, allocations: 48.91 kB / 1.138 GB, free: 23.14 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/1.185, allocations: 0 / 1.138 GB, free: 23.14 MB / 0.7292 GB Notification: Performance of Templates: time 0.01084/1.196, allocations: 4.521 MB / 1.143 GB, free: 20.66 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1)