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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.158/4.158, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.004e-05, allocations: 6.875 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2122, allocations: 98.73 MB / 0.6289 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2322/0.4445, allocations: 123.5 MB / 0.7496 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.4448, allocations: 75.94 kB / 0.7496 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003066/0.4479, allocations: 0.7541 MB / 0.7504 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4479, allocations: 0 / 0.7504 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.4479, allocations: 4 kB / 0.7504 GB, free: 12.52 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.000571/0.4485, allocations: 346.5 kB / 0.7507 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.4486, allocations: 8.031 kB / 0.7507 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.4486, allocations: 7.953 kB / 0.7507 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.4488, allocations: 166.9 kB / 0.7509 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.4488, allocations: 4 kB / 0.7509 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.4488, allocations: 4 kB / 0.7509 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.65e-05/0.449, allocations: 16.12 kB / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.4491, allocations: 49.61 kB / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.4491, allocations: 0 / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.4491, allocations: 0 / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.4491, allocations: 0 / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.4496, allocations: 245.4 kB / 0.7512 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.864e-05/0.4497, allocations: 34.56 kB / 0.7512 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.61e-05/0.4497, allocations: 16.84 kB / 0.7512 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.4498, allocations: 0 / 0.7512 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.4499, allocations: 63.42 kB / 0.7513 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.45, allocations: 0 / 0.7513 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001968/0.4502, allocations: 53.69 kB / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.4502, allocations: 59.41 kB / 0.7514 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.4504, allocations: 108.8 kB / 0.7515 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.4504, allocations: 25.7 kB / 0.7515 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/0.4505, allocations: 84.14 kB / 0.7516 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.4505, allocations: 11.89 kB / 0.7516 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-06/0.4505, allocations: 0 / 0.7516 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4507, allocations: 318.8 kB / 0.7519 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.963e-05/0.4508, allocations: 12 kB / 0.7519 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.168e-05/0.4508, allocations: 23.94 kB / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.817e-05/0.4509, allocations: 12 kB / 0.752 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4509, allocations: 0 / 0.752 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001668/0.4511, allocations: 61.59 kB / 0.752 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.4511, allocations: 8 kB / 0.752 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.4511, allocations: 0 / 0.752 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4511, allocations: 0 / 0.752 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.4513, allocations: 15.98 kB / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.4514, allocations: 0 / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.4515, allocations: 15.98 kB / 0.7521 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.4516, allocations: 7.953 kB / 0.7521 GB, free: 10.57 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.76e-05/0.4517, allocations: 104.9 kB / 0.7522 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001337/0.4518, allocations: 61.62 kB / 0.7522 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.4519, allocations: 7.891 kB / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.4519, allocations: 4.344 kB / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4519, allocations: 4 kB / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4519, allocations: 3.953 kB / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.452, allocations: 4 kB / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.4521, allocations: 146.2 kB / 0.7524 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.4521, allocations: 0 / 0.7524 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.4523, allocations: 11.98 kB / 0.7524 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4523, allocations: 0 / 0.7524 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.4523, allocations: 4 kB / 0.7524 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4523, allocations: 0 / 0.7524 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.4523, allocations: 3.938 kB / 0.7524 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.4525, allocations: 89.02 kB / 0.7525 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.4526, allocations: 85 kB / 0.7526 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.4526, allocations: 0 / 0.7526 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.4528, allocations: 11.98 kB / 0.7526 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/0.4529, allocations: 7.984 kB / 0.7526 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.4529, allocations: 4 kB / 0.7526 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.834e-05/0.453, allocations: 83.28 kB / 0.7527 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.453, allocations: 0 / 0.7527 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002729/0.4533, allocations: 12 kB / 0.7527 GB, free: 9.844 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.0005736/0.4538, allocations: 0.6242 MB / 0.7533 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001567/0.454, allocations: 36.11 kB / 0.7534 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.454, allocations: 0 / 0.7534 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.355e-05/0.4541, allocations: 16 kB / 0.7534 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.4544, allocations: 8.688 kB / 0.7534 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/0.4549, allocations: 105.6 kB / 0.7535 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.4552, allocations: 0.6768 MB / 0.7541 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.893e-05/0.4553, allocations: 11.97 kB / 0.7541 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.181e-05/0.4554, allocations: 15.44 kB / 0.7542 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/0.4554, allocations: 4 kB / 0.7542 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03951/0.4949, allocations: 1.125 MB / 0.7553 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002917/0.4953, allocations: 154.2 kB / 0.7554 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/2.885, allocations: 0 / 0.7554 GB, free: 6.957 MB / 0.6355 GB