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 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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0111/0.0111, allocations: 106.9 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.001178/0.001177, allocations: 184.2 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.26/2.26, allocations: 194.6 MB / 211.3 MB, free: 11.3 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.323/2.323, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004995/0.0004996, allocations: 12 kB / 0.5871 GB, free: 2.043 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6849/0.6855, allocations: 98.72 MB / 0.6835 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2988/0.9843, allocations: 124.3 MB / 0.8049 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.9847, allocations: 67.95 kB / 0.8049 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.00353/0.9882, allocations: 0.7517 MB / 0.8057 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.976e-06/0.9883, allocations: 8 kB / 0.8057 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.9883, allocations: 0 / 0.8057 GB, free: 1.023 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007588/0.9891, allocations: 359.2 kB / 0.806 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.9891, allocations: 8.031 kB / 0.806 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.1e-05/0.9892, allocations: 34.56 kB / 0.806 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.9892, allocations: 0 / 0.806 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.9894, allocations: 175 kB / 0.8062 GB, free: 372 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.9894, allocations: 4 kB / 0.8062 GB, free: 368 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.9894, allocations: 4 kB / 0.8062 GB, free: 364 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.9897, allocations: 69.78 kB / 0.8063 GB, free: 288 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.9898, allocations: 0 / 0.8063 GB, free: 288 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.9898, allocations: 0 / 0.8063 GB, free: 288 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.9898, allocations: 0 / 0.8063 GB, free: 288 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003649/0.9902, allocations: 55.95 kB / 0.8063 GB, free: 232 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.9907, allocations: 264.9 kB / 0.8066 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.9911, allocations: 74.53 kB / 0.8067 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.9911, allocations: 0 / 0.8067 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004364/0.9916, allocations: 87.3 kB / 0.8067 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.064e-06/0.9916, allocations: 4 kB / 0.8067 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000729/0.9923, allocations: 117.6 kB / 0.8069 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.9924, allocations: 63.36 kB / 0.8069 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.9925, allocations: 105 kB / 0.807 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.9926, allocations: 25.7 kB / 0.807 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/0.9927, allocations: 84.05 kB / 0.8071 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.9927, allocations: 15.89 kB / 0.8071 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.9927, allocations: 3.938 kB / 0.8071 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.9929, allocations: 322.7 kB / 0.8075 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.9931, allocations: 35.97 kB / 0.8075 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.9933, allocations: 39.97 kB / 0.8075 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.9935, allocations: 31.97 kB / 0.8076 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9935, allocations: 0 / 0.8076 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004846/0.994, allocations: 106.1 kB / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.994, allocations: 4 kB / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.9941, allocations: 0 / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.9941, allocations: 0 / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.9943, allocations: 15.98 kB / 0.8077 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.9943, allocations: 12.06 kB / 0.8077 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.9945, allocations: 19.84 kB / 0.8077 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.9945, allocations: 7.938 kB / 0.8077 GB, free: 14.7 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 () * Number of clocked 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 0.0001067/0.9946, allocations: 109.8 kB / 0.8078 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.9947, allocations: 0 / 0.8078 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/0.9947, allocations: 11.91 kB / 0.8078 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.9947, allocations: 0 / 0.8078 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.9947, allocations: 192 / 0.8078 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.9948, allocations: 4 kB / 0.8078 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.9949, allocations: 177.6 kB / 0.808 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.9949, allocations: 0 / 0.808 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.995, allocations: 11.98 kB / 0.808 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.9951, allocations: 0 / 0.808 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.9951, allocations: 0 / 0.808 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.9951, allocations: 0 / 0.808 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.9951, allocations: 0 / 0.808 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000492/0.9956, allocations: 132.9 kB / 0.8081 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.9957, allocations: 81.05 kB / 0.8082 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.9957, allocations: 0 / 0.8082 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.9959, allocations: 19.98 kB / 0.8082 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.9959, allocations: 11.98 kB / 0.8082 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.996, allocations: 3.984 kB / 0.8083 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.88e-05/0.996, allocations: 87.22 kB / 0.8083 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9961, allocations: 0 / 0.8083 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000269/0.9963, allocations: 12 kB / 0.8083 GB, free: 13.94 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) * Number of clocked states: 0 () * 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.0008562/0.9972, allocations: 0.6632 MB / 0.809 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004801/0.9977, allocations: 75.89 kB / 0.8091 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.9977, allocations: 3.938 kB / 0.8091 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.998, allocations: 35.97 kB / 0.8091 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.9982, allocations: 7.984 kB / 0.8091 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006303/0.9989, allocations: 170.8 kB / 0.8093 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.9991, allocations: 0.6809 MB / 0.8099 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.438e-05/0.9992, allocations: 4 kB / 0.8099 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.9993, allocations: 15.38 kB / 0.81 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/0.9993, allocations: 0 / 0.81 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/1.019, allocations: 1.445 MB / 0.8114 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003983/1.02, allocations: 189.1 kB / 0.8115 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.43/3.45, allocations: 0 / 0.8115 GB, free: 10.63 MB / 0.6355 GB