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 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.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 loadModel(Buildings): time 4.135/4.135, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.034e-05/3.028e-05, allocations: 5.219 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2153, allocations: 98.75 MB / 0.6289 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2259/0.4412, allocations: 123.4 MB / 0.7495 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.4415, allocations: 71.95 kB / 0.7495 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001846/0.4434, allocations: 0.567 MB / 0.7501 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4434, allocations: 0 / 0.7501 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.4434, allocations: 0 / 0.7501 GB, free: 12.87 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004291/0.4438, allocations: 334.5 kB / 0.7504 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.4439, allocations: 11.97 kB / 0.7504 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.444, allocations: 7.953 kB / 0.7504 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.4441, allocations: 167 kB / 0.7506 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4442, allocations: 0 / 0.7506 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.4442, allocations: 4 kB / 0.7506 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.606e-05/0.4442, allocations: 8 kB / 0.7506 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.885e-05/0.4443, allocations: 33.7 kB / 0.7506 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4443, allocations: 0 / 0.7506 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.4444, allocations: 3.938 kB / 0.7506 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.4444, allocations: 0 / 0.7506 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.4446, allocations: 142.2 kB / 0.7508 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.311e-05/0.4446, allocations: 22.58 kB / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.4447, allocations: 8.922 kB / 0.7508 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.4447, allocations: 0 / 0.7508 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/0.4448, allocations: 55.41 kB / 0.7508 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.4448, allocations: 0 / 0.7508 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001585/0.445, allocations: 53.53 kB / 0.7509 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.4451, allocations: 51.41 kB / 0.7509 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.68e-05/0.4452, allocations: 97.03 kB / 0.751 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4452, allocations: 29.7 kB / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.4452, allocations: 80.14 kB / 0.7511 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.4453, allocations: 4 kB / 0.7511 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.4453, allocations: 0 / 0.7511 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4454, allocations: 322.8 kB / 0.7515 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.4454, allocations: 7.938 kB / 0.7515 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.923e-05/0.4455, allocations: 17.72 kB / 0.7515 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.332e-05/0.4455, allocations: 4 kB / 0.7515 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4455, allocations: 0 / 0.7515 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001002/0.4457, allocations: 53.56 kB / 0.7515 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.4457, allocations: 13.41 kB / 0.7515 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.4457, allocations: 0 / 0.7515 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.4457, allocations: 0 / 0.7515 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.305e-05/0.4458, allocations: 4 kB / 0.7515 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.4458, allocations: 0 / 0.7515 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.098e-05/0.4459, allocations: 7.984 kB / 0.7516 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.4459, allocations: 4 kB / 0.7516 GB, free: 11.15 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 () * 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 7.649e-05/0.446, allocations: 104.9 kB / 0.7517 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.939e-05/0.4461, allocations: 53.62 kB / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.4461, allocations: 7.938 kB / 0.7517 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.4462, allocations: 8.125 kB / 0.7517 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4462, allocations: 0 / 0.7517 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4462, allocations: 0 / 0.7517 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4462, allocations: 0 / 0.7517 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.4463, allocations: 142.2 kB / 0.7519 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4464, allocations: 4 kB / 0.7519 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-06/0.4464, allocations: 0 / 0.7519 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.4464, allocations: 4 kB / 0.7519 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.4464, allocations: 0 / 0.7519 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4464, allocations: 4 kB / 0.7519 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4464, allocations: 0 / 0.7519 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.4465, allocations: 76.98 kB / 0.7519 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.4466, allocations: 81.11 kB / 0.752 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.4466, allocations: 0 / 0.752 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.4467, allocations: 7.984 kB / 0.752 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.4468, allocations: 7.938 kB / 0.752 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.4468, allocations: 7.984 kB / 0.752 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.46e-05/0.4468, allocations: 83.28 kB / 0.7521 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4468, allocations: 0 / 0.7521 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002434/0.4471, allocations: 4 kB / 0.7521 GB, free: 10.48 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 () * 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.0004247/0.4475, allocations: 0.6052 MB / 0.7527 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.974e-05/0.4476, allocations: 23.92 kB / 0.7527 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4477, allocations: 0 / 0.7527 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.051e-05/0.4477, allocations: 12.08 kB / 0.7528 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.4479, allocations: 4 kB / 0.7528 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.4483, allocations: 85.75 kB / 0.7528 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.4485, allocations: 0.6846 MB / 0.7535 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.651e-05/0.4486, allocations: 4.062 kB / 0.7535 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.4486, allocations: 19.42 kB / 0.7535 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of SimCode: time 8.12e-07/0.4486, allocations: 0 / 0.7535 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03572/0.4844, allocations: 0.7933 MB / 0.7543 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002721/0.4847, allocations: 158.4 kB / 0.7545 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/2.676, allocations: 0 / 0.7545 GB, free: 7.965 MB / 0.6355 GB