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.Logical.Validation.FallingEdge.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.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004196/0.004196, allocations: 237.5 kB / 15.82 MB, free: 6.277 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.001153/0.001153, allocations: 172.4 kB / 16.7 MB, free: 5.445 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.894/3.894, 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.332/4.332, allocations: 472.3 MB / 0.9024 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004916, allocations: 20 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1714, allocations: 98.72 MB / 1.105 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7802/0.9516, allocations: 124.7 MB / 1.226 GB, free: 28.43 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.952, allocations: 79.16 kB / 1.227 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003867/0.9558, allocations: 0.9687 MB / 1.227 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9559, allocations: 0 / 1.227 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.9559, allocations: 0 / 1.227 GB, free: 27.74 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005865/0.9565, allocations: 378.3 kB / 1.228 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.9566, allocations: 8.031 kB / 1.228 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.9566, allocations: 10.38 kB / 1.228 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.9568, allocations: 178.7 kB / 1.228 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.9568, allocations: 4.406 kB / 1.228 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.9568, allocations: 4 kB / 1.228 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.9571, allocations: 74.02 kB / 1.228 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.9571, allocations: 4 kB / 1.228 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.9572, allocations: 0.5156 kB / 1.228 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.9572, allocations: 0.75 kB / 1.228 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.9575, allocations: 62.33 kB / 1.228 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006147/0.9581, allocations: 309.4 kB / 1.228 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006559/0.9588, allocations: 126.6 kB / 1.229 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.959, allocations: 37.27 kB / 1.229 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.959, allocations: 0.7031 kB / 1.229 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003125/0.9593, allocations: 85.55 kB / 1.229 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.865e-06/0.9594, allocations: 0 / 1.229 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006614/0.96, allocations: 146.8 kB / 1.229 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.9601, allocations: 59.41 kB / 1.229 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.9602, allocations: 123.4 kB / 1.229 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.9603, allocations: 26.27 kB / 1.229 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/0.9603, allocations: 92.56 kB / 1.229 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.9604, allocations: 13.56 kB / 1.229 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.9604, allocations: 2.844 kB / 1.229 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.9605, allocations: 320.8 kB / 1.229 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.9607, allocations: 33.52 kB / 1.229 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.9609, allocations: 59.92 kB / 1.23 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.9611, allocations: 33.89 kB / 1.23 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9611, allocations: 0 / 1.23 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004305/0.9616, allocations: 129.4 kB / 1.23 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.9616, allocations: 4 kB / 1.23 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.9616, allocations: 7.188 kB / 1.23 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.9616, allocations: 3 kB / 1.23 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.9618, allocations: 20.17 kB / 1.23 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.9618, allocations: 0 / 1.23 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.962, allocations: 17.86 kB / 1.23 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.962, allocations: 10.09 kB / 1.23 GB, free: 25.57 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001138/0.9621, allocations: 123.5 kB / 1.23 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.9622, allocations: 7.906 kB / 1.23 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.9622, allocations: 9.016 kB / 1.23 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.9622, allocations: 4 kB / 1.23 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.9622, allocations: 4.672 kB / 1.23 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.9622, allocations: 1.547 kB / 1.23 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006516/0.9629, allocations: 378 kB / 1.23 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.9629, allocations: 0.75 kB / 1.23 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.981e-05/0.963, allocations: 10.81 kB / 1.23 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.9631, allocations: 1.688 kB / 1.23 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.9631, allocations: 9.094 kB / 1.23 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.9631, allocations: 0 / 1.23 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.9631, allocations: 2.734 kB / 1.23 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.9641, allocations: 214.3 kB / 1.23 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.9642, allocations: 81.77 kB / 1.231 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.9642, allocations: 4.281 kB / 1.231 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.9644, allocations: 22.45 kB / 1.231 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.9645, allocations: 9.953 kB / 1.231 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.9645, allocations: 4 kB / 1.231 GB, free: 40.74 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001074/0.9646, allocations: 98.12 kB / 1.231 GB, free: 40.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9646, allocations: 0 / 1.231 GB, free: 40.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003308/0.965, allocations: 11.34 kB / 1.231 GB, free: 40.65 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (falEdg.y,$whenCondition2,$whenCondition1,booPul.pulseStart,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001279/0.9651, allocations: 108 kB / 1.231 GB, free: 40.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004175/0.9655, allocations: 82.61 kB / 1.231 GB, free: 40.49 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.9656, allocations: 4 kB / 1.231 GB, free: 40.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.9658, allocations: 33.98 kB / 1.231 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.9662, allocations: 12.5 kB / 1.231 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005837/0.9668, allocations: 194 kB / 1.231 GB, free: 40.28 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.9671, allocations: 0.6938 MB / 1.232 GB, free: 39.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.825e-05/0.9671, allocations: 8.031 kB / 1.232 GB, free: 39.56 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.9672, allocations: 11.44 kB / 1.232 GB, free: 39.56 MB / 0.6355 GB Notification: Performance of SimCode: time 7.02e-07/0.9672, allocations: 1.781 kB / 1.232 GB, free: 39.56 MB / 0.6355 GB Notification: Performance of Templates: time 0.003978/0.9712, allocations: 0.7689 MB / 1.233 GB, free: 39.17 MB / 0.6355 GB