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.004208/0.004213, allocations: 229.9 kB / 15.82 MB, free: 6.297 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.001175/0.001175, allocations: 175.2 kB / 16.7 MB, free: 5.457 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.938/3.938, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.776/3.776, allocations: 472.3 MB / 0.9024 GB, free: 18.71 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005051/0.0005054, allocations: 17.52 kB / 1.008 GB, free: 13.42 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2062, allocations: 98.71 MB / 1.105 GB, free: 10.76 MB / 0.573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7799/0.9862, allocations: 124.3 MB / 1.226 GB, free: 3.934 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.9865, allocations: 73.41 kB / 1.226 GB, free: 3.906 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.002037/0.9885, allocations: 0.653 MB / 1.227 GB, free: 3.414 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9886, allocations: 0.7812 kB / 1.227 GB, free: 3.414 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.9886, allocations: 0 / 1.227 GB, free: 3.414 MB / 0.6042 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.0004094/0.989, allocations: 346.4 kB / 1.227 GB, free: 3.047 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.989, allocations: 9.312 kB / 1.227 GB, free: 3.039 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.9891, allocations: 5.719 kB / 1.227 GB, free: 3.035 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.837e-05/0.9892, allocations: 170.3 kB / 1.227 GB, free: 2.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.9892, allocations: 5.125 kB / 1.227 GB, free: 2.836 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.9893, allocations: 5.281 kB / 1.227 GB, free: 2.836 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.9894, allocations: 45.52 kB / 1.227 GB, free: 2.793 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.9894, allocations: 0 / 1.227 GB, free: 2.793 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.9894, allocations: 2.281 kB / 1.227 GB, free: 2.793 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.9894, allocations: 0 / 1.227 GB, free: 2.793 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.644e-05/0.9895, allocations: 13.23 kB / 1.227 GB, free: 2.785 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.9899, allocations: 258.8 kB / 1.228 GB, free: 2.508 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.9904, allocations: 95.81 kB / 1.228 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.9905, allocations: 13.61 kB / 1.228 GB, free: 2.422 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.9905, allocations: 0 / 1.228 GB, free: 2.422 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.9906, allocations: 54.38 kB / 1.228 GB, free: 2.367 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 2.355e-06/0.9907, allocations: 4 kB / 1.228 GB, free: 2.363 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002107/0.9909, allocations: 65.69 kB / 1.228 GB, free: 2.305 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.9909, allocations: 61.2 kB / 1.228 GB, free: 2.238 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.78e-05/0.991, allocations: 106 kB / 1.228 GB, free: 2.133 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.991, allocations: 25.7 kB / 1.228 GB, free: 2.102 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.9911, allocations: 85.33 kB / 1.228 GB, free: 2.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.9911, allocations: 8.781 kB / 1.228 GB, free: 2.012 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.9911, allocations: 0 / 1.228 GB, free: 2.012 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.175e-05/0.9912, allocations: 316.8 kB / 1.228 GB, free: 1.699 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.251e-05/0.9912, allocations: 9.844 kB / 1.228 GB, free: 1.695 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.9913, allocations: 24.28 kB / 1.228 GB, free: 1.672 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.266e-05/0.9913, allocations: 8.031 kB / 1.228 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.9913, allocations: 1.438 kB / 1.228 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001121/0.9915, allocations: 57.45 kB / 1.228 GB, free: 1.613 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.9915, allocations: 9.641 kB / 1.228 GB, free: 1.605 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.9915, allocations: 0 / 1.228 GB, free: 1.605 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.9915, allocations: 1.969 kB / 1.228 GB, free: 1.605 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.739e-05/0.9916, allocations: 5.734 kB / 1.228 GB, free: 1.602 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.9916, allocations: 0 / 1.228 GB, free: 1.602 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.574e-05/0.9917, allocations: 21.08 kB / 1.229 GB, free: 1.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.9917, allocations: 1.844 kB / 1.229 GB, free: 1.59 MB / 0.6042 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 7.421e-05/0.9918, allocations: 117.2 kB / 1.229 GB, free: 1.469 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.9918, allocations: 12.66 kB / 1.229 GB, free: 1.461 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.9919, allocations: 3.906 kB / 1.229 GB, free: 1.457 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.9919, allocations: 4 kB / 1.229 GB, free: 1.453 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.9919, allocations: 4.734 kB / 1.229 GB, free: 1.453 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.9919, allocations: 0 / 1.229 GB, free: 1.453 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.992, allocations: 169.3 kB / 1.229 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.992, allocations: 0 / 1.229 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-05/0.9921, allocations: 0 / 1.229 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.9921, allocations: 1.453 kB / 1.229 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.9921, allocations: 0 / 1.229 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.9921, allocations: 8 kB / 1.229 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9921, allocations: 0 / 1.229 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.9922, allocations: 77 kB / 1.229 GB, free: 1.164 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.9923, allocations: 82.52 kB / 1.229 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.9923, allocations: 4 kB / 1.229 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.557e-05/0.9924, allocations: 10.14 kB / 1.229 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.9925, allocations: 6.203 kB / 1.229 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.9925, allocations: 7.938 kB / 1.229 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.94e-05/0.9925, allocations: 84.62 kB / 1.229 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.292e-06/0.9925, allocations: 0 / 1.229 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000246/0.9928, allocations: 11.83 kB / 1.229 GB, free: 0.9609 MB / 0.6042 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 9.817e-05/0.9929, allocations: 100.8 kB / 1.229 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.993, allocations: 22.05 kB / 1.229 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.9931, allocations: 2.656 kB / 1.229 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.989e-05/0.9931, allocations: 25.47 kB / 1.229 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.9934, allocations: 10.33 kB / 1.229 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/0.9937, allocations: 135.1 kB / 1.229 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/0.9939, allocations: 0.6824 MB / 1.23 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.981e-05/0.9939, allocations: 0 / 1.23 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.994, allocations: 15.44 kB / 1.23 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of SimCode: time 7.02e-07/0.994, allocations: 0 / 1.23 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of Templates: time 0.003221/0.9972, allocations: 478.8 kB / 1.231 GB, free: 15.72 MB / 0.6198 GB