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.02349/0.02349, allocations: 221.1 kB / 15.17 MB, free: 5.996 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.002073/0.002073, allocations: 179.2 kB / 16.06 MB, free: 5.867 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.746/3.746, allocations: 389.1 MB / 405.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.247/4.247, allocations: 472.3 MB / 0.9018 GB, free: 76 kB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004814/0.0004817, allocations: 12 kB / 1.008 GB, free: 4.234 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6644/0.6649, allocations: 98.71 MB / 1.104 GB, free: 206.2 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001274/0.6662, allocations: 1.024 MB / 1.105 GB, free: 205.4 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003775/0.6666, allocations: 180.1 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.796e-05/0.6667, allocations: 0 / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.6667, allocations: 4.781 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.358e-05/0.6668, allocations: 1.922 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001072/0.6669, allocations: 14.09 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.062e-05/0.667, allocations: 26.91 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.592e-05/0.6671, allocations: 8.969 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.796e-05/0.6671, allocations: 8.828 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.599e-05/0.6672, allocations: 15.12 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.6672, allocations: 3.312 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.014e-05/0.6672, allocations: 1.031 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.6672, allocations: 2.266 kB / 1.105 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.6673, allocations: 35.38 kB / 1.105 GB, free: 205.2 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.081e-05/0.6673, allocations: 16.88 kB / 1.105 GB, free: 205.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6674, allocations: 3.469 kB / 1.105 GB, free: 205.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.856e-06/0.6674, allocations: 3.281 kB / 1.105 GB, free: 205.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.6674, allocations: 1.094 kB / 1.105 GB, free: 205.2 MB / 0.7136 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.0003824/0.6678, allocations: 349 kB / 1.106 GB, free: 204.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.6678, allocations: 13.16 kB / 1.106 GB, free: 204.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.6679, allocations: 1.984 kB / 1.106 GB, free: 204.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.136e-05/0.668, allocations: 169.6 kB / 1.106 GB, free: 204.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.668, allocations: 2.672 kB / 1.106 GB, free: 204.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.668, allocations: 1.281 kB / 1.106 GB, free: 204.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.099e-05/0.6681, allocations: 39 kB / 1.106 GB, free: 204.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.993e-06/0.6681, allocations: 1.344 kB / 1.106 GB, free: 204.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.6682, allocations: 4.516 kB / 1.106 GB, free: 204.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.926e-06/0.6682, allocations: 1.094 kB / 1.106 GB, free: 204.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.528e-05/0.6682, allocations: 11.56 kB / 1.106 GB, free: 204.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.6686, allocations: 262.2 kB / 1.106 GB, free: 204.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.669, allocations: 93.11 kB / 1.106 GB, free: 204.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.672e-05/0.669, allocations: 14.22 kB / 1.106 GB, free: 204.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.669, allocations: 0.6562 kB / 1.106 GB, free: 204.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.6692, allocations: 61.5 kB / 1.106 GB, free: 204.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.64e-06/0.6692, allocations: 3.938 kB / 1.106 GB, free: 204.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001894/0.6694, allocations: 62.45 kB / 1.106 GB, free: 204.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.6695, allocations: 59.47 kB / 1.106 GB, free: 204.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.083e-05/0.6695, allocations: 105.2 kB / 1.107 GB, free: 204 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.6696, allocations: 30.83 kB / 1.107 GB, free: 204 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.6696, allocations: 81.95 kB / 1.107 GB, free: 203.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.6696, allocations: 6 kB / 1.107 GB, free: 203.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-06/0.6696, allocations: 8.125 kB / 1.107 GB, free: 203.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.031e-05/0.6697, allocations: 313.6 kB / 1.107 GB, free: 203.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.195e-05/0.6697, allocations: 9.375 kB / 1.107 GB, free: 203.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.801e-05/0.6698, allocations: 20.69 kB / 1.107 GB, free: 203.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.211e-05/0.6698, allocations: 11.31 kB / 1.107 GB, free: 203.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.393e-06/0.6698, allocations: 1.656 kB / 1.107 GB, free: 203.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000119/0.67, allocations: 61.27 kB / 1.107 GB, free: 203.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.67, allocations: 4.875 kB / 1.107 GB, free: 203.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.945e-06/0.67, allocations: 1.844 kB / 1.107 GB, free: 203.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.67, allocations: 0 / 1.107 GB, free: 203.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.811e-05/0.6701, allocations: 9.469 kB / 1.107 GB, free: 203.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.6701, allocations: 7.938 kB / 1.107 GB, free: 203.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.233e-05/0.6702, allocations: 14.03 kB / 1.107 GB, free: 203.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-06/0.6702, allocations: 9.438 kB / 1.107 GB, free: 203.5 MB / 0.7136 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 6.095e-05/0.6703, allocations: 113.7 kB / 1.107 GB, free: 203.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.6703, allocations: 3.359 kB / 1.107 GB, free: 203.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.6703, allocations: 8.469 kB / 1.107 GB, free: 203.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.091e-06/0.6703, allocations: 4.344 kB / 1.107 GB, free: 203.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.728e-06/0.6704, allocations: 1.656 kB / 1.107 GB, free: 203.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.055e-06/0.6704, allocations: 0 / 1.107 GB, free: 203.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.6705, allocations: 163.3 kB / 1.107 GB, free: 203.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.698e-06/0.6705, allocations: 1.969 kB / 1.107 GB, free: 203.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.22e-05/0.6705, allocations: 1.375 kB / 1.107 GB, free: 203.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.937e-06/0.6706, allocations: 5.578 kB / 1.107 GB, free: 203.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-06/0.6706, allocations: 0 / 1.107 GB, free: 203.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.92e-06/0.6706, allocations: 0.5625 kB / 1.107 GB, free: 203.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.361e-06/0.6706, allocations: 3.469 kB / 1.107 GB, free: 203.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.6707, allocations: 91.56 kB / 1.107 GB, free: 203.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.628e-05/0.6708, allocations: 79.67 kB / 1.108 GB, free: 203 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.6708, allocations: 0.6094 kB / 1.108 GB, free: 203 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.6709, allocations: 10.25 kB / 1.108 GB, free: 203 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.6709, allocations: 5.75 kB / 1.108 GB, free: 203 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.102e-06/0.671, allocations: 2.281 kB / 1.108 GB, free: 203 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.846e-05/0.671, allocations: 85.25 kB / 1.108 GB, free: 202.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.51e-07/0.671, allocations: 1 kB / 1.108 GB, free: 202.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002457/0.6713, allocations: 5.75 kB / 1.108 GB, free: 202.9 MB / 0.7136 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.0001089/0.6714, allocations: 106.3 kB / 1.108 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.6715, allocations: 29.3 kB / 1.108 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.591e-06/0.6715, allocations: 1.531 kB / 1.108 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.786e-05/0.6716, allocations: 13.34 kB / 1.108 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.6718, allocations: 9.844 kB / 1.108 GB, free: 202.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.6722, allocations: 142.5 kB / 1.108 GB, free: 202.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.6723, allocations: 0.6855 MB / 1.109 GB, free: 202 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.054e-05/0.6724, allocations: 3.469 kB / 1.109 GB, free: 202 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.6724, allocations: 13.19 kB / 1.109 GB, free: 202 MB / 0.7136 GB Notification: Performance of SimCode: time 2.416e-06/0.6725, allocations: 0 / 1.109 GB, free: 202 MB / 0.7136 GB Notification: Performance of Templates: time 0.003007/0.6755, allocations: 476.2 kB / 1.109 GB, free: 202 MB / 0.7136 GB