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.Sources.Validation.SampleTrigger.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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004215/0.00422, allocations: 230.5 kB / 15.82 MB, free: 6.297 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.001148/0.001148, allocations: 174.6 kB / 16.7 MB, free: 5.457 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.941/3.941, allocations: 389 MB / 406.5 MB, free: 11.84 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.077/4.077, allocations: 472.3 MB / 0.9024 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005/0.0005002, allocations: 16.22 kB / 1.008 GB, free: 138.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1845, allocations: 98.73 MB / 1.105 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7792/0.9638, allocations: 124.5 MB / 1.226 GB, free: 28.7 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.9641, allocations: 81.31 kB / 1.226 GB, free: 28.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002609/0.9667, allocations: 0.7369 MB / 1.227 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9668, allocations: 0 / 1.227 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.9668, allocations: 0 / 1.227 GB, free: 28.13 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.0004502/0.9673, allocations: 350.4 kB / 1.227 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.9673, allocations: 8.734 kB / 1.227 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.798e-05/0.9674, allocations: 8.062 kB / 1.227 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.9675, allocations: 167.2 kB / 1.228 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.9676, allocations: 7.688 kB / 1.228 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.9676, allocations: 0 / 1.228 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005096/0.9681, allocations: 61.53 kB / 1.228 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.9682, allocations: 0.7031 kB / 1.228 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.9682, allocations: 4.688 kB / 1.228 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.9683, allocations: 1.156 kB / 1.228 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005621/0.9689, allocations: 51.48 kB / 1.228 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005701/0.9695, allocations: 272.7 kB / 1.228 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.9697, allocations: 46.45 kB / 1.228 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.9698, allocations: 34.62 kB / 1.228 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.9699, allocations: 7.922 kB / 1.228 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.9701, allocations: 66.94 kB / 1.228 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.655e-06/0.9702, allocations: 0 / 1.228 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0005592/0.9707, allocations: 120.5 kB / 1.228 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.9708, allocations: 57.23 kB / 1.228 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.305e-05/0.9709, allocations: 112 kB / 1.228 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.9709, allocations: 26.22 kB / 1.228 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.971, allocations: 88.59 kB / 1.228 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.971, allocations: 11.89 kB / 1.228 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.971, allocations: 2.953 kB / 1.228 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.9712, allocations: 313 kB / 1.229 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.9713, allocations: 27.56 kB / 1.229 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.9715, allocations: 47.41 kB / 1.229 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.9716, allocations: 27.98 kB / 1.229 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9717, allocations: 0 / 1.229 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003464/0.972, allocations: 95.23 kB / 1.229 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.972, allocations: 4 kB / 1.229 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.9721, allocations: 2.625 kB / 1.229 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.9721, allocations: 4.562 kB / 1.229 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.9722, allocations: 15.36 kB / 1.229 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.9722, allocations: 8.688 kB / 1.229 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.674e-05/0.9723, allocations: 14.81 kB / 1.229 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.9724, allocations: 0.5156 kB / 1.229 GB, free: 26.16 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 () * Number of clocked 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 9.588e-05/0.9725, allocations: 117.3 kB / 1.229 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.9725, allocations: 8.562 kB / 1.229 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.9725, allocations: 6.156 kB / 1.229 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.9725, allocations: 0 / 1.229 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.9726, allocations: 0 / 1.229 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.9726, allocations: 4.469 kB / 1.229 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005508/0.9731, allocations: 347.5 kB / 1.229 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.9731, allocations: 4 kB / 1.229 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.715e-05/0.9732, allocations: 6.25 kB / 1.229 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.9733, allocations: 4 kB / 1.229 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.9733, allocations: 0.6562 kB / 1.229 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.9733, allocations: 3.953 kB / 1.229 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.9733, allocations: 2.531 kB / 1.229 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000955/0.9743, allocations: 191.2 kB / 1.23 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.9743, allocations: 86.44 kB / 1.23 GB, free: 41.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.9743, allocations: 3.438 kB / 1.23 GB, free: 41.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.9745, allocations: 11.36 kB / 1.23 GB, free: 41.39 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.9745, allocations: 5.453 kB / 1.23 GB, free: 41.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.9746, allocations: 0 / 1.23 GB, free: 41.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.259e-05/0.9746, allocations: 85.83 kB / 1.23 GB, free: 41.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.333e-06/0.9746, allocations: 0 / 1.23 GB, free: 41.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000309/0.975, allocations: 15.62 kB / 1.23 GB, free: 41.29 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: 3 (samTri.y,$whenCondition1,triggeredSampler.y) * Number of discrete states: 0 () * Number of clocked 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.0001111/0.9751, allocations: 104.8 kB / 1.23 GB, free: 41.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003454/0.9754, allocations: 57.44 kB / 1.23 GB, free: 41.15 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.9754, allocations: 0 / 1.23 GB, free: 41.15 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.9756, allocations: 33.58 kB / 1.23 GB, free: 41.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.976, allocations: 10.06 kB / 1.23 GB, free: 41.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.9763, allocations: 134.1 kB / 1.23 GB, free: 40.99 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.9766, allocations: 0.6877 MB / 1.231 GB, free: 40.28 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.758e-05/0.9767, allocations: 6.469 kB / 1.231 GB, free: 40.28 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.9767, allocations: 7.438 kB / 1.231 GB, free: 40.28 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/0.9767, allocations: 0 / 1.231 GB, free: 40.28 MB / 0.6355 GB Notification: Performance of Templates: time 0.003164/0.9799, allocations: 484.6 kB / 1.231 GB, free: 40.05 MB / 0.6355 GB