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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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 4.215/4.215, allocations: 432.7 MB / 445.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.212e-05/4.237e-05, allocations: 4.469 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.183, allocations: 98.72 MB / 0.6347 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1901/0.3731, allocations: 124.4 MB / 0.7562 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.3734, allocations: 75.95 kB / 0.7563 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00243/0.3759, allocations: 0.7278 MB / 0.757 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.494e-06/0.3759, allocations: 7.938 kB / 0.757 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.472e-06/0.3759, allocations: 0 / 0.757 GB, free: 4.469 MB / 0.6355 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.0004371/0.3764, allocations: 346.4 kB / 0.7573 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3764, allocations: 8.031 kB / 0.7574 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.3765, allocations: 0 / 0.7574 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.3766, allocations: 170.9 kB / 0.7575 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.868e-05/0.3767, allocations: 4 kB / 0.7575 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.3767, allocations: 8 kB / 0.7575 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.3768, allocations: 41.69 kB / 0.7576 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3768, allocations: 3.984 kB / 0.7576 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.987e-06/0.3769, allocations: 0 / 0.7576 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.266e-06/0.3769, allocations: 4 kB / 0.7576 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.037e-05/0.3769, allocations: 19.94 kB / 0.7576 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.3774, allocations: 268.9 kB / 0.7578 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.967e-05/0.3775, allocations: 26.58 kB / 0.7579 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.316e-05/0.3776, allocations: 16.86 kB / 0.7579 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.3776, allocations: 4 kB / 0.7579 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.3777, allocations: 55.44 kB / 0.7579 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.48e-06/0.3778, allocations: 0 / 0.7579 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001887/0.378, allocations: 61.59 kB / 0.758 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.378, allocations: 55.36 kB / 0.7581 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.806e-05/0.3781, allocations: 101 kB / 0.7582 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.3782, allocations: 25.7 kB / 0.7582 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.3782, allocations: 88.14 kB / 0.7583 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.3783, allocations: 11.91 kB / 0.7583 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-06/0.3783, allocations: 3.938 kB / 0.7583 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3784, allocations: 318.8 kB / 0.7586 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.243e-05/0.3785, allocations: 8 kB / 0.7586 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.762e-05/0.3785, allocations: 22.58 kB / 0.7586 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.291e-05/0.3786, allocations: 23.88 kB / 0.7586 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.487e-06/0.3786, allocations: 0 / 0.7586 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001446/0.3788, allocations: 61.53 kB / 0.7587 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3788, allocations: 8 kB / 0.7587 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.3788, allocations: 0 / 0.7587 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3788, allocations: 0 / 0.7587 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.3789, allocations: 11.98 kB / 0.7587 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.415e-06/0.379, allocations: 4 kB / 0.7587 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.387e-05/0.3791, allocations: 23.97 kB / 0.7587 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.3791, allocations: 4 kB / 0.7587 GB, free: 2.473 MB / 0.6355 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.523e-05/0.3792, allocations: 101 kB / 0.7588 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.3792, allocations: 4 kB / 0.7588 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.3793, allocations: 8.031 kB / 0.7589 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.149e-06/0.3793, allocations: 0 / 0.7589 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.919e-06/0.3793, allocations: 0 / 0.7589 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.702e-06/0.3793, allocations: 4 kB / 0.7589 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/0.3797, allocations: 310.5 kB / 0.7592 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.81e-06/0.3797, allocations: 0 / 0.7592 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.344e-05/0.3798, allocations: 11.98 kB / 0.7592 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3798, allocations: 0 / 0.7592 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.3799, allocations: 4 kB / 0.7592 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.23e-06/0.3799, allocations: 0 / 0.7592 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.493e-06/0.3799, allocations: 3.953 kB / 0.7592 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.3801, allocations: 163.5 kB / 0.7593 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.3802, allocations: 85.22 kB / 0.7594 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.3802, allocations: 4 kB / 0.7594 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.3803, allocations: 8 kB / 0.7594 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.3804, allocations: 7.938 kB / 0.7594 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.224e-06/0.3804, allocations: 4 kB / 0.7594 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.126e-05/0.3805, allocations: 83.28 kB / 0.7595 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.84e-07/0.3805, allocations: 4 kB / 0.7595 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003095/0.3808, allocations: 8 kB / 0.7595 GB, free: 1.578 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 () * 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.0001389/0.3809, allocations: 107.2 kB / 0.7596 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.3811, allocations: 27.94 kB / 0.7596 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3811, allocations: 0 / 0.7596 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.79e-05/0.3812, allocations: 16 kB / 0.7597 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.3814, allocations: 14.45 kB / 0.7597 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.3817, allocations: 84.81 kB / 0.7598 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.3821, allocations: 0.6809 MB / 0.7604 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.098e-05/0.3821, allocations: 256 / 0.7604 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.3821, allocations: 11.44 kB / 0.7604 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of SimCode: time 1.62e-06/0.3821, allocations: 0 / 0.7604 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of Templates: time 0.002912/0.3851, allocations: 491.8 kB / 0.7609 GB, free: 116 kB / 0.6355 GB