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.Continuous.Sources.Validation.Pulse.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.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadModel(Buildings): time 3.926/3.926, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.718e-05/2.724e-05, allocations: 8 kB / 0.5325 GB, free: 1.848 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5039/0.504, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.187/0.6911, allocations: 123.5 MB / 0.7496 GB, free: 4.012 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.6914, allocations: 75.89 kB / 0.7497 GB, free: 3.938 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002627/0.694, allocations: 0.7517 MB / 0.7504 GB, free: 3.184 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.914e-06/0.694, allocations: 4 kB / 0.7504 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.694, allocations: 3.938 kB / 0.7504 GB, free: 3.176 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000493/0.6945, allocations: 338.5 kB / 0.7507 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.6946, allocations: 15.97 kB / 0.7507 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.6946, allocations: 0 / 0.7507 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.6948, allocations: 186.8 kB / 0.7509 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.6948, allocations: 0 / 0.7509 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.6949, allocations: 7.984 kB / 0.7509 GB, free: 2.555 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.486e-05/0.695, allocations: 12 kB / 0.7509 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.92e-05/0.6951, allocations: 41.69 kB / 0.751 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.6951, allocations: 0 / 0.751 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.6951, allocations: 0 / 0.751 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.844e-06/0.6951, allocations: 4 kB / 0.751 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.6955, allocations: 241.4 kB / 0.7512 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.388e-05/0.6957, allocations: 38.52 kB / 0.7513 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.6957, allocations: 12.86 kB / 0.7513 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.6957, allocations: 4 kB / 0.7513 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.6959, allocations: 59.48 kB / 0.7513 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.36e-06/0.6959, allocations: 0 / 0.7513 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001776/0.6961, allocations: 57.62 kB / 0.7514 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.6962, allocations: 55.39 kB / 0.7514 GB, free: 1.953 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.751e-05/0.6963, allocations: 104.9 kB / 0.7515 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.6963, allocations: 29.7 kB / 0.7516 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.58e-05/0.6964, allocations: 84.14 kB / 0.7516 GB, free: 1.723 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.6964, allocations: 7.891 kB / 0.7516 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-06/0.6964, allocations: 0 / 0.7516 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.6966, allocations: 322.8 kB / 0.752 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.689e-05/0.6966, allocations: 12 kB / 0.752 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.797e-05/0.6967, allocations: 12 kB / 0.752 GB, free: 1.367 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.502e-05/0.6968, allocations: 11.98 kB / 0.752 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.383e-06/0.6968, allocations: 4 kB / 0.752 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001562/0.6969, allocations: 65.61 kB / 0.7521 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.697, allocations: 7.984 kB / 0.7521 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.085e-06/0.697, allocations: 0 / 0.7521 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.697, allocations: 0 / 0.7521 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.6972, allocations: 19.92 kB / 0.7521 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.6972, allocations: 4 kB / 0.7521 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.6973, allocations: 11.98 kB / 0.7521 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.6974, allocations: 4 kB / 0.7521 GB, free: 1.234 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.504e-05/0.6975, allocations: 108.9 kB / 0.7522 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.6975, allocations: 0 / 0.7522 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.6975, allocations: 8.344 kB / 0.7522 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.097e-06/0.6976, allocations: 7.938 kB / 0.7522 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.612e-06/0.6976, allocations: 0 / 0.7522 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.767e-06/0.6976, allocations: 0 / 0.7522 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.6977, allocations: 154 kB / 0.7524 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.191e-06/0.6977, allocations: 4 kB / 0.7524 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.062e-05/0.6978, allocations: 15.98 kB / 0.7524 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.6979, allocations: 0 / 0.7524 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.6979, allocations: 4 kB / 0.7524 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.939e-06/0.6979, allocations: 0 / 0.7524 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.6979, allocations: 3.984 kB / 0.7524 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.6981, allocations: 85.02 kB / 0.7525 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.6981, allocations: 81.19 kB / 0.7526 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.6982, allocations: 4 kB / 0.7526 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.6983, allocations: 11.98 kB / 0.7526 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.6984, allocations: 11.98 kB / 0.7526 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.6984, allocations: 4 kB / 0.7526 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.996e-05/0.6985, allocations: 87.27 kB / 0.7527 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.17e-07/0.6985, allocations: 0 / 0.7527 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000257/0.6987, allocations: 8 kB / 0.7527 GB, free: 0.5664 MB / 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 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001615/0.6989, allocations: 107.2 kB / 0.7528 GB, free: 460 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.699, allocations: 35.92 kB / 0.7528 GB, free: 424 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.168e-06/0.6991, allocations: 0 / 0.7528 GB, free: 424 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.947e-05/0.6991, allocations: 16 kB / 0.7528 GB, free: 408 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.6993, allocations: 11.89 kB / 0.7528 GB, free: 396 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002509/0.6996, allocations: 65.41 kB / 0.7529 GB, free: 308 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.7, allocations: 0.6885 MB / 0.7536 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.305e-05/0.7, allocations: 3.906 kB / 0.7536 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.7001, allocations: 15.38 kB / 0.7536 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of SimCode: time 1.385e-06/0.7001, allocations: 0 / 0.7536 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of Templates: time 0.003231/0.7033, allocations: 0.6569 MB / 0.7542 GB, free: 14.92 MB / 0.6355 GB