Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadModel(Buildings): time 4.272/4.272, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.948e-05/2.967e-05, allocations: 5.531 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1794, allocations: 98.73 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2395/0.4189, allocations: 124.7 MB / 0.7565 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.4192, allocations: 71.95 kB / 0.7566 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006157/0.4254, allocations: 1.595 MB / 0.7581 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of FrontEnd: time 8.376e-06/0.4255, allocations: 0 / 0.7581 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.4255, allocations: 11.94 kB / 0.7581 GB, free: 3.359 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006537/0.4262, allocations: 407.9 kB / 0.7585 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.4262, allocations: 12.03 kB / 0.7585 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.4263, allocations: 11.81 kB / 0.7585 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.4265, allocations: 179.1 kB / 0.7587 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.4265, allocations: 12.19 kB / 0.7587 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.4266, allocations: 11.98 kB / 0.7587 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.4268, allocations: 91.27 kB / 0.7588 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.119e-06/0.4268, allocations: 0 / 0.7588 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.4269, allocations: 15.94 kB / 0.7588 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.294e-06/0.4269, allocations: 0 / 0.7588 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.4271, allocations: 52.56 kB / 0.7589 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007761/0.4279, allocations: 397.3 kB / 0.7593 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.4281, allocations: 78.53 kB / 0.7593 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.888e-05/0.4282, allocations: 36.81 kB / 0.7594 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.4282, allocations: 0 / 0.7594 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.4285, allocations: 99.59 kB / 0.7595 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.952e-06/0.4285, allocations: 4 kB / 0.7595 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0003069/0.4288, allocations: 109.5 kB / 0.7596 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.4289, allocations: 55.41 kB / 0.7596 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.4291, allocations: 152.1 kB / 0.7598 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.4291, allocations: 25.7 kB / 0.7598 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.962e-05/0.4292, allocations: 108.2 kB / 0.7599 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.4293, allocations: 27.64 kB / 0.7599 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/0.4293, allocations: 8 kB / 0.7599 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4295, allocations: 322.8 kB / 0.7603 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.745e-05/0.4296, allocations: 32 kB / 0.7603 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.4297, allocations: 53.3 kB / 0.7603 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.405e-05/0.4298, allocations: 32.06 kB / 0.7604 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.182e-06/0.4298, allocations: 0 / 0.7604 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002868/0.4301, allocations: 133.4 kB / 0.7605 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.4301, allocations: 4 kB / 0.7605 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.74e-06/0.4301, allocations: 0 / 0.7605 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.4302, allocations: 4 kB / 0.7605 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.4303, allocations: 19.98 kB / 0.7605 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.493e-06/0.4303, allocations: 3.938 kB / 0.7605 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.4305, allocations: 31.92 kB / 0.7606 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.4305, allocations: 8 kB / 0.7606 GB, free: 0.6445 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.000114/0.4307, allocations: 117 kB / 0.7607 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.4307, allocations: 15.84 kB / 0.7607 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.4308, allocations: 16.75 kB / 0.7607 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.392e-06/0.4308, allocations: 0 / 0.7607 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.541e-06/0.4308, allocations: 0 / 0.7607 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.4308, allocations: 0 / 0.7607 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.4311, allocations: 217.6 kB / 0.7609 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.595e-06/0.4311, allocations: 4 kB / 0.7609 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.659e-05/0.4312, allocations: 11.94 kB / 0.7609 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4312, allocations: 0 / 0.7609 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.4313, allocations: 11.94 kB / 0.7609 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.844e-06/0.4313, allocations: 3.938 kB / 0.7609 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.4313, allocations: 4 kB / 0.7609 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.4316, allocations: 136.9 kB / 0.7611 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.209e-05/0.4317, allocations: 85.02 kB / 0.7612 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.4317, allocations: 8 kB / 0.7612 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.4319, allocations: 23.92 kB / 0.7612 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.432, allocations: 19.97 kB / 0.7612 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.432, allocations: 4 kB / 0.7612 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001267/0.4321, allocations: 117.1 kB / 0.7613 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.63e-07/0.4322, allocations: 4 kB / 0.7613 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003016/0.4325, allocations: 23.94 kB / 0.7613 GB, free: 15.75 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: 14 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0001545/0.4326, allocations: 111.2 kB / 0.7615 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002574/0.4329, allocations: 83.94 kB / 0.7615 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.849e-06/0.4329, allocations: 0 / 0.7615 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.4331, allocations: 47.92 kB / 0.7616 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.4334, allocations: 26.41 kB / 0.7616 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.4339, allocations: 166.4 kB / 0.7618 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.4343, allocations: 0.7087 MB / 0.7625 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.33e-05/0.4344, allocations: 13.2 kB / 0.7625 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.4344, allocations: 15.44 kB / 0.7625 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of SimCode: time 1.711e-06/0.4344, allocations: 4 kB / 0.7625 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of Templates: time 0.004995/0.4394, allocations: 1.217 MB / 0.7637 GB, free: 13.32 MB / 0.6511 GB