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.Discrete.Examples.TriggeredSampler.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.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006498/0.006497, allocations: 237.5 kB / 15.81 MB, free: 6.312 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.001821/0.001821, allocations: 180.5 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.237/4.237, allocations: 389.1 MB / 406.5 MB, free: 11.85 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.061/4.061, allocations: 472.3 MB / 0.9024 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005017, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1882, allocations: 98.72 MB / 1.105 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.001562/0.1898, allocations: 1.167 MB / 1.106 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005256/0.1904, allocations: 229 kB / 1.106 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.547e-05/0.1904, allocations: 0 / 1.106 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.208e-05/0.1905, allocations: 3.938 kB / 1.106 GB, free: 40.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.1906, allocations: 5.969 kB / 1.106 GB, free: 40.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.1908, allocations: 23.92 kB / 1.106 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.309e-05/0.1909, allocations: 51.84 kB / 1.106 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.191, allocations: 21.53 kB / 1.106 GB, free: 40.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.439e-05/0.1911, allocations: 23.86 kB / 1.106 GB, free: 40.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.253e-05/0.1912, allocations: 23.91 kB / 1.106 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1912, allocations: 5.594 kB / 1.106 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.512e-05/0.1912, allocations: 0 / 1.106 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.1913, allocations: 11.94 kB / 1.106 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.1913, allocations: 38.77 kB / 1.106 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.944e-05/0.1914, allocations: 39.22 kB / 1.106 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1914, allocations: 0 / 1.106 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.356e-06/0.1914, allocations: 0 / 1.106 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.1914, allocations: 3.938 kB / 1.106 GB, free: 40.41 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006072/0.192, allocations: 390.5 kB / 1.107 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1921, allocations: 8.031 kB / 1.107 GB, free: 39.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.1922, allocations: 11.86 kB / 1.107 GB, free: 39.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.1923, allocations: 167.1 kB / 1.107 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.1923, allocations: 7.984 kB / 1.107 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1923, allocations: 8 kB / 1.107 GB, free: 39.74 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.1926, allocations: 84.12 kB / 1.107 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1926, allocations: 3.938 kB / 1.107 GB, free: 39.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1927, allocations: 4 kB / 1.107 GB, free: 39.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1927, allocations: 3.953 kB / 1.107 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.193, allocations: 67.41 kB / 1.107 GB, free: 39.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005076/0.1935, allocations: 303.5 kB / 1.107 GB, free: 39.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.1938, allocations: 77.64 kB / 1.107 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.194, allocations: 44.91 kB / 1.107 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.194, allocations: 0 / 1.107 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003075/0.1943, allocations: 86.25 kB / 1.107 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 3.797e-06/0.1943, allocations: 2.156 kB / 1.107 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0006711/0.195, allocations: 160.9 kB / 1.108 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.1951, allocations: 59.33 kB / 1.108 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.257e-05/0.1952, allocations: 114 kB / 1.108 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1952, allocations: 32.67 kB / 1.108 GB, free: 38.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/0.1952, allocations: 92.05 kB / 1.108 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.1953, allocations: 15.8 kB / 1.108 GB, free: 38.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/0.1953, allocations: 4 kB / 1.108 GB, free: 38.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.713e-05/0.1954, allocations: 318.8 kB / 1.108 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.1955, allocations: 34.88 kB / 1.108 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.1957, allocations: 67.73 kB / 1.108 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.1959, allocations: 36.09 kB / 1.108 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1959, allocations: 3.938 kB / 1.108 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004305/0.1964, allocations: 137.3 kB / 1.108 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1964, allocations: 4 kB / 1.108 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1964, allocations: 80 / 1.108 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.1964, allocations: 4 kB / 1.108 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.1966, allocations: 23.11 kB / 1.108 GB, free: 37.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.1967, allocations: 7.984 kB / 1.108 GB, free: 37.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.1968, allocations: 23.92 kB / 1.109 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.1968, allocations: 7.984 kB / 1.109 GB, free: 37.84 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: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition1,$whenCondition2,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 (11): * Single equations (assignments): 11 * 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.433e-05/0.197, allocations: 117 kB / 1.109 GB, free: 37.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.197, allocations: 11.86 kB / 1.109 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004546/0.1974, allocations: 133.7 kB / 1.109 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1975, allocations: 0 / 1.109 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.1975, allocations: 3.984 kB / 1.109 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.1975, allocations: 89.02 kB / 1.109 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.1976, allocations: 3.938 kB / 1.109 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.1977, allocations: 15.98 kB / 1.109 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.1978, allocations: 11.27 kB / 1.109 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005334/0.1983, allocations: 205.1 kB / 1.109 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004679/0.1988, allocations: 301.6 kB / 1.109 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001871/0.199, allocations: 39.97 kB / 1.109 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.08e-05/0.1991, allocations: 94.36 kB / 1.11 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of Backend: time 5.91e-07/0.1991, allocations: 0 / 1.11 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006026/0.1997, allocations: 137.6 kB / 1.11 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005706/0.2003, allocations: 0.6249 MB / 1.11 GB, free: 35.99 MB / 0.6042 GB Notification: Performance of Templates: time 0.004285/0.2046, allocations: 0.8654 MB / 1.111 GB, free: 35.17 MB / 0.6042 GB