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.Continuous.Sources.Validation.Pulse.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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0043/0.004306, allocations: 233.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.001225/0.001224, allocations: 174 kB / 16.7 MB, free: 5.449 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 3.966/3.966, allocations: 389.1 MB / 406.5 MB, free: 11.82 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 4.013/4.013, allocations: 472.3 MB / 0.9024 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0007997/0.0008, allocations: 15.98 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2524, allocations: 98.71 MB / 1.105 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7787/1.031, allocations: 124.3 MB / 1.226 GB, free: 28.71 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/1.031, allocations: 77.84 kB / 1.226 GB, free: 28.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003072/1.035, allocations: 0.7535 MB / 1.227 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.274e-06/1.035, allocations: 0 / 1.227 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.613e-06/1.035, allocations: 0 / 1.227 GB, free: 28.13 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.0005465/1.035, allocations: 346.9 kB / 1.227 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/1.035, allocations: 11.34 kB / 1.227 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/1.035, allocations: 10.28 kB / 1.227 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.02e-05/1.035, allocations: 172.9 kB / 1.227 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/1.035, allocations: 4 kB / 1.227 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/1.035, allocations: 0 / 1.227 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/1.036, allocations: 70.89 kB / 1.227 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.036, allocations: 3.156 kB / 1.227 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/1.036, allocations: 4.656 kB / 1.227 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/1.036, allocations: 0.875 kB / 1.227 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/1.036, allocations: 47.69 kB / 1.228 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/1.037, allocations: 261.8 kB / 1.228 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/1.037, allocations: 71.47 kB / 1.228 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/1.037, allocations: 37.89 kB / 1.228 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/1.037, allocations: 0 / 1.228 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003392/1.038, allocations: 89.91 kB / 1.228 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.814e-06/1.038, allocations: 0 / 1.228 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.000675/1.038, allocations: 127.6 kB / 1.228 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/1.038, allocations: 60.16 kB / 1.228 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/1.038, allocations: 111.9 kB / 1.228 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/1.038, allocations: 29.64 kB / 1.228 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/1.039, allocations: 92.61 kB / 1.228 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/1.039, allocations: 8.469 kB / 1.228 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/1.039, allocations: 0 / 1.228 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.039, allocations: 319.9 kB / 1.229 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/1.039, allocations: 36.84 kB / 1.229 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/1.039, allocations: 32.17 kB / 1.229 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/1.039, allocations: 36.08 kB / 1.229 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.039, allocations: 0 / 1.229 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004378/1.04, allocations: 101.9 kB / 1.229 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/1.04, allocations: 9.391 kB / 1.229 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/1.04, allocations: 0 / 1.229 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.04, allocations: 5.875 kB / 1.229 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/1.04, allocations: 23.22 kB / 1.229 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/1.04, allocations: 0.6562 kB / 1.229 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/1.04, allocations: 18.48 kB / 1.229 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/1.04, allocations: 4 kB / 1.229 GB, free: 26.12 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 () * Number of clocked 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.433e-05/1.04, allocations: 114.4 kB / 1.229 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/1.04, allocations: 7.906 kB / 1.229 GB, free: 26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/1.04, allocations: 7.797 kB / 1.229 GB, free: 26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/1.04, allocations: 0 / 1.229 GB, free: 26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.04, allocations: 4 kB / 1.229 GB, free: 26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.04, allocations: 1.641 kB / 1.229 GB, free: 26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/1.041, allocations: 170.8 kB / 1.229 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.041, allocations: 2.875 kB / 1.229 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.705e-05/1.041, allocations: 10.86 kB / 1.229 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.041, allocations: 0 / 1.229 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/1.041, allocations: 5.547 kB / 1.229 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/1.041, allocations: 0 / 1.229 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.041, allocations: 0 / 1.229 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/1.041, allocations: 127.3 kB / 1.229 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/1.041, allocations: 90.5 kB / 1.229 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/1.041, allocations: 3.125 kB / 1.229 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/1.041, allocations: 12.27 kB / 1.229 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.898e-05/1.041, allocations: 12 kB / 1.229 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/1.042, allocations: 4.484 kB / 1.229 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.087e-05/1.042, allocations: 89.83 kB / 1.23 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/1.042, allocations: 0 / 1.23 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002752/1.042, allocations: 12.53 kB / 1.23 GB, free: 25.46 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) * Number of clocked states: 0 () * 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.0001398/1.042, allocations: 104.5 kB / 1.23 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004378/1.042, allocations: 73.55 kB / 1.23 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.042, allocations: 6.594 kB / 1.23 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002041/1.043, allocations: 36.66 kB / 1.23 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/1.043, allocations: 20.02 kB / 1.23 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/1.043, allocations: 133.6 kB / 1.23 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007471/1.044, allocations: 0.6818 MB / 1.231 GB, free: 40.44 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.397e-05/1.044, allocations: 3.797 kB / 1.231 GB, free: 40.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/1.044, allocations: 14.81 kB / 1.231 GB, free: 40.43 MB / 0.6355 GB Notification: Performance of SimCode: time 8.32e-07/1.044, allocations: 0 / 1.231 GB, free: 40.43 MB / 0.6355 GB Notification: Performance of Templates: time 0.003616/1.048, allocations: 0.6925 MB / 1.231 GB, free: 40.07 MB / 0.6355 GB