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.01388/0.01388, allocations: 106.8 kB / 15.06 MB, free: 5.562 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.001143/0.001143, allocations: 180.9 kB / 15.95 MB, free: 5.523 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.962/1.962, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.145/2.145, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006361/0.0006363, allocations: 12 kB / 0.587 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5607/0.5614, allocations: 98.71 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001319/0.5627, allocations: 1.014 MB / 0.6843 GB, free: 16.01 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0003843/0.5631, allocations: 183.5 kB / 0.6845 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.657e-05/0.5632, allocations: 0 / 0.6845 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.656e-05/0.5632, allocations: 8.688 kB / 0.6845 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.047e-05/0.5633, allocations: 7.047 kB / 0.6845 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001034/0.5634, allocations: 7.203 kB / 0.6845 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.636e-05/0.5635, allocations: 22.23 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 6.766e-05/0.5636, allocations: 3.391 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.1e-05/0.5636, allocations: 9.703 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.595e-05/0.5637, allocations: 14.16 kB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.5637, allocations: 1.469 kB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.5637, allocations: 1.375 kB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.5637, allocations: 2.359 kB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.5638, allocations: 36.81 kB / 0.6846 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 6.033e-05/0.5638, allocations: 19.97 kB / 0.6846 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.821e-06/0.5638, allocations: 3.938 kB / 0.6846 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5639, allocations: 0 / 0.6846 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.772e-06/0.5639, allocations: 0 / 0.6846 GB, free: 15.8 MB / 0.5261 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.0003716/0.5643, allocations: 341.9 kB / 0.685 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.5643, allocations: 8.844 kB / 0.685 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.5643, allocations: 10.89 kB / 0.685 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.839e-05/0.5644, allocations: 170.7 kB / 0.6852 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.5645, allocations: 1.375 kB / 0.6852 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.5645, allocations: 6.406 kB / 0.6852 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.58e-05/0.5646, allocations: 39.64 kB / 0.6852 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.616e-06/0.5646, allocations: 3.938 kB / 0.6852 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.5646, allocations: 0.5625 kB / 0.6852 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.808e-06/0.5646, allocations: 1.25 kB / 0.6852 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.655e-05/0.5647, allocations: 12.02 kB / 0.6852 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.5651, allocations: 261.9 kB / 0.6855 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.5654, allocations: 92.27 kB / 0.6856 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.5655, allocations: 1.406 kB / 0.6856 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.5656, allocations: 53.41 kB / 0.6856 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.407e-06/0.5656, allocations: 0 / 0.6856 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001947/0.5658, allocations: 69.75 kB / 0.6857 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.5659, allocations: 53.47 kB / 0.6857 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.566, allocations: 117.3 kB / 0.6858 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.566, allocations: 26.8 kB / 0.6859 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.566, allocations: 86.38 kB / 0.6859 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.566, allocations: 6.984 kB / 0.686 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-06/0.5661, allocations: 0 / 0.686 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.044e-05/0.5661, allocations: 317.1 kB / 0.6863 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.925e-05/0.5662, allocations: 5.531 kB / 0.6863 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.913e-05/0.5662, allocations: 21.66 kB / 0.6863 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.376e-05/0.5662, allocations: 13.11 kB / 0.6863 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.242e-06/0.5663, allocations: 0 / 0.6863 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001186/0.5664, allocations: 62.89 kB / 0.6864 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.5664, allocations: 5.922 kB / 0.6864 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.5664, allocations: 0 / 0.6864 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.5664, allocations: 1.188 kB / 0.6864 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.688e-05/0.5665, allocations: 5.125 kB / 0.6864 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.969e-06/0.5665, allocations: 3.938 kB / 0.6864 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.162e-05/0.5666, allocations: 21.28 kB / 0.6864 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.702e-06/0.5666, allocations: 5.125 kB / 0.6864 GB, free: 14.06 MB / 0.5261 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 5.952e-05/0.5667, allocations: 118.2 kB / 0.6865 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.5667, allocations: 1.5 kB / 0.6865 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.5667, allocations: 5.078 kB / 0.6865 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-06/0.5668, allocations: 1.5 kB / 0.6865 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5668, allocations: 0 / 0.6865 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.5668, allocations: 2.312 kB / 0.6865 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.5669, allocations: 167.1 kB / 0.6867 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-06/0.5669, allocations: 4 kB / 0.6867 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.042e-05/0.5669, allocations: 1.594 kB / 0.6867 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.127e-06/0.5669, allocations: 1.469 kB / 0.6867 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.22e-06/0.567, allocations: 4.875 kB / 0.6867 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.567, allocations: 1.062 kB / 0.6867 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.73e-06/0.567, allocations: 0 / 0.6867 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.5671, allocations: 88.28 kB / 0.6868 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.5672, allocations: 77.86 kB / 0.6868 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.5672, allocations: 6.5 kB / 0.6869 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.407e-05/0.5673, allocations: 6.562 kB / 0.6869 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.5673, allocations: 9.328 kB / 0.6869 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.5673, allocations: 2.266 kB / 0.6869 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.653e-05/0.5674, allocations: 81.52 kB / 0.6869 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.81e-07/0.5674, allocations: 0 / 0.6869 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002477/0.5676, allocations: 10.5 kB / 0.687 GB, free: 13.46 MB / 0.5261 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 8.506e-05/0.5677, allocations: 104.6 kB / 0.6871 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.5679, allocations: 21.23 kB / 0.6871 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.489e-06/0.5679, allocations: 3.938 kB / 0.6871 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.937e-05/0.5679, allocations: 13.7 kB / 0.6871 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.5681, allocations: 12.62 kB / 0.6871 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000284/0.5684, allocations: 138.5 kB / 0.6872 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.5685, allocations: 0.6831 MB / 0.6879 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.774e-05/0.5686, allocations: 1.906 kB / 0.6879 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.5686, allocations: 9.938 kB / 0.6879 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of SimCode: time 1.292e-06/0.5686, allocations: 0 / 0.6879 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of Templates: time 0.002823/0.5715, allocations: 477.5 kB / 0.6884 GB, free: 12.46 MB / 0.5261 GB