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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01085/0.01086, allocations: 106.2 kB / 15.05 MB, free: 5.934 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.001116/0.001116, allocations: 186.3 kB / 15.95 MB, free: 5.898 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 2.093/2.093, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.459/2.459, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004825, allocations: 16 kB / 0.5871 GB, free: 2.027 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6587/0.6592, allocations: 98.72 MB / 0.6835 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2247/0.884, allocations: 124.2 MB / 0.8047 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.8844, allocations: 79.95 kB / 0.8048 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.001841/0.8862, allocations: 0.5607 MB / 0.8053 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.615e-06/0.8862, allocations: 0 / 0.8053 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.8863, allocations: 0 / 0.8053 GB, free: 1.336 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.0004587/0.8867, allocations: 343.3 kB / 0.8057 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.8868, allocations: 12.03 kB / 0.8057 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.8868, allocations: 30.56 kB / 0.8057 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.8869, allocations: 0 / 0.8057 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.887, allocations: 174.9 kB / 0.8059 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.8871, allocations: 3.938 kB / 0.8059 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.8871, allocations: 0 / 0.8059 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.793e-05/0.8872, allocations: 33.69 kB / 0.8059 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.8872, allocations: 0 / 0.8059 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.8872, allocations: 4 kB / 0.8059 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.8872, allocations: 0 / 0.8059 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.608e-05/0.8873, allocations: 12 kB / 0.8059 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.8875, allocations: 161.5 kB / 0.8061 GB, free: 436 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.834e-05/0.8876, allocations: 30.55 kB / 0.8061 GB, free: 396 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.8876, allocations: 3.984 kB / 0.8061 GB, free: 392 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.8878, allocations: 59.45 kB / 0.8062 GB, free: 320 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.8878, allocations: 0 / 0.8062 GB, free: 320 kB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001987/0.888, allocations: 49.69 kB / 0.8062 GB, free: 264 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.888, allocations: 51.41 kB / 0.8063 GB, free: 200 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.739e-05/0.8881, allocations: 108.9 kB / 0.8064 GB, free: 84 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.8882, allocations: 25.7 kB / 0.8064 GB, free: 52 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.8882, allocations: 84.14 kB / 0.8065 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.8883, allocations: 3.906 kB / 0.8065 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-06/0.8883, allocations: 0 / 0.8065 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.8884, allocations: 330.8 kB / 0.8068 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.563e-05/0.8884, allocations: 4 kB / 0.8068 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.79e-05/0.8885, allocations: 17.72 kB / 0.8068 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.767e-05/0.8885, allocations: 4 kB / 0.8068 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8885, allocations: 0 / 0.8068 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000105/0.8887, allocations: 53.62 kB / 0.8069 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.8887, allocations: 8 kB / 0.8069 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.8887, allocations: 4.031 kB / 0.8069 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.8887, allocations: 0 / 0.8069 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.4e-05/0.8888, allocations: 0 / 0.8069 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.8888, allocations: 4 kB / 0.8069 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.504e-05/0.8889, allocations: 7.984 kB / 0.8069 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.8889, allocations: 0 / 0.8069 GB, free: 15.52 MB / 0.6355 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.946e-05/0.889, allocations: 113.8 kB / 0.807 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.889, allocations: 0 / 0.807 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.8891, allocations: 19.5 kB / 0.807 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.8891, allocations: 3.984 kB / 0.807 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.8891, allocations: 0 / 0.807 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8891, allocations: 0 / 0.807 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.8893, allocations: 157.6 kB / 0.8072 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8893, allocations: 0 / 0.8072 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.15e-05/0.8893, allocations: 0 / 0.8072 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.8893, allocations: 7.938 kB / 0.8072 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.8894, allocations: 0 / 0.8072 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.8894, allocations: 3.938 kB / 0.8072 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8894, allocations: 0 / 0.8072 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.8895, allocations: 85.53 kB / 0.8073 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.8896, allocations: 81.06 kB / 0.8074 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.8896, allocations: 0 / 0.8074 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.8897, allocations: 4 kB / 0.8074 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.8897, allocations: 8.031 kB / 0.8074 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.8898, allocations: 3.984 kB / 0.8074 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.942e-05/0.8898, allocations: 87.28 kB / 0.8075 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8898, allocations: 3.938 kB / 0.8075 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000225/0.8901, allocations: 4 kB / 0.8075 GB, free: 14.84 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,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.0004166/0.8905, allocations: 0.6163 MB / 0.8081 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.8906, allocations: 19.98 kB / 0.8081 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.8906, allocations: 4.062 kB / 0.8081 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.54e-05/0.8907, allocations: 11.94 kB / 0.8081 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.8909, allocations: 8 kB / 0.8081 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007641/0.8917, allocations: 0.5102 MB / 0.8086 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.892, allocations: 0.6809 MB / 0.8093 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.634e-05/0.892, allocations: 0 / 0.8093 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.8921, allocations: 19.42 kB / 0.8093 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of SimCode: time 9.11e-07/0.8921, allocations: 0 / 0.8093 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.9105, allocations: 1.104 MB / 0.8104 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003019/0.9109, allocations: 207.5 kB / 0.8106 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/3.242, allocations: 4.062 kB / 0.8106 GB, free: 11.61 MB / 0.6355 GB