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.Discrete.Examples.TriggeredSampler.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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006596/0.006595, allocations: 231.5 kB / 15.82 MB, free: 6.293 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.001885/0.001885, allocations: 172.1 kB / 16.7 MB, free: 5.453 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 4.062/4.062, allocations: 389.1 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 3.99/3.99, allocations: 472.3 MB / 0.9024 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006348/0.000635, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1793, allocations: 98.72 MB / 1.105 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7903/0.9696, allocations: 124.8 MB / 1.227 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/0.97, allocations: 81.08 kB / 1.227 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.005651/0.9756, allocations: 1.113 MB / 1.228 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.248e-06/0.9757, allocations: 4 kB / 1.228 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.9757, allocations: 0 / 1.228 GB, free: 27.52 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007218/0.9765, allocations: 393.1 kB / 1.228 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.9765, allocations: 9.344 kB / 1.228 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.9766, allocations: 9.625 kB / 1.228 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.9767, allocations: 171.8 kB / 1.228 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.9768, allocations: 7.25 kB / 1.228 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.9768, allocations: 11.06 kB / 1.228 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.9772, allocations: 76.69 kB / 1.228 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.9772, allocations: 0 / 1.228 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.9772, allocations: 0 / 1.228 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.9773, allocations: 1.875 kB / 1.228 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.9777, allocations: 73.42 kB / 1.228 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006753/0.9784, allocations: 302.5 kB / 1.229 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/0.9788, allocations: 68.56 kB / 1.229 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.979, allocations: 42.06 kB / 1.229 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.9791, allocations: 7.031 kB / 1.229 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003923/0.9795, allocations: 83.72 kB / 1.229 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.346e-06/0.9795, allocations: 0 / 1.229 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.00084/0.9803, allocations: 162.8 kB / 1.229 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.9804, allocations: 63.03 kB / 1.229 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.9806, allocations: 117.2 kB / 1.229 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.9806, allocations: 29.7 kB / 1.229 GB, free: 26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.318e-05/0.9807, allocations: 93.5 kB / 1.229 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.9808, allocations: 17.66 kB / 1.229 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-06/0.9808, allocations: 0 / 1.229 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.981, allocations: 319.5 kB / 1.23 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.9812, allocations: 33.66 kB / 1.23 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.9815, allocations: 69.47 kB / 1.23 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.9817, allocations: 43.92 kB / 1.23 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.9818, allocations: 0 / 1.23 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000581/0.9824, allocations: 131.9 kB / 1.23 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.9824, allocations: 8.703 kB / 1.23 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.9824, allocations: 2.578 kB / 1.23 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.9824, allocations: 7.953 kB / 1.23 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.9827, allocations: 16.97 kB / 1.23 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.9827, allocations: 3.938 kB / 1.23 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.9829, allocations: 29.86 kB / 1.23 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.983, allocations: 6.156 kB / 1.23 GB, free: 25.33 MB / 0.6198 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 () * Number of clocked 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.0001406/0.9831, allocations: 121.3 kB / 1.23 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.9832, allocations: 0.5156 kB / 1.23 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005915/0.9838, allocations: 138.5 kB / 1.23 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.9838, allocations: 1.453 kB / 1.23 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.9838, allocations: 3.953 kB / 1.23 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.9838, allocations: 3.828 kB / 1.23 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009461/0.9848, allocations: 401.1 kB / 1.231 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.9848, allocations: 7.391 kB / 1.231 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.985, allocations: 18.34 kB / 1.231 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.985, allocations: 0 / 1.231 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.985, allocations: 4.609 kB / 1.231 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.985, allocations: 0 / 1.231 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.985, allocations: 0 / 1.231 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.9862, allocations: 218 kB / 1.231 GB, free: 40.52 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.9862, allocations: 87.73 kB / 1.231 GB, free: 40.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.9863, allocations: 0 / 1.231 GB, free: 40.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.9866, allocations: 23.16 kB / 1.231 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.525e-05/0.9866, allocations: 11.22 kB / 1.231 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.9867, allocations: 0.7969 kB / 1.231 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.297e-05/0.9868, allocations: 90.16 kB / 1.231 GB, free: 40.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.81e-07/0.9868, allocations: 1.875 kB / 1.231 GB, free: 40.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005276/0.9873, allocations: 15.5 kB / 1.231 GB, free: 40.3 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 (booPul.y,$whenCondition2,$whenCondition1,booPul.pulseStart,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked 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.0001377/0.9875, allocations: 105.5 kB / 1.231 GB, free: 40.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005384/0.988, allocations: 91.73 kB / 1.231 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.9881, allocations: 0 / 1.231 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.9883, allocations: 44.84 kB / 1.231 GB, free: 40.11 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.9889, allocations: 16.95 kB / 1.231 GB, free: 40.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005723/0.9895, allocations: 195.6 kB / 1.232 GB, free: 39.92 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.9899, allocations: 0.6992 MB / 1.232 GB, free: 39.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.995e-05/0.99, allocations: 8.297 kB / 1.232 GB, free: 39.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.9901, allocations: 16.12 kB / 1.232 GB, free: 39.19 MB / 0.6355 GB Notification: Performance of SimCode: time 1.012e-06/0.9901, allocations: 0 / 1.232 GB, free: 39.19 MB / 0.6355 GB Notification: Performance of Templates: time 0.004549/0.9946, allocations: 0.764 MB / 1.233 GB, free: 38.8 MB / 0.6355 GB