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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.092/4.092, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.354e-05/4.372e-05, allocations: 6.109 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2874, allocations: 98.73 MB / 0.6347 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2304/0.5178, allocations: 124.2 MB / 0.756 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.5181, allocations: 79.94 kB / 0.7561 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003189/0.5213, allocations: 0.7505 MB / 0.7569 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5214, allocations: 0 / 0.7569 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.5214, allocations: 0 / 0.7569 GB, free: 4.656 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.0006027/0.522, allocations: 346.5 kB / 0.7572 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.5221, allocations: 12.03 kB / 0.7572 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/0.5222, allocations: 34.56 kB / 0.7572 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.5222, allocations: 4 kB / 0.7572 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.5223, allocations: 175.1 kB / 0.7574 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.5223, allocations: 0 / 0.7574 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.5224, allocations: 4 kB / 0.7574 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.5225, allocations: 53.61 kB / 0.7575 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.5226, allocations: 0 / 0.7575 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.5226, allocations: 0 / 0.7575 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.5226, allocations: 0 / 0.7575 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.558e-05/0.5227, allocations: 16 kB / 0.7575 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005433/0.5232, allocations: 264.9 kB / 0.7577 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.5234, allocations: 34.52 kB / 0.7578 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.247e-05/0.5235, allocations: 12.86 kB / 0.7578 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.5235, allocations: 0 / 0.7578 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.5238, allocations: 71.47 kB / 0.7578 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.585e-06/0.5238, allocations: 4 kB / 0.7578 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000239/0.524, allocations: 57.62 kB / 0.7579 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.5241, allocations: 59.34 kB / 0.7579 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.5242, allocations: 104.9 kB / 0.758 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.5243, allocations: 29.7 kB / 0.7581 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.5243, allocations: 80.14 kB / 0.7582 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.5244, allocations: 15.89 kB / 0.7582 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/0.5244, allocations: 0 / 0.7582 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5245, allocations: 318.8 kB / 0.7585 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.84e-05/0.5246, allocations: 12 kB / 0.7585 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.418e-05/0.5247, allocations: 16 kB / 0.7585 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.191e-05/0.5247, allocations: 16.45 kB / 0.7585 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5247, allocations: 0 / 0.7585 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001909/0.5249, allocations: 77.56 kB / 0.7586 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.525, allocations: 7.938 kB / 0.7586 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.525, allocations: 0 / 0.7586 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.525, allocations: 0 / 0.7586 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.5252, allocations: 23.92 kB / 0.7586 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.5253, allocations: 4 kB / 0.7586 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.5255, allocations: 19.88 kB / 0.7586 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.5255, allocations: 3.938 kB / 0.7586 GB, free: 2.594 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.592e-05/0.5256, allocations: 109 kB / 0.7587 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.5256, allocations: 0 / 0.7587 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.5257, allocations: 8.031 kB / 0.7588 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.5257, allocations: 4 kB / 0.7588 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5257, allocations: 4 kB / 0.7588 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.5257, allocations: 0 / 0.7588 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.5259, allocations: 169.5 kB / 0.7589 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5259, allocations: 4 kB / 0.7589 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.526, allocations: 8 kB / 0.7589 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.526, allocations: 0 / 0.7589 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.526, allocations: 3.984 kB / 0.7589 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.526, allocations: 0 / 0.7589 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.526, allocations: 0 / 0.7589 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.5262, allocations: 89.02 kB / 0.759 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.5263, allocations: 81.11 kB / 0.7591 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.5263, allocations: 4 kB / 0.7591 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.5265, allocations: 11.98 kB / 0.7591 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.244e-05/0.5266, allocations: 11.97 kB / 0.7591 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.5266, allocations: 4 kB / 0.7591 GB, free: 2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.762e-05/0.5267, allocations: 83.28 kB / 0.7592 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5267, allocations: 4 kB / 0.7592 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000248/0.5269, allocations: 12 kB / 0.7592 GB, free: 1.902 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.0005196/0.5275, allocations: 0.6336 MB / 0.7598 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001777/0.5277, allocations: 32 kB / 0.7599 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5277, allocations: 4 kB / 0.7599 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.066e-05/0.5278, allocations: 19.98 kB / 0.7599 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.528, allocations: 8.562 kB / 0.7599 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.5285, allocations: 106.8 kB / 0.76 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.5288, allocations: 0.6848 MB / 0.7607 GB, free: 336 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.316e-05/0.5288, allocations: 8 kB / 0.7607 GB, free: 328 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.5289, allocations: 23.42 kB / 0.7607 GB, free: 304 kB / 0.6355 GB Notification: Performance of SimCode: time 1.162e-06/0.5289, allocations: 0 / 0.7607 GB, free: 304 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.5515, allocations: 1.441 MB / 0.7621 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000277/0.5518, allocations: 175.4 kB / 0.7623 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.716/3.268, allocations: 0 / 0.7623 GB, free: 14.7 MB / 0.6511 GB