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.Discrete.Examples.TriggeredSampler.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.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadModel(Buildings): time 4.048/4.048, allocations: 432.7 MB / 445.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.755e-05/2.774e-05, allocations: 7.922 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1742, allocations: 98.72 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.199/0.3733, allocations: 124.7 MB / 0.7565 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.3736, allocations: 71.95 kB / 0.7566 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004134/0.3778, allocations: 1.122 MB / 0.7577 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.215e-06/0.3778, allocations: 0 / 0.7577 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.793e-06/0.3778, allocations: 0 / 0.7577 GB, free: 3.82 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005512/0.3784, allocations: 378.3 kB / 0.758 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3785, allocations: 8.031 kB / 0.758 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.3785, allocations: 4 kB / 0.7581 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.3787, allocations: 174.9 kB / 0.7582 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.3787, allocations: 8 kB / 0.7582 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.3787, allocations: 4 kB / 0.7582 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.3789, allocations: 65.61 kB / 0.7583 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.584e-06/0.3789, allocations: 4 kB / 0.7583 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.379, allocations: 0 / 0.7583 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.434e-06/0.379, allocations: 4 kB / 0.7583 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.963e-05/0.3791, allocations: 24 kB / 0.7583 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.3797, allocations: 324.6 kB / 0.7586 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.3798, allocations: 58.55 kB / 0.7587 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.01e-05/0.3799, allocations: 20.98 kB / 0.7587 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.3799, allocations: 0 / 0.7587 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.3801, allocations: 71.33 kB / 0.7588 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 3.405e-06/0.3801, allocations: 0 / 0.7588 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003566/0.3805, allocations: 89.62 kB / 0.7589 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.3806, allocations: 59.41 kB / 0.7589 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.3808, allocations: 117 kB / 0.759 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.3808, allocations: 25.7 kB / 0.7591 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.3809, allocations: 92.08 kB / 0.7591 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.381, allocations: 27.69 kB / 0.7592 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/0.381, allocations: 4 kB / 0.7592 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.3812, allocations: 314.8 kB / 0.7595 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.405e-05/0.3814, allocations: 17.91 kB / 0.7595 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.3815, allocations: 60.22 kB / 0.7595 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.3816, allocations: 16 kB / 0.7596 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.336e-06/0.3817, allocations: 0 / 0.7596 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002529/0.3819, allocations: 93.64 kB / 0.7597 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.382, allocations: 8 kB / 0.7597 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.747e-06/0.382, allocations: 0 / 0.7597 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.382, allocations: 4 kB / 0.7597 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.3822, allocations: 23.94 kB / 0.7597 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.3822, allocations: 4 kB / 0.7597 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.3824, allocations: 20 kB / 0.7597 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.3824, allocations: 11.97 kB / 0.7597 GB, free: 1.496 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001025/0.3825, allocations: 118.9 kB / 0.7598 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.3825, allocations: 4 kB / 0.7598 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.3828, allocations: 98.2 kB / 0.7599 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.403e-06/0.3828, allocations: 0 / 0.7599 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.318e-06/0.3828, allocations: 3.953 kB / 0.7599 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.241e-06/0.3828, allocations: 4 kB / 0.7599 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005661/0.3834, allocations: 370.5 kB / 0.7603 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.773e-06/0.3834, allocations: 0 / 0.7603 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.675e-05/0.3835, allocations: 11.98 kB / 0.7603 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.092e-06/0.3836, allocations: 0 / 0.7603 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.3836, allocations: 3.953 kB / 0.7603 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.3836, allocations: 4 kB / 0.7603 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3836, allocations: 0 / 0.7603 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.3839, allocations: 183.4 kB / 0.7605 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/0.3839, allocations: 85.09 kB / 0.7606 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.384, allocations: 0 / 0.7606 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.3842, allocations: 24.31 kB / 0.7606 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.3842, allocations: 7.984 kB / 0.7606 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-06/0.3842, allocations: 0 / 0.7606 GB, free: 500 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.579e-05/0.3843, allocations: 99.22 kB / 0.7607 GB, free: 400 kB / 0.6355 GB Notification: Performance of sort global known variables: time 7.54e-07/0.3843, allocations: 0 / 0.7607 GB, free: 400 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003368/0.3847, allocations: 23.89 kB / 0.7607 GB, free: 376 kB / 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 (booPul.y,$whenCondition2,$whenCondition1,booPul.pulseStart,triSam.y,triSam1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001406/0.3848, allocations: 99.25 kB / 0.7608 GB, free: 268 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.385, allocations: 51.92 kB / 0.7609 GB, free: 216 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.54e-06/0.385, allocations: 0 / 0.7609 GB, free: 216 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.506e-05/0.3851, allocations: 31.94 kB / 0.7609 GB, free: 184 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.3854, allocations: 16.23 kB / 0.7609 GB, free: 168 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.3858, allocations: 105.5 kB / 0.761 GB, free: 36 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.3862, allocations: 0.6948 MB / 0.7617 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.778e-05/0.3863, allocations: 11.92 kB / 0.7617 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.3863, allocations: 11.44 kB / 0.7617 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of SimCode: time 1.696e-06/0.3863, allocations: 4 kB / 0.7617 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of Templates: time 0.003708/0.39, allocations: 0.7837 MB / 0.7625 GB, free: 14.51 MB / 0.6511 GB