Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004297/0.004297, allocations: 230.4 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001142/0.001142, allocations: 178.3 kB / 16.71 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.881/3.881, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.178/4.178, allocations: 472.3 MB / 0.9024 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005216/0.0005218, allocations: 16.22 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1818, allocations: 98.72 MB / 1.105 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7733/0.9551, allocations: 124.8 MB / 1.227 GB, free: 28.44 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.9554, allocations: 76.75 kB / 1.227 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.006243/0.9617, allocations: 1.593 MB / 1.228 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9617, allocations: 0 / 1.228 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.9618, allocations: 4 kB / 1.228 GB, free: 27.45 MB / 0.6198 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.0007328/0.9625, allocations: 433.7 kB / 1.229 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.9626, allocations: 8.031 kB / 1.229 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.9626, allocations: 13.62 kB / 1.229 GB, free: 27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.9628, allocations: 192.5 kB / 1.229 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.9628, allocations: 7.438 kB / 1.229 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.9628, allocations: 4 kB / 1.229 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.9631, allocations: 100 kB / 1.229 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.9631, allocations: 0 / 1.229 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.9631, allocations: 0 / 1.229 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.9632, allocations: 4 kB / 1.229 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.9633, allocations: 63.09 kB / 1.229 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007372/0.9641, allocations: 386 kB / 1.229 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.9643, allocations: 96.66 kB / 1.229 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.859e-05/0.9644, allocations: 33.42 kB / 1.229 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.9645, allocations: 5.688 kB / 1.229 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002562/0.9647, allocations: 90.66 kB / 1.23 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 2.334e-06/0.9647, allocations: 0 / 1.23 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0004242/0.9652, allocations: 147.2 kB / 1.23 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.9652, allocations: 58.02 kB / 1.23 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.9654, allocations: 159.8 kB / 1.23 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.9655, allocations: 28.64 kB / 1.23 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/0.9655, allocations: 113.2 kB / 1.23 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.9656, allocations: 24.98 kB / 1.23 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.9656, allocations: 3.312 kB / 1.23 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.9658, allocations: 329.1 kB / 1.23 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.504e-05/0.9658, allocations: 24.22 kB / 1.23 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.966, allocations: 64.88 kB / 1.23 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.681e-05/0.9661, allocations: 32.88 kB / 1.23 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.9661, allocations: 0 / 1.23 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002649/0.9664, allocations: 130.1 kB / 1.231 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.9664, allocations: 5.641 kB / 1.231 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.9664, allocations: 0 / 1.231 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.9664, allocations: 4 kB / 1.231 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.9666, allocations: 17.67 kB / 1.231 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.9666, allocations: 0 / 1.231 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.9668, allocations: 33.67 kB / 1.231 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.9669, allocations: 4.656 kB / 1.231 GB, free: 25.16 MB / 0.6198 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 () * Number of clocked 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.000144/0.967, allocations: 123.5 kB / 1.231 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.9671, allocations: 16.52 kB / 1.231 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.36e-05/0.9671, allocations: 16.23 kB / 1.231 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.9671, allocations: 6.969 kB / 1.231 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.9672, allocations: 4.641 kB / 1.231 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.9672, allocations: 0.75 kB / 1.231 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.9674, allocations: 218.8 kB / 1.231 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.9674, allocations: 0 / 1.231 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.618e-05/0.9675, allocations: 9.172 kB / 1.231 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.9675, allocations: 7.938 kB / 1.231 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.9676, allocations: 4.516 kB / 1.231 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.9676, allocations: 2.562 kB / 1.231 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.9676, allocations: 0 / 1.231 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.9679, allocations: 148.2 kB / 1.231 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.9679, allocations: 90.19 kB / 1.231 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.721e-05/0.968, allocations: 5.344 kB / 1.231 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.9682, allocations: 33.31 kB / 1.231 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/0.9683, allocations: 14.58 kB / 1.231 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.9683, allocations: 5.641 kB / 1.231 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001183/0.9685, allocations: 114.8 kB / 1.231 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.91e-07/0.9685, allocations: 0 / 1.231 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003063/0.9688, allocations: 24.64 kB / 1.231 GB, free: 24.39 MB / 0.6198 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 () * Number of clocked 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.0001434/0.969, allocations: 113.2 kB / 1.232 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002726/0.9692, allocations: 81.02 kB / 1.232 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.9693, allocations: 0 / 1.232 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.9694, allocations: 46.95 kB / 1.232 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.9698, allocations: 27.89 kB / 1.232 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/0.9704, allocations: 272.3 kB / 1.232 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008053/0.9712, allocations: 0.7126 MB / 1.233 GB, free: 39.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.802e-05/0.9713, allocations: 13.08 kB / 1.233 GB, free: 39.22 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.245e-05/0.9714, allocations: 15.44 kB / 1.233 GB, free: 39.21 MB / 0.6355 GB Notification: Performance of SimCode: time 1.233e-06/0.9714, allocations: 0 / 1.233 GB, free: 39.21 MB / 0.6355 GB Notification: Performance of Templates: time 0.005552/0.977, allocations: 1.211 MB / 1.234 GB, free: 38.6 MB / 0.6355 GB