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.01415/0.01415, allocations: 110.6 kB / 15.05 MB, free: 5.961 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.001107/0.001107, allocations: 184.1 kB / 15.94 MB, free: 5.926 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.867/1.867, allocations: 194.6 MB / 211.3 MB, free: 11.24 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.331/2.331, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004659/0.0004658, allocations: 12 kB / 0.587 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6103/0.6107, allocations: 98.71 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2102/0.821, allocations: 124.8 MB / 0.8052 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003836/0.8214, allocations: 75.95 kB / 0.8053 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.009784/0.8312, allocations: 1.596 MB / 0.8068 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.92e-06/0.8313, allocations: 0 / 0.8068 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.8313, allocations: 4 kB / 0.8068 GB, free: 15.85 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.001068/0.8324, allocations: 428.6 kB / 0.8072 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.8324, allocations: 8.031 kB / 0.8072 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.918e-05/0.8325, allocations: 15.91 kB / 0.8073 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.8328, allocations: 194.9 kB / 0.8075 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.709e-05/0.8329, allocations: 8.188 kB / 0.8075 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.833, allocations: 12 kB / 0.8075 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/0.8333, allocations: 87.16 kB / 0.8076 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.8334, allocations: 3.984 kB / 0.8076 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.8334, allocations: 0 / 0.8076 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.8335, allocations: 4 kB / 0.8076 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.8338, allocations: 64.47 kB / 0.8076 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.835, allocations: 389.5 kB / 0.808 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/0.8353, allocations: 78.77 kB / 0.8081 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.8354, allocations: 12.17 kB / 0.8081 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000358/0.8358, allocations: 95.23 kB / 0.8082 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 4.031e-06/0.8358, allocations: 0 / 0.8082 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0006891/0.8365, allocations: 153.5 kB / 0.8083 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.8366, allocations: 51.41 kB / 0.8084 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.8369, allocations: 143.8 kB / 0.8085 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.837, allocations: 33.64 kB / 0.8085 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.8371, allocations: 108 kB / 0.8086 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.8372, allocations: 31.59 kB / 0.8087 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/0.8373, allocations: 4 kB / 0.8087 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002162/0.8375, allocations: 322.8 kB / 0.809 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.8377, allocations: 27.98 kB / 0.809 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.8379, allocations: 56.61 kB / 0.8091 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.8381, allocations: 32.5 kB / 0.8091 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.883e-06/0.8381, allocations: 0 / 0.8091 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005173/0.8386, allocations: 129.5 kB / 0.8092 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.8387, allocations: 7.953 kB / 0.8092 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.8387, allocations: 0 / 0.8092 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.8387, allocations: 7.938 kB / 0.8092 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.8389, allocations: 15.94 kB / 0.8092 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.839, allocations: 0 / 0.8092 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.8393, allocations: 35.97 kB / 0.8093 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.8393, allocations: 4 kB / 0.8093 GB, free: 13.11 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.0002037/0.8396, allocations: 121.8 kB / 0.8094 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.8396, allocations: 15.81 kB / 0.8094 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.975e-05/0.8397, allocations: 20.78 kB / 0.8094 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.8398, allocations: 8 kB / 0.8094 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.8398, allocations: 0 / 0.8094 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.8398, allocations: 3.938 kB / 0.8094 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004216/0.8403, allocations: 213.6 kB / 0.8097 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.781e-06/0.8403, allocations: 4 kB / 0.8097 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.8404, allocations: 4 kB / 0.8097 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/0.8404, allocations: 4 kB / 0.8097 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.8405, allocations: 4 kB / 0.8097 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/0.8405, allocations: 3.953 kB / 0.8097 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.723e-06/0.8405, allocations: 0 / 0.8097 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005236/0.8411, allocations: 149 kB / 0.8098 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.8412, allocations: 92.86 kB / 0.8099 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.8413, allocations: 4 kB / 0.8099 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.8416, allocations: 27.91 kB / 0.8099 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.8417, allocations: 15.94 kB / 0.8099 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.8417, allocations: 11.98 kB / 0.81 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001882/0.8419, allocations: 117.6 kB / 0.8101 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.172e-06/0.842, allocations: 0 / 0.8101 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005488/0.8425, allocations: 24 kB / 0.8101 GB, free: 12.18 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.0002185/0.8428, allocations: 111.2 kB / 0.8102 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000421/0.8432, allocations: 79.91 kB / 0.8103 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.241e-06/0.8432, allocations: 192 / 0.8103 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.8435, allocations: 59.86 kB / 0.8103 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.844, allocations: 19.92 kB / 0.8104 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009117/0.8449, allocations: 266.4 kB / 0.8106 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.8454, allocations: 0.7125 MB / 0.8113 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001147/0.8456, allocations: 13.08 kB / 0.8113 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.392e-05/0.8457, allocations: 19.44 kB / 0.8113 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of SimCode: time 2.022e-06/0.8457, allocations: 0 / 0.8113 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of Templates: time 0.008087/0.8538, allocations: 1.194 MB / 0.8125 GB, free: 9.672 MB / 0.6355 GB