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.Integers.Validation.OnCounter.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.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004239/0.004238, allocations: 237.4 kB / 15.81 MB, free: 6.316 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.001146/0.001146, allocations: 181.3 kB / 16.69 MB, free: 5.469 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.053/4.053, allocations: 389.1 MB / 406.5 MB, free: 11.82 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.376/4.376, allocations: 472.3 MB / 0.9024 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0007562/0.0007564, allocations: 15.5 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1852, allocations: 98.72 MB / 1.105 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002838/0.1881, allocations: 1.092 MB / 1.106 GB, free: 41.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000757/0.189, allocations: 210.7 kB / 1.106 GB, free: 40.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.648e-05/0.189, allocations: 3.938 kB / 1.106 GB, free: 40.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.377e-05/0.1891, allocations: 3.938 kB / 1.106 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.1892, allocations: 10.52 kB / 1.106 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.1895, allocations: 15.98 kB / 1.106 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.1896, allocations: 63.77 kB / 1.106 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.1898, allocations: 4 kB / 1.106 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.014e-05/0.1899, allocations: 19.92 kB / 1.106 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.453e-05/0.19, allocations: 19.92 kB / 1.106 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.1901, allocations: 3.312 kB / 1.106 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.256e-05/0.1901, allocations: 4 kB / 1.106 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.1902, allocations: 15.92 kB / 1.106 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.1903, allocations: 29.7 kB / 1.106 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.1904, allocations: 35.91 kB / 1.106 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.1904, allocations: 3.938 kB / 1.106 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.008e-06/0.1904, allocations: 3.984 kB / 1.106 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.1905, allocations: 0 / 1.106 GB, free: 40.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009229/0.1914, allocations: 386.4 kB / 1.106 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 8.088e-05/0.1915, allocations: 8.031 kB / 1.106 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.645e-05/0.1916, allocations: 4 kB / 1.106 GB, free: 40.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.1918, allocations: 177.7 kB / 1.107 GB, free: 39.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.1919, allocations: 4 kB / 1.107 GB, free: 39.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.1919, allocations: 4 kB / 1.107 GB, free: 39.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.1922, allocations: 47.47 kB / 1.107 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1922, allocations: 0 / 1.107 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.1922, allocations: 7.938 kB / 1.107 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1922, allocations: 4 kB / 1.107 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1924, allocations: 17.19 kB / 1.107 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005935/0.193, allocations: 291.1 kB / 1.107 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.1932, allocations: 46.56 kB / 1.107 GB, free: 39.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.061e-05/0.1933, allocations: 20.94 kB / 1.107 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.1933, allocations: 2.781 kB / 1.107 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003416/0.1937, allocations: 87.22 kB / 1.107 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 4.849e-06/0.1937, allocations: 0 / 1.107 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.000599/0.1943, allocations: 109.5 kB / 1.107 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.1944, allocations: 59.95 kB / 1.107 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.1946, allocations: 121.1 kB / 1.107 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.1946, allocations: 33.7 kB / 1.107 GB, free: 39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.1947, allocations: 84.14 kB / 1.108 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.1947, allocations: 23.73 kB / 1.108 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.1948, allocations: 0 / 1.108 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.356e-05/0.1949, allocations: 314.8 kB / 1.108 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.77e-05/0.195, allocations: 19.98 kB / 1.108 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1951, allocations: 55.28 kB / 1.108 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.658e-05/0.1952, allocations: 25.81 kB / 1.108 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.1952, allocations: 0 / 1.108 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002927/0.1955, allocations: 104.2 kB / 1.108 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.1956, allocations: 4 kB / 1.108 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1956, allocations: 0 / 1.108 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.1956, allocations: 4 kB / 1.108 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1957, allocations: 7.938 kB / 1.108 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.1958, allocations: 7.984 kB / 1.108 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.196, allocations: 18.58 kB / 1.108 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.1961, allocations: 4 kB / 1.108 GB, free: 38.32 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition4,$whenCondition3,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,$whenCondition2,reset.y,$PRE.reset.pulseStart,reset.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 0.000139/0.1962, allocations: 121.8 kB / 1.108 GB, free: 38.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.1963, allocations: 15.14 kB / 1.108 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.1964, allocations: 12.38 kB / 1.108 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.1964, allocations: 2.719 kB / 1.108 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1964, allocations: 0 / 1.108 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.1965, allocations: 85.02 kB / 1.108 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.1965, allocations: 7.984 kB / 1.108 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.1967, allocations: 11.98 kB / 1.108 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.1968, allocations: 10.8 kB / 1.108 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003365/0.1972, allocations: 188.9 kB / 1.109 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002243/0.1974, allocations: 264.1 kB / 1.109 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.692e-05/0.1975, allocations: 27.98 kB / 1.109 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.1975, allocations: 94.48 kB / 1.109 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of Backend: time 7.62e-07/0.1976, allocations: 0 / 1.109 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004529/0.198, allocations: 114.3 kB / 1.109 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0006046/0.1986, allocations: 0.6202 MB / 1.11 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.004182/0.2028, allocations: 0.9108 MB / 1.111 GB, free: 35.8 MB / 0.6042 GB