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.LogicalSwitch.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.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.542/2.542, allocations: 252.6 MB / 265.2 MB, free: 5.75 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001992/0.001992, allocations: 183.8 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.18/2.18, allocations: 205.4 MB / 0.5754 GB, free: 10.48 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.001108/0.001108, allocations: 104.3 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.62e-05/5.637e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2184, allocations: 106.2 MB / 0.8949 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.959/1.177, allocations: 131.2 MB / 1.023 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/1.178, allocations: 72.64 kB / 1.023 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00486/1.183, allocations: 1.165 MB / 1.024 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.968e-06/1.183, allocations: 0 / 1.024 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.296e-06/1.183, allocations: 3.938 kB / 1.024 GB, free: 2.145 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006624/1.183, allocations: 381.3 kB / 1.025 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/1.183, allocations: 12.03 kB / 1.025 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/1.184, allocations: 3.984 kB / 1.025 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/1.184, allocations: 182.8 kB / 1.025 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/1.184, allocations: 8 kB / 1.025 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/1.184, allocations: 4 kB / 1.025 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/1.184, allocations: 64.8 kB / 1.025 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/1.184, allocations: 0 / 1.025 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/1.184, allocations: 0 / 1.025 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/1.184, allocations: 0 / 1.025 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/1.184, allocations: 30.69 kB / 1.025 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/1.185, allocations: 307 kB / 1.025 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/1.185, allocations: 58.14 kB / 1.025 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.233e-05/1.185, allocations: 27.97 kB / 1.025 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/1.185, allocations: 0 / 1.025 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/1.185, allocations: 78.2 kB / 1.025 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/1.185, allocations: 0 / 1.025 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002985/1.186, allocations: 100.7 kB / 1.025 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/1.186, allocations: 55 kB / 1.026 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/1.186, allocations: 124.5 kB / 1.026 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/1.186, allocations: 28.39 kB / 1.026 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/1.186, allocations: 87.95 kB / 1.026 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/1.186, allocations: 26.66 kB / 1.026 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-06/1.186, allocations: 4 kB / 1.026 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.186, allocations: 313.8 kB / 1.026 GB, free: 208 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/1.186, allocations: 27.75 kB / 1.026 GB, free: 188 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.747e-05/1.186, allocations: 46.23 kB / 1.026 GB, free: 136 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.757e-05/1.186, allocations: 18.94 kB / 1.026 GB, free: 124 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.186, allocations: 0 / 1.026 GB, free: 124 kB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002338/1.187, allocations: 107.9 kB / 1.026 GB, free: 24 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/1.187, allocations: 4 kB / 1.026 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.187, allocations: 4 kB / 1.026 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/1.187, allocations: 0 / 1.026 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/1.187, allocations: 11.94 kB / 1.026 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.509e-05/1.187, allocations: 8.078 kB / 1.026 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/1.187, allocations: 31.52 kB / 1.026 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/1.187, allocations: 4.062 kB / 1.026 GB, free: 15.96 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001026/1.187, allocations: 118.9 kB / 1.026 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/1.187, allocations: 7.906 kB / 1.026 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.279e-05/1.187, allocations: 11.38 kB / 1.026 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.187, allocations: 0 / 1.026 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/1.187, allocations: 0 / 1.026 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/1.187, allocations: 11.94 kB / 1.026 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/1.188, allocations: 180.6 kB / 1.027 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/1.188, allocations: 7.984 kB / 1.027 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.677e-05/1.188, allocations: 4 kB / 1.027 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/1.188, allocations: 0 / 1.027 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/1.188, allocations: 4.094 kB / 1.027 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/1.188, allocations: 11.88 kB / 1.027 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.188, allocations: 0 / 1.027 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/1.188, allocations: 117.7 kB / 1.027 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/1.188, allocations: 88.95 kB / 1.027 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/1.188, allocations: 0 / 1.027 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/1.188, allocations: 31.16 kB / 1.027 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/1.188, allocations: 7.984 kB / 1.027 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/1.188, allocations: 4 kB / 1.027 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.003e-05/1.189, allocations: 99.19 kB / 1.027 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.189, allocations: 0 / 1.027 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002609/1.189, allocations: 19.94 kB / 1.027 GB, free: 15.21 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001627/1.189, allocations: 101.1 kB / 1.027 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002597/1.189, allocations: 65.55 kB / 1.027 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.189, allocations: 0 / 1.027 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/1.189, allocations: 35.56 kB / 1.027 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/1.19, allocations: 23.7 kB / 1.027 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/1.19, allocations: 128.9 kB / 1.027 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/1.19, allocations: 0.6965 MB / 1.028 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.036e-05/1.191, allocations: 4.562 kB / 1.028 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/1.191, allocations: 11.44 kB / 1.028 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of SimCode: time 1.092e-06/1.191, allocations: 0 / 1.028 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of Templates: time 0.004773/1.195, allocations: 1.06 MB / 1.029 GB, free: 13.1 MB / 0.6511 GB