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.Switch.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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.31/2.31, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001478/0.001478, allocations: 183 kB / 325.6 MB, free: 2.82 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.428/2.428, allocations: 205.4 MB / 0.5766 GB, free: 20.74 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.001634/0.001634, allocations: 109.1 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.0004596, allocations: 11.88 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2214, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2366/0.4581, allocations: 131.6 MB / 1.027 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.4585, allocations: 67.97 kB / 1.027 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00503/0.4635, allocations: 1.11 MB / 1.029 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4636, allocations: 0 / 1.029 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.4636, allocations: 4 kB / 1.029 GB, free: 12.54 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008492/0.4644, allocations: 391.1 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.4645, allocations: 8.031 kB / 1.029 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.4646, allocations: 11.91 kB / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.4648, allocations: 178.9 kB / 1.029 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.4648, allocations: 7.938 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.4648, allocations: 7.984 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.4653, allocations: 93.58 kB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4653, allocations: 0 / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.4653, allocations: 0 / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.4653, allocations: 4 kB / 1.029 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006072/0.466, allocations: 95.92 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006205/0.4666, allocations: 296.7 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.467, allocations: 78.47 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.467, allocations: 0 / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004844/0.4675, allocations: 95.48 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 2.605e-06/0.4675, allocations: 4 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.001064/0.4686, allocations: 185.5 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.4687, allocations: 59.3 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.4688, allocations: 113 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.4689, allocations: 25.7 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.469, allocations: 96.12 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.469, allocations: 15.75 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/0.469, allocations: 4 kB / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4692, allocations: 318.8 kB / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.4695, allocations: 47.97 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.4699, allocations: 61.67 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.4702, allocations: 48.22 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4702, allocations: 0 / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006831/0.4709, allocations: 153.5 kB / 1.031 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.4709, allocations: 4 kB / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.4709, allocations: 0 / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.471, allocations: 0 / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.4712, allocations: 28.02 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4712, allocations: 0 / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.4715, allocations: 27.92 kB / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.4715, allocations: 11.94 kB / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001323/0.4717, allocations: 109.8 kB / 1.031 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.4717, allocations: 11.91 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.015e-05/0.4718, allocations: 16.36 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.4718, allocations: 3.938 kB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4718, allocations: 0 / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4718, allocations: 0 / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.4721, allocations: 181.5 kB / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4721, allocations: 0 / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.4723, allocations: 27.97 kB / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4723, allocations: 4 kB / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.4724, allocations: 0 / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4724, allocations: 4 kB / 1.031 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4724, allocations: 0 / 1.031 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007036/0.4731, allocations: 164.9 kB / 1.031 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.4732, allocations: 85 kB / 1.031 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.4732, allocations: 0 / 1.031 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.4734, allocations: 27.97 kB / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.4735, allocations: 11.98 kB / 1.032 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.4735, allocations: 7.938 kB / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.031e-05/0.4736, allocations: 91.27 kB / 1.032 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.21e-07/0.4736, allocations: 0 / 1.032 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000261/0.4739, allocations: 16 kB / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001589/0.4741, allocations: 99.38 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006711/0.4748, allocations: 107.9 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4748, allocations: 0 / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003398/0.4751, allocations: 63.89 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.4754, allocations: 16.02 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/0.476, allocations: 182.4 kB / 1.032 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.4763, allocations: 0.6948 MB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.622e-05/0.4764, allocations: 8.172 kB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.4765, allocations: 11.44 kB / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of SimCode: time 1.182e-06/0.4765, allocations: 0 / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of Templates: time 0.004271/0.4808, allocations: 0.8198 MB / 1.034 GB, free: 7.008 MB / 0.6823 GB