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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01602/0.01602, allocations: 106.2 kB / 15.05 MB, free: 5.984 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.001181/0.00118, allocations: 183.8 kB / 15.94 MB, free: 5.941 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 1.933/1.933, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.39/2.39, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006704/0.0006703, allocations: 16 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7245/0.7252, allocations: 98.72 MB / 0.6835 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/0.955, allocations: 124.8 MB / 0.8053 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.9554, allocations: 75.95 kB / 0.8054 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.006685/0.9621, allocations: 1.6 MB / 0.8069 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9621, allocations: 0 / 0.8069 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.9621, allocations: 0 / 0.8069 GB, free: 15.74 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.0008917/0.963, allocations: 440.5 kB / 0.8073 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.9631, allocations: 8.031 kB / 0.8074 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.725e-05/0.9632, allocations: 42.55 kB / 0.8074 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.9632, allocations: 15.91 kB / 0.8074 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.9635, allocations: 186.9 kB / 0.8076 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.9635, allocations: 8.188 kB / 0.8076 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.9635, allocations: 12 kB / 0.8076 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.9638, allocations: 91.14 kB / 0.8077 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.9638, allocations: 0 / 0.8077 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/0.9639, allocations: 4 kB / 0.8077 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.9639, allocations: 7.984 kB / 0.8077 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.9642, allocations: 60.47 kB / 0.8078 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008722/0.9651, allocations: 393.3 kB / 0.8081 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.9653, allocations: 86.55 kB / 0.8082 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.9654, allocations: 0 / 0.8082 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000293/0.9657, allocations: 99.53 kB / 0.8083 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.295e-06/0.9657, allocations: 0 / 0.8083 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0004982/0.9662, allocations: 145.5 kB / 0.8085 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.9663, allocations: 51.41 kB / 0.8085 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.9665, allocations: 144.6 kB / 0.8086 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.9665, allocations: 33.7 kB / 0.8087 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.37e-05/0.9666, allocations: 104 kB / 0.8088 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/0.9667, allocations: 27.61 kB / 0.8088 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.36e-05/0.9667, allocations: 4 kB / 0.8088 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.9669, allocations: 327 kB / 0.8091 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.967, allocations: 28 kB / 0.8091 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.9671, allocations: 64.69 kB / 0.8092 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.691e-05/0.9672, allocations: 31.94 kB / 0.8092 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9673, allocations: 0 / 0.8092 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003103/0.9676, allocations: 130 kB / 0.8094 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.9676, allocations: 4 kB / 0.8094 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.9676, allocations: 7.984 kB / 0.8094 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.9677, allocations: 0 / 0.8094 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.9678, allocations: 19.94 kB / 0.8094 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-05/0.9679, allocations: 4.094 kB / 0.8094 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.9682, allocations: 27.88 kB / 0.8094 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.9682, allocations: 4 kB / 0.8094 GB, free: 12.94 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 () * 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.0001508/0.9683, allocations: 129.8 kB / 0.8095 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.9684, allocations: 19.77 kB / 0.8096 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.773e-05/0.9685, allocations: 16.84 kB / 0.8096 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.9685, allocations: 0 / 0.8096 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.9685, allocations: 0 / 0.8096 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.9685, allocations: 3.984 kB / 0.8096 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.9688, allocations: 217.6 kB / 0.8098 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.9688, allocations: 0 / 0.8098 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.367e-05/0.9689, allocations: 11.98 kB / 0.8098 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.969, allocations: 0 / 0.8098 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.969, allocations: 3.953 kB / 0.8098 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.969, allocations: 3.938 kB / 0.8098 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.969, allocations: 0 / 0.8098 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.9693, allocations: 151.4 kB / 0.81 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.076e-05/0.9694, allocations: 96.91 kB / 0.81 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.9695, allocations: 0 / 0.81 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.9697, allocations: 27.94 kB / 0.8101 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/0.9698, allocations: 15.97 kB / 0.8101 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.9698, allocations: 4 kB / 0.8101 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001227/0.9699, allocations: 120.7 kB / 0.8102 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9699, allocations: 0 / 0.8102 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002858/0.9702, allocations: 24 kB / 0.8102 GB, free: 12.02 MB / 0.6355 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.0006922/0.9709, allocations: 0.6939 MB / 0.8109 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002913/0.9712, allocations: 83.91 kB / 0.811 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9713, allocations: 0 / 0.811 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.9714, allocations: 47.98 kB / 0.811 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.9718, allocations: 35.75 kB / 0.8111 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.9736, allocations: 1.187 MB / 0.8122 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.974, allocations: 0.7164 MB / 0.8129 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.396e-05/0.9741, allocations: 17.06 kB / 0.8129 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.9742, allocations: 39.42 kB / 0.813 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of SimCode: time 1.002e-06/0.9742, allocations: 0 / 0.813 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.9965, allocations: 2.48 MB / 0.8154 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/0.9968, allocations: 188.6 kB / 0.8156 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/3.48, allocations: 0 / 0.8156 GB, free: 6.492 MB / 0.6355 GB