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.Sources.Validation.SampleTrigger.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.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadModel(Buildings): time 3.964/3.964, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.679e-05/2.682e-05, allocations: 8 kB / 0.5326 GB, free: 1.832 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5005/0.5006, allocations: 98.71 MB / 0.6289 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1899/0.6906, allocations: 123.7 MB / 0.7498 GB, free: 3.715 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.6909, allocations: 75.89 kB / 0.7498 GB, free: 3.641 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002409/0.6933, allocations: 0.7444 MB / 0.7506 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.986e-06/0.6933, allocations: 4 kB / 0.7506 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.504e-06/0.6934, allocations: 0 / 0.7506 GB, free: 2.887 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004337/0.6938, allocations: 330.5 kB / 0.7509 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.6939, allocations: 8.031 kB / 0.7509 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.6939, allocations: 3.906 kB / 0.7509 GB, free: 2.508 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.6941, allocations: 178.9 kB / 0.7511 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.6941, allocations: 0 / 0.7511 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.6941, allocations: 4 kB / 0.7511 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.863e-05/0.6942, allocations: 20 kB / 0.7511 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.963e-05/0.6943, allocations: 37.69 kB / 0.7511 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.6943, allocations: 7.938 kB / 0.7511 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.362e-06/0.6944, allocations: 0 / 0.7511 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.142e-06/0.6944, allocations: 0 / 0.7511 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.6948, allocations: 237.5 kB / 0.7514 GB, free: 1.949 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.651e-05/0.6949, allocations: 38.52 kB / 0.7514 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.024e-05/0.695, allocations: 16.86 kB / 0.7514 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.695, allocations: 4.078 kB / 0.7514 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.6951, allocations: 51.41 kB / 0.7515 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.328e-06/0.6951, allocations: 0 / 0.7515 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001657/0.6953, allocations: 49.61 kB / 0.7515 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.6954, allocations: 59.34 kB / 0.7516 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.18e-05/0.6955, allocations: 108.9 kB / 0.7517 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.6955, allocations: 25.7 kB / 0.7517 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.6956, allocations: 84.14 kB / 0.7518 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.6956, allocations: 7.906 kB / 0.7518 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-06/0.6956, allocations: 0 / 0.7518 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.6958, allocations: 314.8 kB / 0.7521 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.024e-05/0.6958, allocations: 8 kB / 0.7521 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.832e-05/0.6959, allocations: 30.58 kB / 0.7521 GB, free: 1.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.454e-05/0.6959, allocations: 8 kB / 0.7521 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.6959, allocations: 0 / 0.7521 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001349/0.6961, allocations: 65.47 kB / 0.7522 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.6961, allocations: 4 kB / 0.7522 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.402e-06/0.6961, allocations: 0 / 0.7522 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.6961, allocations: 4 kB / 0.7522 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.6963, allocations: 16.08 kB / 0.7522 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.459e-06/0.6963, allocations: 0 / 0.7522 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.586e-05/0.6964, allocations: 11.98 kB / 0.7522 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.6964, allocations: 3.953 kB / 0.7522 GB, free: 0.9727 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y) * Number of discrete 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.959e-05/0.6965, allocations: 108.9 kB / 0.7523 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.6965, allocations: 0 / 0.7523 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.6966, allocations: 12.47 kB / 0.7523 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.823e-06/0.6966, allocations: 4 kB / 0.7524 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.776e-06/0.6966, allocations: 4 kB / 0.7524 GB, free: 0.8398 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.844e-06/0.6966, allocations: 4.031 kB / 0.7524 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003459/0.697, allocations: 283 kB / 0.7526 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.483e-06/0.697, allocations: 0 / 0.7526 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.108e-05/0.6971, allocations: 11.98 kB / 0.7526 GB, free: 0.5039 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.195e-06/0.6971, allocations: 3.938 kB / 0.7526 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.134e-06/0.6971, allocations: 0 / 0.7526 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.005e-06/0.6971, allocations: 11.94 kB / 0.7527 GB, free: 500 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.6972, allocations: 0 / 0.7527 GB, free: 500 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.6973, allocations: 151.5 kB / 0.7528 GB, free: 332 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.6974, allocations: 85.05 kB / 0.7529 GB, free: 228 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.6974, allocations: 0 / 0.7529 GB, free: 228 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.6976, allocations: 7.984 kB / 0.7529 GB, free: 220 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.6976, allocations: 4 kB / 0.7529 GB, free: 216 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.6976, allocations: 7.984 kB / 0.7529 GB, free: 208 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.64e-05/0.6977, allocations: 83.28 kB / 0.753 GB, free: 124 kB / 0.6198 GB Notification: Performance of sort global known variables: time 7.71e-07/0.6977, allocations: 4 kB / 0.753 GB, free: 120 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000297/0.698, allocations: 4 kB / 0.753 GB, free: 116 kB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (samTri.y,$whenCondition1,triggeredSampler.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000143/0.6982, allocations: 104.1 kB / 0.7531 GB, free: 0 / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.6983, allocations: 23.98 kB / 0.7531 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.497e-06/0.6983, allocations: 0 / 0.7531 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.821e-05/0.6984, allocations: 16.19 kB / 0.7531 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.6986, allocations: 11.94 kB / 0.7531 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.6989, allocations: 75.78 kB / 0.7532 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.6993, allocations: 0.6846 MB / 0.7539 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.073e-05/0.6993, allocations: 0 / 0.7539 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.6993, allocations: 11.44 kB / 0.7539 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of SimCode: time 1.454e-06/0.6993, allocations: 0 / 0.7539 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of Templates: time 0.00283/0.7022, allocations: 469.3 kB / 0.7543 GB, free: 14.68 MB / 0.6355 GB