Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.515/2.515, allocations: 251.1 MB / 266.1 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001521/0.001521, allocations: 175.8 kB / 325.6 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.407/2.407, allocations: 205.4 MB / 0.5766 GB, free: 21.15 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 104 kB / 0.6811 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004864, allocations: 11.62 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2551, allocations: 106.3 MB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.002354/0.2576, allocations: 1.189 MB / 0.9 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.2588, allocations: 361.9 kB / 0.9004 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.965e-05/0.2589, allocations: 4 kB / 0.9004 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.537e-05/0.259, allocations: 7.922 kB / 0.9004 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.2591, allocations: 15.91 kB / 0.9004 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.2596, allocations: 87.86 kB / 0.9005 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.2599, allocations: 139.8 kB / 0.9006 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.2601, allocations: 45.22 kB / 0.9007 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.2602, allocations: 91.78 kB / 0.9008 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.2604, allocations: 87.67 kB / 0.9009 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.976e-05/0.2605, allocations: 12 kB / 0.9009 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.616e-05/0.2606, allocations: 11.94 kB / 0.9009 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.14e-05/0.2607, allocations: 59.84 kB / 0.9009 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.09e-05/0.2608, allocations: 53.64 kB / 0.901 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.2611, allocations: 175.6 kB / 0.9012 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2611, allocations: 0 / 0.9012 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.516e-06/0.2611, allocations: 0 / 0.9012 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2612, allocations: 3.938 kB / 0.9012 GB, free: 63.63 MB / 0.6042 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.001103/0.2623, allocations: 458.7 kB / 0.9016 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.2623, allocations: 12.03 kB / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.2625, allocations: 19.86 kB / 0.9016 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006524/0.2631, allocations: 253 kB / 0.9019 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/0.2632, allocations: 19.98 kB / 0.9019 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.693e-05/0.2633, allocations: 27.98 kB / 0.9019 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007212/0.264, allocations: 217.4 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.2641, allocations: 7.938 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.459e-05/0.2642, allocations: 15.97 kB / 0.9021 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.2642, allocations: 7.984 kB / 0.9021 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004035/0.2646, allocations: 88.55 kB / 0.9022 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.2662, allocations: 0.5391 MB / 0.9028 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.2676, allocations: 274.5 kB / 0.903 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.2677, allocations: 4 kB / 0.903 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/0.2691, allocations: 0.5371 MB / 0.9035 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 4.268e-06/0.2692, allocations: 0 / 0.9035 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.001848/0.2711, allocations: 0.5046 MB / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.2711, allocations: 59.39 kB / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.2714, allocations: 157.7 kB / 0.9042 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001284/0.2715, allocations: 57.69 kB / 0.9043 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.977e-05/0.2716, allocations: 117.2 kB / 0.9044 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.2718, allocations: 94.94 kB / 0.9045 GB, free: 60 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/0.2718, allocations: 12 kB / 0.9045 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.2719, allocations: 334.8 kB / 0.9048 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005301/0.2725, allocations: 145.1 kB / 0.905 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006217/0.2731, allocations: 243.4 kB / 0.9052 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004109/0.2736, allocations: 94.19 kB / 0.9053 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.2736, allocations: 0 / 0.9053 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001303/0.2749, allocations: 410.8 kB / 0.9057 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.275, allocations: 6.188 kB / 0.9057 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.275, allocations: 4 kB / 0.9057 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/0.275, allocations: 7.984 kB / 0.9057 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.2752, allocations: 31.86 kB / 0.9057 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.2753, allocations: 4 kB / 0.9057 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.2757, allocations: 39.73 kB / 0.9058 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.323e-05/0.2757, allocations: 16 kB / 0.9058 GB, free: 58.63 MB / 0.6042 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.falCle.clr,$PRE.truCle.clr,$PRE.iniFalOut.clr,$PRE.iniTruOut.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition26,$whenCondition25,tru.y,fal.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.falCle.u,falCle.u,$PRE.falCle.y,falCle.y,$PRE.truCle.u,truCle.u,$PRE.truCle.y,truCle.y,$PRE.iniFalOut.u,iniFalOut.u,$PRE.iniFalOut.y,iniFalOut.y,$PRE.iniTruOut.u,iniTruOut.u,$PRE.iniTruOut.y,iniTruOut.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.pulseStart,cleInp.pulseStart,$PRE.togInp.pulseStart,togInp.pulseStart,iniTruOut.clr,iniFalOut.clr,falCle.clr,truCle.clr) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * 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.0003081/0.2761, allocations: 179 kB / 0.906 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.2762, allocations: 27.67 kB / 0.906 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.2764, allocations: 38.31 kB / 0.906 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.2764, allocations: 4 kB / 0.906 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.2764, allocations: 3.984 kB / 0.906 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.2764, allocations: 4 kB / 0.906 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.2788, allocations: 0.8849 MB / 0.9069 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.2789, allocations: 0 / 0.9069 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.652e-05/0.279, allocations: 7.938 kB / 0.9069 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.279, allocations: 8 kB / 0.9069 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.806e-05/0.2791, allocations: 23.91 kB / 0.9069 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.2791, allocations: 7.984 kB / 0.9069 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2791, allocations: 0 / 0.9069 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.2804, allocations: 498.6 kB / 0.9074 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/0.2805, allocations: 100.8 kB / 0.9075 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.2807, allocations: 24 kB / 0.9075 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.2811, allocations: 27.97 kB / 0.9076 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003848/0.2815, allocations: 95.8 kB / 0.9077 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-05/0.2816, allocations: 35.91 kB / 0.9077 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001145/0.2818, allocations: 111 kB / 0.9078 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.71e-07/0.2818, allocations: 0 / 0.9078 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000821/0.2826, allocations: 75.98 kB / 0.9079 GB, free: 56.39 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 (swiCleInp1.clr,swiCleInp.clr,$whenCondition26,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,falCle.u,falCle.y,truCle.u,truCle.y,iniFalOut.u,iniFalOut.y,iniTruOut.u,iniTruOut.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y,cleInp.pulseStart,togInp.pulseStart) * Number of discrete states: 12 (iniFalOut.u,iniFalOut.y,iniTruOut.u,iniTruOut.y,falCle.u,falCle.y,truCle.u,truCle.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * 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.0003024/0.2829, allocations: 141.8 kB / 0.908 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.2842, allocations: 375.2 kB / 0.9084 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.2843, allocations: 0 / 0.9084 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006151/0.2849, allocations: 211.8 kB / 0.9086 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000529/0.2854, allocations: 32.53 kB / 0.9086 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.2872, allocations: 0.4956 MB / 0.9091 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.2875, allocations: 0.7374 MB / 0.9098 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002998/0.2878, allocations: 42.95 kB / 0.9098 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003434/0.2882, allocations: 47.41 kB / 0.9099 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of SimCode: time 1.292e-06/0.2882, allocations: 0 / 0.9099 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.01286/0.3011, allocations: 3.533 MB / 0.9133 GB, free: 50.75 MB / 0.6042 GB