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.Logical.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.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.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.004223/0.004228, allocations: 234 kB / 15.83 MB, free: 6.285 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.00118/0.00118, allocations: 176.9 kB / 16.71 MB, free: 5.438 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.942/3.942, allocations: 389.1 MB / 406.5 MB, free: 11.81 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.023/4.023, allocations: 472.3 MB / 0.9024 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004951/0.0004954, allocations: 16 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1788, allocations: 98.72 MB / 1.105 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.772/0.9509, allocations: 124.2 MB / 1.226 GB, free: 28.74 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.9512, allocations: 80.75 kB / 1.226 GB, free: 28.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.001809/0.953, allocations: 0.5572 MB / 1.227 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9531, allocations: 0 / 1.227 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.9531, allocations: 3.438 kB / 1.227 GB, free: 28.27 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003769/0.9535, allocations: 341.1 kB / 1.227 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.9535, allocations: 8.031 kB / 1.227 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.9536, allocations: 9.406 kB / 1.227 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.654e-05/0.9537, allocations: 168 kB / 1.227 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.9537, allocations: 7.219 kB / 1.227 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.9537, allocations: 4 kB / 1.227 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.668e-05/0.9538, allocations: 35.34 kB / 1.227 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.9538, allocations: 0 / 1.227 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.9539, allocations: 2.156 kB / 1.227 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.9539, allocations: 0 / 1.227 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.752e-05/0.9539, allocations: 8.875 kB / 1.227 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.9541, allocations: 162.1 kB / 1.227 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.204e-05/0.9542, allocations: 30.23 kB / 1.227 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.715e-05/0.9542, allocations: 6.5 kB / 1.227 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.9542, allocations: 4.062 kB / 1.227 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.9544, allocations: 51.41 kB / 1.227 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.9544, allocations: 0.7656 kB / 1.227 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001809/0.9546, allocations: 51.97 kB / 1.227 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.9546, allocations: 60.8 kB / 1.227 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/0.9547, allocations: 103.7 kB / 1.228 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.9548, allocations: 28.7 kB / 1.228 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.9548, allocations: 89.06 kB / 1.228 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.9548, allocations: 3.906 kB / 1.228 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.9549, allocations: 3.391 kB / 1.228 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.955, allocations: 319.7 kB / 1.228 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.344e-05/0.955, allocations: 4 kB / 1.228 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.143e-05/0.9551, allocations: 21.33 kB / 1.228 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.744e-05/0.9551, allocations: 8.5 kB / 1.228 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.9551, allocations: 0 / 1.228 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.423e-05/0.9552, allocations: 51.69 kB / 1.228 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.9553, allocations: 7.75 kB / 1.228 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.9553, allocations: 0 / 1.228 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.9553, allocations: 4 kB / 1.228 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.383e-05/0.9554, allocations: 0.5625 kB / 1.228 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.9554, allocations: 2.719 kB / 1.228 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.201e-05/0.9555, allocations: 10.02 kB / 1.228 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.9555, allocations: 3.75 kB / 1.228 GB, free: 26.6 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,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 (4): * Single equations (assignments): 4 * 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 8.765e-05/0.9556, allocations: 118.1 kB / 1.228 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.9556, allocations: 0 / 1.228 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.9556, allocations: 8.203 kB / 1.228 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.9557, allocations: 0 / 1.228 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.9557, allocations: 4.688 kB / 1.228 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.9557, allocations: 4.406 kB / 1.228 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.9558, allocations: 155.7 kB / 1.228 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.9558, allocations: 0 / 1.228 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.728e-06/0.9558, allocations: 9.922 kB / 1.228 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.9558, allocations: 0 / 1.228 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.9559, allocations: 0 / 1.228 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.9559, allocations: 1.266 kB / 1.228 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9559, allocations: 4 kB / 1.228 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.956, allocations: 77.69 kB / 1.228 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/0.9561, allocations: 83.06 kB / 1.229 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.9561, allocations: 5.453 kB / 1.229 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.991e-05/0.9562, allocations: 5.734 kB / 1.229 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.9563, allocations: 4.391 kB / 1.229 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.9563, allocations: 8.922 kB / 1.229 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.793e-05/0.9564, allocations: 80.69 kB / 1.229 GB, free: 26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.51e-07/0.9564, allocations: 3.031 kB / 1.229 GB, free: 26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004213/0.9569, allocations: 5.359 kB / 1.229 GB, free: 26 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,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001376/0.957, allocations: 106.6 kB / 1.229 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.9571, allocations: 18.94 kB / 1.229 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.9572, allocations: 0 / 1.229 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.072e-05/0.9572, allocations: 7.516 kB / 1.229 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.9576, allocations: 12.88 kB / 1.229 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.958, allocations: 121.9 kB / 1.229 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008693/0.9588, allocations: 0.6834 MB / 1.23 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.552e-05/0.9589, allocations: 0.7969 kB / 1.23 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.9589, allocations: 11.44 kB / 1.23 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of SimCode: time 8.82e-07/0.959, allocations: 0 / 1.23 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of Templates: time 0.003735/0.9627, allocations: 444.3 kB / 1.23 GB, free: 40.82 MB / 0.6355 GB