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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001647, allocations: 100.9 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.92/1.92, allocations: 292.3 MB / 0.5495 GB, free: 17.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 63.91 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2603, allocations: 114.6 MB / 0.784 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.002648/0.263, allocations: 0.7799 MB / 0.7848 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002118/0.2651, allocations: 1.343 MB / 0.7861 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.2652, allocations: 4 kB / 0.7861 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.902e-05/0.2653, allocations: 11.86 kB / 0.7861 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.2655, allocations: 15.8 kB / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009975/0.2665, allocations: 302.2 kB / 0.7864 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005014/0.267, allocations: 383.3 kB / 0.7868 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.2672, allocations: 49.11 kB / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002916/0.2675, allocations: 155.7 kB / 0.787 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.2677, allocations: 127.6 kB / 0.7871 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.41e-05/0.2678, allocations: 40 kB / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.2679, allocations: 43.98 kB / 0.7872 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.729e-05/0.268, allocations: 71.84 kB / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.2682, allocations: 139.5 kB / 0.7874 GB, free: 384 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004618/0.2687, allocations: 343.4 kB / 0.7877 GB, free: 40 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2687, allocations: 0 / 0.7877 GB, free: 40 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2687, allocations: 0 / 0.7877 GB, free: 40 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.2687, allocations: 0 / 0.7877 GB, free: 40 kB / 0.6544 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.4514/0.7201, allocations: 0.5347 MB / 0.7883 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.7202, allocations: 8.719 kB / 0.7883 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.7203, allocations: 30.5 kB / 0.7883 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005949/0.7209, allocations: 259 kB / 0.7885 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/0.7209, allocations: 22.7 kB / 0.7886 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.161e-05/0.721, allocations: 33.91 kB / 0.7886 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.7214, allocations: 226.2 kB / 0.7888 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.7214, allocations: 3.938 kB / 0.7888 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/0.7215, allocations: 18.84 kB / 0.7888 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.7215, allocations: 2.656 kB / 0.7888 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.7217, allocations: 87.7 kB / 0.7889 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007628/0.7224, allocations: 0.5668 MB / 0.7895 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.7229, allocations: 254.7 kB / 0.7897 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.7231, allocations: 111 kB / 0.7898 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.7231, allocations: 9.719 kB / 0.7898 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008314/0.7239, allocations: 0.5515 MB / 0.7904 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=44): time 2.174e-06/0.7239, allocations: 0 / 0.7904 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=44): time 0.000968/0.7249, allocations: 0.5602 MB / 0.7909 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.725, allocations: 62.56 kB / 0.791 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.7251, allocations: 156.4 kB / 0.7911 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/0.7252, allocations: 58.28 kB / 0.7912 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.7253, allocations: 108 kB / 0.7913 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.7254, allocations: 102.3 kB / 0.7914 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.7256, allocations: 122.2 kB / 0.7915 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.169e-05/0.7257, allocations: 338.7 kB / 0.7918 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/0.726, allocations: 185.4 kB / 0.792 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/0.7263, allocations: 292.3 kB / 0.7923 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/0.7268, allocations: 367.7 kB / 0.7926 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.7268, allocations: 1.75 kB / 0.7926 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008003/0.7276, allocations: 0.5701 MB / 0.7932 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/0.7277, allocations: 68.77 kB / 0.7932 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.7277, allocations: 3.438 kB / 0.7932 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.7277, allocations: 9.031 kB / 0.7933 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-05/0.7278, allocations: 33.59 kB / 0.7933 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.7278, allocations: 3.312 kB / 0.7933 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000399/0.7282, allocations: 82.73 kB / 0.7934 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/0.7283, allocations: 29.78 kB / 0.7934 GB, free: 46.82 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 70 ($PRE.falCleTruIni.clr,$PRE.falCleFalIni.clr,$PRE.truCleTruIni.clr,$PRE.truCleFalIni.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,fal.y,tru.y,falCleTruIni.clr,falCleFalIni.clr,truCleTruIni.clr,truCleFalIni.clr,togInp.y,$PRE.togInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,$PRE.swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,$PRE.swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,$PRE.truCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,$PRE.truCleTruIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,$PRE.falCleFalIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$PRE.falCleTruIni.u,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00021/0.7285, allocations: 179.2 kB / 0.7936 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.7286, allocations: 24.62 kB / 0.7936 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.312e-05/0.7287, allocations: 39.25 kB / 0.7936 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.7287, allocations: 7.281 kB / 0.7936 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/0.7287, allocations: 3.969 kB / 0.7936 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.7287, allocations: 3.062 kB / 0.7936 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.7298, allocations: 0.8878 MB / 0.7945 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.7298, allocations: 3.938 kB / 0.7945 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.345e-05/0.7299, allocations: 21.02 kB / 0.7945 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.7299, allocations: 0 / 0.7945 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.7299, allocations: 28.95 kB / 0.7946 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.7299, allocations: 2.188 kB / 0.7946 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.73, allocations: 3.25 kB / 0.7946 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006309/0.7306, allocations: 0.524 MB / 0.7951 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.7306, allocations: 95.7 kB / 0.7952 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.579e-05/0.7307, allocations: 26.3 kB / 0.7952 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.469e-05/0.7308, allocations: 13.22 kB / 0.7952 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.731, allocations: 67.16 kB / 0.7953 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.731, allocations: 33.08 kB / 0.7953 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.791e-05/0.7311, allocations: 110.7 kB / 0.7954 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7311, allocations: 0 / 0.7954 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000397/0.7315, allocations: 94.14 kB / 0.7955 GB, free: 46.04 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 44 (swiCleInp1.clr,swiCleInp.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,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) * Number of discrete states: 12 (falCleFalIni.u,falCleFalIni.y,falCleTruIni.u,falCleTruIni.y,truCleTruIni.u,truCleTruIni.y,truCleFalIni.u,truCleFalIni.y,swiCleInp1.u,swiCleInp1.y,swiCleInp.u,swiCleInp.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002428/0.7318, allocations: 148.1 kB / 0.7956 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008937/0.7327, allocations: 0.5809 MB / 0.7962 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7327, allocations: 4.062 kB / 0.7962 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.733, allocations: 266.3 kB / 0.7965 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.7334, allocations: 41.33 kB / 0.7965 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008346/0.7342, allocations: 462.3 kB / 0.7969 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.7345, allocations: 0.7355 MB / 0.7977 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.7347, allocations: 52.14 kB / 0.7977 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of SimCode: time 6.91e-07/0.7347, allocations: 0 / 0.7977 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.009009/0.7437, allocations: 3.94 MB / 0.8016 GB, free: 44.41 MB / 0.6544 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)