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/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.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.739/3.739, allocations: 432.7 MB / 445.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.165e-05, allocations: 6.391 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1718, allocations: 98.73 MB / 0.6348 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2195/0.3913, allocations: 124.2 MB / 0.756 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.3916, allocations: 79.88 kB / 0.7561 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002734/0.3943, allocations: 0.7545 MB / 0.7569 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.726e-06/0.3943, allocations: 0 / 0.7569 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.158e-06/0.3944, allocations: 4 kB / 0.7569 GB, free: 4.645 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004982/0.3949, allocations: 346.4 kB / 0.7572 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3949, allocations: 8.031 kB / 0.7572 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.395, allocations: 0 / 0.7572 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.3951, allocations: 174.9 kB / 0.7574 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.3952, allocations: 8 kB / 0.7574 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.3952, allocations: 8 kB / 0.7574 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.3953, allocations: 41.69 kB / 0.7574 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.986e-06/0.3954, allocations: 3.938 kB / 0.7574 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3954, allocations: 0 / 0.7574 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.123e-06/0.3954, allocations: 0 / 0.7574 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.974e-05/0.3955, allocations: 23.92 kB / 0.7575 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.3959, allocations: 256.9 kB / 0.7577 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.396, allocations: 42.56 kB / 0.7577 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.3961, allocations: 12.86 kB / 0.7577 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.3961, allocations: 0 / 0.7577 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.3963, allocations: 63.47 kB / 0.7578 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.441e-06/0.3963, allocations: 3.938 kB / 0.7578 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001811/0.3965, allocations: 57.69 kB / 0.7579 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.3966, allocations: 59.36 kB / 0.7579 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.3967, allocations: 109 kB / 0.758 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.3967, allocations: 25.7 kB / 0.7581 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.701e-05/0.3968, allocations: 88.05 kB / 0.7581 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.3968, allocations: 7.906 kB / 0.7581 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/0.3969, allocations: 4 kB / 0.7581 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.397, allocations: 314.8 kB / 0.7584 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.516e-05/0.3971, allocations: 16 kB / 0.7585 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.863e-05/0.3971, allocations: 20 kB / 0.7585 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.69e-05/0.3972, allocations: 8 kB / 0.7585 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.351e-06/0.3972, allocations: 0 / 0.7585 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001773/0.3974, allocations: 77.52 kB / 0.7586 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3974, allocations: 4 kB / 0.7586 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.572e-06/0.3974, allocations: 0 / 0.7586 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.3975, allocations: 0 / 0.7586 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.3976, allocations: 19.98 kB / 0.7586 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.015e-06/0.3976, allocations: 0 / 0.7586 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.3978, allocations: 23.94 kB / 0.7586 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.3978, allocations: 0 / 0.7586 GB, free: 2.641 MB / 0.6355 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.639e-05/0.3979, allocations: 112.9 kB / 0.7587 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.3979, allocations: 7.984 kB / 0.7587 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.398, allocations: 4.031 kB / 0.7587 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.437e-06/0.398, allocations: 4 kB / 0.7587 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.106e-06/0.398, allocations: 0 / 0.7587 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.398, allocations: 0 / 0.7587 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.3982, allocations: 173.5 kB / 0.7589 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-06/0.3982, allocations: 4 kB / 0.7589 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-05/0.3983, allocations: 15.98 kB / 0.7589 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.395e-06/0.3983, allocations: 0 / 0.7589 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.3983, allocations: 0 / 0.7589 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.15e-06/0.3984, allocations: 0 / 0.7589 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.468e-06/0.3984, allocations: 0 / 0.7589 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.3985, allocations: 88.97 kB / 0.759 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.3986, allocations: 85.11 kB / 0.7591 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.3986, allocations: 0 / 0.7591 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.3988, allocations: 11.98 kB / 0.7591 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.3988, allocations: 11.98 kB / 0.7591 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.246e-06/0.3989, allocations: 0 / 0.7591 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7e-05/0.3989, allocations: 91.27 kB / 0.7592 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.65e-07/0.399, allocations: 0 / 0.7592 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000256/0.3992, allocations: 8 kB / 0.7592 GB, free: 1.941 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 ($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.0001611/0.3994, allocations: 115.2 kB / 0.7593 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.3996, allocations: 36 kB / 0.7593 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.561e-06/0.3996, allocations: 0 / 0.7593 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.069e-05/0.3996, allocations: 15.98 kB / 0.7594 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.3998, allocations: 10.19 kB / 0.7594 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.4001, allocations: 77.11 kB / 0.7594 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.4005, allocations: 0.6887 MB / 0.7601 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.681e-05/0.4006, allocations: 8 kB / 0.7601 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.4006, allocations: 7.438 kB / 0.7601 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of SimCode: time 1.413e-06/0.4006, allocations: 0 / 0.7601 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of Templates: time 0.00328/0.4039, allocations: 0.6987 MB / 0.7608 GB, free: 240 kB / 0.6355 GB