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.Conversions.Validation.BooleanToInteger.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.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01508/0.01508, allocations: 109.5 kB / 15.05 MB, free: 5.965 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.001812/0.001812, allocations: 185 kB / 15.94 MB, free: 5.93 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 2.013/2.013, allocations: 194.5 MB / 211.3 MB, free: 11.09 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.551/2.551, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004535/0.0004537, allocations: 12 kB / 0.587 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6121/0.6126, allocations: 98.7 MB / 0.6833 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2256/0.8382, allocations: 124.3 MB / 0.8048 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.8385, allocations: 75.95 kB / 0.8048 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002028/0.8405, allocations: 0.6373 MB / 0.8055 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.461e-06/0.8406, allocations: 0 / 0.8055 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.702e-06/0.8406, allocations: 4 kB / 0.8055 GB, free: 1.133 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004328/0.841, allocations: 348.5 kB / 0.8058 GB, free: 0.7461 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.8411, allocations: 12.03 kB / 0.8058 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.8411, allocations: 3.906 kB / 0.8058 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.8413, allocations: 175 kB / 0.806 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.8413, allocations: 7.938 kB / 0.806 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.8413, allocations: 4 kB / 0.806 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.8415, allocations: 37.69 kB / 0.806 GB, free: 476 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.07e-06/0.8415, allocations: 0 / 0.806 GB, free: 476 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.8415, allocations: 3.984 kB / 0.806 GB, free: 472 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.718e-06/0.8415, allocations: 4 kB / 0.806 GB, free: 468 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.496e-05/0.8416, allocations: 8 kB / 0.806 GB, free: 460 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.842, allocations: 272.8 kB / 0.8063 GB, free: 136 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/0.8424, allocations: 90.52 kB / 0.8064 GB, free: 36 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.8425, allocations: 4 kB / 0.8064 GB, free: 32 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.8427, allocations: 55.58 kB / 0.8064 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.466e-06/0.8427, allocations: 0 / 0.8064 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002163/0.8429, allocations: 65.53 kB / 0.8065 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.843, allocations: 59.39 kB / 0.8066 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.708e-05/0.8431, allocations: 101 kB / 0.8067 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.8431, allocations: 25.7 kB / 0.8067 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.8432, allocations: 88.14 kB / 0.8068 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.8432, allocations: 7.891 kB / 0.8068 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-06/0.8432, allocations: 0 / 0.8068 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.8434, allocations: 314.8 kB / 0.8071 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.115e-05/0.8434, allocations: 7.938 kB / 0.8071 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-05/0.8435, allocations: 29.7 kB / 0.8071 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.771e-05/0.8436, allocations: 8 kB / 0.8071 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.642e-06/0.8436, allocations: 0 / 0.8071 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001433/0.8437, allocations: 61.62 kB / 0.8072 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.8437, allocations: 4 kB / 0.8072 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.58e-06/0.8438, allocations: 0 / 0.8072 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.8438, allocations: 0 / 0.8072 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.834e-05/0.8438, allocations: 4 kB / 0.8072 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.283e-06/0.8439, allocations: 0 / 0.8072 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.349e-05/0.844, allocations: 16.02 kB / 0.8072 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.844, allocations: 3.953 kB / 0.8072 GB, free: 15.12 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booToInt.y,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 (5): * Single equations (assignments): 5 * 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.00011/0.8441, allocations: 117.8 kB / 0.8073 GB, free: 15 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.8441, allocations: 3.906 kB / 0.8073 GB, free: 15 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.8442, allocations: 7.906 kB / 0.8073 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.472e-06/0.8442, allocations: 0 / 0.8073 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.613e-06/0.8442, allocations: 0 / 0.8073 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.551e-06/0.8442, allocations: 0 / 0.8073 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.8444, allocations: 173.6 kB / 0.8075 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-06/0.8444, allocations: 0 / 0.8075 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.075e-05/0.8445, allocations: 0 / 0.8075 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.104e-06/0.8445, allocations: 0 / 0.8075 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.8445, allocations: 4 kB / 0.8075 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.483e-06/0.8445, allocations: 4.359 kB / 0.8075 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.125e-06/0.8445, allocations: 3.984 kB / 0.8075 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.8447, allocations: 81.3 kB / 0.8076 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.107e-05/0.8448, allocations: 92.95 kB / 0.8077 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.8448, allocations: 4 kB / 0.8077 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.81e-05/0.8449, allocations: 7.984 kB / 0.8077 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.8449, allocations: 11.94 kB / 0.8077 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-06/0.8449, allocations: 0 / 0.8077 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.762e-05/0.845, allocations: 83.27 kB / 0.8078 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.049e-06/0.845, allocations: 0 / 0.8078 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000257/0.8453, allocations: 15.94 kB / 0.8078 GB, free: 14.42 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: 4 ($whenCondition1,booToInt.y,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0001427/0.8455, allocations: 103.2 kB / 0.8079 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.8456, allocations: 19.98 kB / 0.8079 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.8456, allocations: 4 kB / 0.8079 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.52e-05/0.8457, allocations: 15.94 kB / 0.8079 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.8459, allocations: 18 kB / 0.8079 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.8462, allocations: 130.7 kB / 0.8081 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.8466, allocations: 0.6848 MB / 0.8087 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.823e-05/0.8467, allocations: 0 / 0.8087 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.8467, allocations: 11.44 kB / 0.8087 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of SimCode: time 1.514e-06/0.8467, allocations: 0 / 0.8087 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of Templates: time 0.002873/0.8496, allocations: 469.5 kB / 0.8092 GB, free: 12.93 MB / 0.6355 GB