Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.167/4.167, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.624e-05, allocations: 4 kB / 0.5325 GB, free: 1.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5002/0.5003, allocations: 98.73 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1983/0.6987, allocations: 124 MB / 0.75 GB, free: 3.59 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.699, allocations: 71.95 kB / 0.7501 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003392/0.7024, allocations: 0.9632 MB / 0.751 GB, free: 2.555 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7024, allocations: 0 / 0.751 GB, free: 2.555 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.7024, allocations: 4 kB / 0.751 GB, free: 2.551 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.0005379/0.703, allocations: 366.5 kB / 0.7514 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.703, allocations: 8.031 kB / 0.7514 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.7031, allocations: 7.906 kB / 0.7514 GB, free: 2.133 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.7033, allocations: 174.9 kB / 0.7515 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.7033, allocations: 0 / 0.7515 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.7033, allocations: 8 kB / 0.7515 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001044/0.7035, allocations: 23.98 kB / 0.7516 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.7036, allocations: 45.69 kB / 0.7516 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.7036, allocations: 3.938 kB / 0.7516 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.7036, allocations: 4 kB / 0.7516 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.565e-06/0.7036, allocations: 0 / 0.7516 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/0.7042, allocations: 293.3 kB / 0.7519 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.7047, allocations: 98.56 kB / 0.752 GB, free: 1.402 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.421e-05/0.7048, allocations: 20.92 kB / 0.752 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.7048, allocations: 4.094 kB / 0.752 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.7049, allocations: 67.33 kB / 0.7521 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.686e-06/0.705, allocations: 0 / 0.7521 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002307/0.7052, allocations: 81.53 kB / 0.7522 GB, free: 1.211 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.7053, allocations: 55.41 kB / 0.7522 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.7054, allocations: 109.2 kB / 0.7523 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.7054, allocations: 25.7 kB / 0.7523 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.7055, allocations: 88.23 kB / 0.7524 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.7056, allocations: 15.81 kB / 0.7524 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-06/0.7056, allocations: 0 / 0.7524 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.7057, allocations: 318.8 kB / 0.7527 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.659e-05/0.7058, allocations: 23.88 kB / 0.7528 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.207e-05/0.7059, allocations: 43.44 kB / 0.7528 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.986e-05/0.706, allocations: 15.98 kB / 0.7528 GB, free: 488 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.567e-06/0.706, allocations: 0 / 0.7528 GB, free: 488 kB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001931/0.7062, allocations: 77.62 kB / 0.7529 GB, free: 404 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.7062, allocations: 4.094 kB / 0.7529 GB, free: 400 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.016e-06/0.7062, allocations: 4 kB / 0.7529 GB, free: 396 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.7062, allocations: 4 kB / 0.7529 GB, free: 392 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.7064, allocations: 15.92 kB / 0.7529 GB, free: 376 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.7064, allocations: 4 kB / 0.7529 GB, free: 372 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.7065, allocations: 23.84 kB / 0.7529 GB, free: 348 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.7066, allocations: 0 / 0.7529 GB, free: 348 kB / 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 () * 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 9.932e-05/0.7067, allocations: 109 kB / 0.7531 GB, free: 232 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.7067, allocations: 4 kB / 0.7531 GB, free: 228 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.7068, allocations: 12.61 kB / 0.7531 GB, free: 216 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.642e-06/0.7068, allocations: 4.562 kB / 0.7531 GB, free: 212 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.542e-06/0.7068, allocations: 0 / 0.7531 GB, free: 212 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.229e-06/0.7068, allocations: 0 / 0.7531 GB, free: 212 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.7073, allocations: 315 kB / 0.7534 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.352e-06/0.7073, allocations: 4 kB / 0.7534 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.605e-05/0.7074, allocations: 15.98 kB / 0.7534 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.031e-06/0.7074, allocations: 3.938 kB / 0.7534 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.7074, allocations: 8 kB / 0.7534 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.427e-06/0.7075, allocations: 0 / 0.7534 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.912e-06/0.7075, allocations: 0 / 0.7534 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.7077, allocations: 167.5 kB / 0.7536 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/0.7078, allocations: 81.02 kB / 0.7536 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.7078, allocations: 11.98 kB / 0.7536 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.708, allocations: 11.98 kB / 0.7537 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.708, allocations: 11.92 kB / 0.7537 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.7081, allocations: 4 kB / 0.7537 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.332e-05/0.7082, allocations: 91.23 kB / 0.7538 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.84e-07/0.7082, allocations: 0 / 0.7538 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003213/0.7085, allocations: 11.94 kB / 0.7538 GB, free: 15.41 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) * 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.0001579/0.7087, allocations: 113.1 kB / 0.7539 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.7088, allocations: 43.94 kB / 0.7539 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.5e-06/0.7089, allocations: 3.938 kB / 0.7539 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.944e-05/0.7089, allocations: 20 kB / 0.7539 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.7092, allocations: 7.984 kB / 0.754 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/0.7098, allocations: 116 kB / 0.7541 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.7103, allocations: 0.6885 MB / 0.7547 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.564e-05/0.7104, allocations: 7.781 kB / 0.7547 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.24e-05/0.7105, allocations: 11.44 kB / 0.7548 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of SimCode: time 1.917e-06/0.7105, allocations: 0 / 0.7548 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of Templates: time 0.004648/0.7152, allocations: 0.7292 MB / 0.7555 GB, free: 13.62 MB / 0.6355 GB