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.000895/0.0008951, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009137/0.0009137, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.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.691/1.691, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005599/0.0005599, allocations: 15.94 kB / 0.6736 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2634, allocations: 116.3 MB / 0.7871 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.0009997/0.2644, allocations: 499.2 kB / 0.7876 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.266, allocations: 1.274 MB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.097e-05/0.266, allocations: 4 kB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.2661, allocations: 7.922 kB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.208e-05/0.2662, allocations: 11.98 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000654/0.2668, allocations: 273.8 kB / 0.7891 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.267, allocations: 179.7 kB / 0.7893 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.2671, allocations: 40.88 kB / 0.7894 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.2673, allocations: 135.7 kB / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.2674, allocations: 107.6 kB / 0.7896 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/0.2675, allocations: 20 kB / 0.7896 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.781e-05/0.2676, allocations: 31.92 kB / 0.7896 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.2676, allocations: 55.84 kB / 0.7897 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.801e-05/0.2677, allocations: 65.64 kB / 0.7897 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.268, allocations: 231.7 kB / 0.79 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.268, allocations: 0 / 0.79 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.268, allocations: 0 / 0.79 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.268, allocations: 0 / 0.79 GB, free: 9.008 MB / 0.6075 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.000563/0.2686, allocations: 486.3 kB / 0.7904 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.2686, allocations: 8.031 kB / 0.7904 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.599e-05/0.2687, allocations: 31.89 kB / 0.7905 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00059/0.2693, allocations: 272.9 kB / 0.7907 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.2693, allocations: 23.98 kB / 0.7908 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.903e-05/0.2694, allocations: 35.92 kB / 0.7908 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.2698, allocations: 217.4 kB / 0.791 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.2698, allocations: 0 / 0.791 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.2698, allocations: 15.97 kB / 0.791 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.2698, allocations: 4 kB / 0.791 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.27, allocations: 87.94 kB / 0.7911 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008564/0.2709, allocations: 0.5703 MB / 0.7917 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004275/0.2713, allocations: 250.6 kB / 0.7919 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.2713, allocations: 7.953 kB / 0.7919 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008225/0.2722, allocations: 0.5414 MB / 0.7924 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=44): time 1.633e-06/0.2722, allocations: 0 / 0.7924 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=44): time 0.001009/0.2732, allocations: 0.5519 MB / 0.793 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.2733, allocations: 67.3 kB / 0.793 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.2734, allocations: 156.5 kB / 0.7932 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.086e-05/0.2735, allocations: 61.69 kB / 0.7932 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.2736, allocations: 117.1 kB / 0.7934 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.538e-05/0.2737, allocations: 106.8 kB / 0.7935 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.2737, allocations: 12 kB / 0.7935 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2739, allocations: 334.8 kB / 0.7938 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/0.2742, allocations: 181.1 kB / 0.794 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.2746, allocations: 293.8 kB / 0.7942 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.2749, allocations: 185.6 kB / 0.7944 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2749, allocations: 0 / 0.7944 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007983/0.2757, allocations: 0.5722 MB / 0.795 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/0.2758, allocations: 71.39 kB / 0.795 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2758, allocations: 0 / 0.795 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.2758, allocations: 8 kB / 0.7951 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.2759, allocations: 27.86 kB / 0.7951 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.2759, allocations: 4 kB / 0.7951 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003808/0.2763, allocations: 99.81 kB / 0.7952 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.2764, allocations: 27.98 kB / 0.7952 GB, free: 3.34 MB / 0.6075 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,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.falCleTruIni.u,falCleTruIni.u,$PRE.falCleTruIni.y,falCleTruIni.y,$PRE.falCleFalIni.u,falCleFalIni.u,$PRE.falCleFalIni.y,falCleFalIni.y,$PRE.truCleTruIni.u,truCleTruIni.u,$PRE.truCleTruIni.y,truCleTruIni.y,$PRE.truCleFalIni.u,truCleFalIni.u,$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,truCleFalIni.clr,truCleTruIni.clr,falCleFalIni.clr,falCleTruIni.clr) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001815/0.2765, allocations: 179 kB / 0.7954 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.2766, allocations: 27.67 kB / 0.7954 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.929e-05/0.2767, allocations: 38.31 kB / 0.7954 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2767, allocations: 4 kB / 0.7954 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.2767, allocations: 0 / 0.7954 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2767, allocations: 3.984 kB / 0.7954 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.2779, allocations: 0.8897 MB / 0.7963 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2779, allocations: 0 / 0.7963 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.2779, allocations: 11.92 kB / 0.7963 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2779, allocations: 0 / 0.7963 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.256e-05/0.278, allocations: 31.91 kB / 0.7964 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.278, allocations: 0 / 0.7964 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.278, allocations: 4 kB / 0.7964 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006457/0.2787, allocations: 0.5264 MB / 0.7969 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.2787, allocations: 100.7 kB / 0.797 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.019e-05/0.2788, allocations: 27.98 kB / 0.797 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.483e-05/0.2789, allocations: 11.98 kB / 0.797 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.2791, allocations: 99.73 kB / 0.7971 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/0.2791, allocations: 31.97 kB / 0.7971 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.126e-05/0.2792, allocations: 103.3 kB / 0.7972 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2792, allocations: 0 / 0.7972 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003772/0.2796, allocations: 95.98 kB / 0.7973 GB, free: 1.066 MB / 0.6075 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 (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.0002643/0.2798, allocations: 147.2 kB / 0.7975 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007928/0.2806, allocations: 0.5653 MB / 0.798 GB, free: 328 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2807, allocations: 0 / 0.798 GB, free: 328 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.281, allocations: 259.7 kB / 0.7983 GB, free: 68 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.2813, allocations: 35.03 kB / 0.7983 GB, free: 36 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007775/0.2821, allocations: 461.7 kB / 0.7987 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.2824, allocations: 0.7413 MB / 0.7995 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001147/0.2825, allocations: 46.94 kB / 0.7995 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.2826, allocations: 43.41 kB / 0.7995 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.2826, allocations: 0 / 0.7995 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.007492/0.2901, allocations: 4.429 MB / 0.8039 GB, free: 10.31 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: