Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.157/4.157, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.764e-05/1.773e-05, allocations: 4 kB / 0.5325 GB, free: 1.863 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4928/0.4928, allocations: 98.7 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1922/0.6851, allocations: 123.6 MB / 0.7496 GB, free: 3.98 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.6853, allocations: 71.95 kB / 0.7497 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002017/0.6874, allocations: 0.6605 MB / 0.7503 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.013e-06/0.6874, allocations: 0 / 0.7503 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.6874, allocations: 3.938 kB / 0.7503 GB, free: 3.242 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.0004011/0.6878, allocations: 335.8 kB / 0.7506 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.6879, allocations: 8.031 kB / 0.7506 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.6879, allocations: 4 kB / 0.7506 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.6881, allocations: 174.9 kB / 0.7508 GB, free: 2.648 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.6881, allocations: 0 / 0.7508 GB, free: 2.648 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.6882, allocations: 0 / 0.7508 GB, free: 2.648 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.105e-05/0.6882, allocations: 8 kB / 0.7508 GB, free: 2.641 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.263e-05/0.6883, allocations: 49.45 kB / 0.7509 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.818e-06/0.6884, allocations: 0 / 0.7509 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.464e-06/0.6884, allocations: 4 kB / 0.7509 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.024e-06/0.6884, allocations: 0 / 0.7509 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.6888, allocations: 237.5 kB / 0.7511 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.6892, allocations: 82.52 kB / 0.7512 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.885e-05/0.6892, allocations: 12.92 kB / 0.7512 GB, free: 2.211 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.6893, allocations: 4 kB / 0.7512 GB, free: 2.207 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001202/0.6894, allocations: 59.44 kB / 0.7513 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.47e-06/0.6894, allocations: 0 / 0.7513 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001706/0.6896, allocations: 45.69 kB / 0.7513 GB, free: 2.086 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.6897, allocations: 55.41 kB / 0.7513 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.176e-05/0.6898, allocations: 96.98 kB / 0.7514 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.6898, allocations: 29.7 kB / 0.7515 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.6899, allocations: 88.05 kB / 0.7516 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.6899, allocations: 3.906 kB / 0.7516 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-06/0.6899, allocations: 4 kB / 0.7516 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.6901, allocations: 326.8 kB / 0.7519 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.434e-05/0.6901, allocations: 4 kB / 0.7519 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4e-05/0.6902, allocations: 21.66 kB / 0.7519 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.866e-05/0.6902, allocations: 8 kB / 0.7519 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.139e-06/0.6902, allocations: 0 / 0.7519 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001218/0.6903, allocations: 49.69 kB / 0.752 GB, free: 1.363 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.6904, allocations: 8.031 kB / 0.752 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.736e-06/0.6904, allocations: 4.094 kB / 0.752 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.6904, allocations: 3.984 kB / 0.752 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.187e-05/0.6905, allocations: 4 kB / 0.752 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.6905, allocations: 3.938 kB / 0.752 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.001e-05/0.6906, allocations: 7.984 kB / 0.752 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.6906, allocations: 4 kB / 0.752 GB, free: 1.328 MB / 0.6198 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 () * 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 9.132e-05/0.6907, allocations: 104.9 kB / 0.7521 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.6907, allocations: 19.78 kB / 0.7521 GB, free: 1.199 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.6908, allocations: 8.344 kB / 0.7521 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-06/0.6908, allocations: 0 / 0.7521 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.37e-06/0.6908, allocations: 0 / 0.7521 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.168e-06/0.6908, allocations: 384 / 0.7521 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.691, allocations: 150.2 kB / 0.7523 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.691, allocations: 4 kB / 0.7523 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.04e-05/0.691, allocations: 0 / 0.7523 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.027e-06/0.691, allocations: 0 / 0.7523 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.836e-06/0.691, allocations: 4 kB / 0.7523 GB, free: 1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.84e-06/0.6911, allocations: 0 / 0.7523 GB, free: 1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.937e-06/0.6911, allocations: 7.984 kB / 0.7523 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.6912, allocations: 81.02 kB / 0.7524 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.6913, allocations: 77.11 kB / 0.7524 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.6913, allocations: 4 kB / 0.7524 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.801e-05/0.6914, allocations: 7.984 kB / 0.7524 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.6914, allocations: 0 / 0.7524 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.6915, allocations: 8 kB / 0.7524 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.787e-05/0.6915, allocations: 83.28 kB / 0.7525 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.67e-07/0.6915, allocations: 0 / 0.7525 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002478/0.6918, allocations: 4 kB / 0.7525 GB, free: 0.6953 MB / 0.6198 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 () * 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.0001309/0.6919, allocations: 103.2 kB / 0.7526 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.961e-05/0.692, allocations: 20 kB / 0.7526 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.326e-06/0.6921, allocations: 0 / 0.7526 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.616e-05/0.6921, allocations: 15.94 kB / 0.7527 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.6923, allocations: 18.44 kB / 0.7527 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002357/0.6926, allocations: 72.62 kB / 0.7527 GB, free: 448 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.693, allocations: 0.6846 MB / 0.7534 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.006e-05/0.693, allocations: 4 kB / 0.7534 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.6931, allocations: 7.438 kB / 0.7534 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of SimCode: time 1.406e-06/0.6931, allocations: 0 / 0.7534 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of Templates: time 0.002801/0.6959, allocations: 457.2 kB / 0.7539 GB, free: 15.27 MB / 0.6355 GB