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.005768/0.005772, allocations: 238 kB / 15.81 MB, free: 6.281 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.00227/0.002269, allocations: 182.6 kB / 16.69 MB, free: 5.449 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 4.076/4.076, allocations: 389.1 MB / 406.5 MB, free: 11.86 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 4.017/4.017, allocations: 472.3 MB / 0.9024 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006423/0.0006426, allocations: 13.31 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1738, allocations: 98.73 MB / 1.105 GB, free: 42.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001875/0.1757, allocations: 1.014 MB / 1.106 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005401/0.1763, allocations: 172.5 kB / 1.106 GB, free: 40.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.166e-05/0.1763, allocations: 0 / 1.106 GB, free: 40.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.1764, allocations: 7.875 kB / 1.106 GB, free: 40.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.181e-05/0.1765, allocations: 7.438 kB / 1.106 GB, free: 40.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.1766, allocations: 11.92 kB / 1.106 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.549e-05/0.1767, allocations: 31.92 kB / 1.106 GB, free: 40.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.651e-05/0.1769, allocations: 8.453 kB / 1.106 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.028e-05/0.1769, allocations: 11.92 kB / 1.106 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.026e-05/0.177, allocations: 15.92 kB / 1.106 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.177, allocations: 0 / 1.106 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.5e-05/0.1771, allocations: 0 / 1.106 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.1771, allocations: 3.312 kB / 1.106 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.1771, allocations: 33.69 kB / 1.106 GB, free: 40.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.024e-05/0.1772, allocations: 15.97 kB / 1.106 GB, free: 40.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1772, allocations: 0 / 1.106 GB, free: 40.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1773, allocations: 0 / 1.106 GB, free: 40.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1773, allocations: 0 / 1.106 GB, free: 40.83 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.0005666/0.1779, allocations: 348.8 kB / 1.106 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.1779, allocations: 11.97 kB / 1.106 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.178, allocations: 3.953 kB / 1.106 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.1781, allocations: 172.1 kB / 1.106 GB, free: 40.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.1782, allocations: 0 / 1.106 GB, free: 40.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.1782, allocations: 4.844 kB / 1.106 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.1783, allocations: 40.53 kB / 1.106 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1784, allocations: 0 / 1.106 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1784, allocations: 4 kB / 1.106 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1784, allocations: 3.953 kB / 1.106 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.604e-05/0.1785, allocations: 9.078 kB / 1.106 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.179, allocations: 272.2 kB / 1.107 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006852/0.1797, allocations: 94.02 kB / 1.107 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.1797, allocations: 12.92 kB / 1.107 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.1798, allocations: 0 / 1.107 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.1799, allocations: 55.45 kB / 1.107 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 3.456e-06/0.18, allocations: 7.953 kB / 1.107 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002464/0.1802, allocations: 61.67 kB / 1.107 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.1803, allocations: 51.41 kB / 1.107 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.012e-05/0.1804, allocations: 113.8 kB / 1.107 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1804, allocations: 29.7 kB / 1.107 GB, free: 39.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.1805, allocations: 86.66 kB / 1.107 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.1805, allocations: 7.844 kB / 1.107 GB, free: 39.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-06/0.1805, allocations: 8 kB / 1.107 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.1806, allocations: 310.8 kB / 1.108 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.511e-05/0.1807, allocations: 11.98 kB / 1.108 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.506e-05/0.1807, allocations: 24.66 kB / 1.108 GB, free: 38.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.479e-05/0.1808, allocations: 7.938 kB / 1.108 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1808, allocations: 0 / 1.108 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001616/0.181, allocations: 53.69 kB / 1.108 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.181, allocations: 4 kB / 1.108 GB, free: 38.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.181, allocations: 7.938 kB / 1.108 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1811, allocations: 6.984 kB / 1.108 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.185e-05/0.1811, allocations: 7.938 kB / 1.108 GB, free: 38.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.1811, allocations: 0 / 1.108 GB, free: 38.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.1813, allocations: 7.984 kB / 1.108 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1813, allocations: 4 kB / 1.108 GB, free: 38.82 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 8.158e-05/0.1814, allocations: 110.8 kB / 1.108 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.1814, allocations: 9.781 kB / 1.108 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.1815, allocations: 11.38 kB / 1.108 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.1815, allocations: 7.938 kB / 1.108 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1815, allocations: 0 / 1.108 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.1815, allocations: 85.11 kB / 1.108 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.1816, allocations: 0 / 1.108 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1817, allocations: 7.984 kB / 1.108 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.1818, allocations: 4 kB / 1.108 GB, free: 38.56 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002243/0.182, allocations: 143.9 kB / 1.108 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001894/0.1822, allocations: 227.7 kB / 1.108 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.86e-05/0.1823, allocations: 11.98 kB / 1.108 GB, free: 38.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.586e-05/0.1824, allocations: 87.28 kB / 1.108 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of Backend: time 6.92e-07/0.1824, allocations: 3.312 kB / 1.108 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005905/0.183, allocations: 98.33 kB / 1.108 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004834/0.1835, allocations: 0.5779 MB / 1.109 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of Templates: time 0.009013/0.1925, allocations: 0.5243 MB / 1.11 GB, free: 36.86 MB / 0.6042 GB