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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009162/0.009166, allocations: 108.2 kB / 15.06 MB, free: 5.562 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.001139/0.001138, allocations: 185.6 kB / 15.95 MB, free: 5.523 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 1.808/1.808, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.389/2.389, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.0004681, allocations: 16 kB / 0.587 GB, free: 2.148 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5856/0.5861, allocations: 98.71 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001304/0.5875, allocations: 1.043 MB / 0.6844 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0003309/0.5878, allocations: 141 kB / 0.6845 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.5879, allocations: 1.156 kB / 0.6845 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.111e-05/0.5879, allocations: 0 / 0.6845 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.84e-05/0.588, allocations: 2.391 kB / 0.6845 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/0.5881, allocations: 17.19 kB / 0.6845 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.331e-05/0.5882, allocations: 28.97 kB / 0.6846 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.836e-05/0.5882, allocations: 1.641 kB / 0.6846 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.181e-05/0.5883, allocations: 14.78 kB / 0.6846 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.683e-05/0.5884, allocations: 20.11 kB / 0.6846 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.5884, allocations: 2.531 kB / 0.6846 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.5884, allocations: 1.844 kB / 0.6846 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.5885, allocations: 6.609 kB / 0.6846 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.5885, allocations: 36.3 kB / 0.6846 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 6.774e-05/0.5886, allocations: 29.97 kB / 0.6847 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.5886, allocations: 0 / 0.6847 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.938e-06/0.5886, allocations: 1.219 kB / 0.6847 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.765e-06/0.5886, allocations: 0 / 0.6847 GB, free: 15.71 MB / 0.5261 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.0004986/0.5891, allocations: 356.2 kB / 0.685 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.5892, allocations: 8.75 kB / 0.685 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.5892, allocations: 2.125 kB / 0.685 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.457e-05/0.5893, allocations: 174.7 kB / 0.6852 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.5893, allocations: 5.062 kB / 0.6852 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.5894, allocations: 3.25 kB / 0.6852 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.5896, allocations: 71.2 kB / 0.6853 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.968e-06/0.5896, allocations: 0 / 0.6853 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.5896, allocations: 1.375 kB / 0.6853 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.5897, allocations: 3.938 kB / 0.6853 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.5899, allocations: 56.94 kB / 0.6853 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.5903, allocations: 257.8 kB / 0.6856 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.5906, allocations: 74.08 kB / 0.6856 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.5906, allocations: 0 / 0.6856 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/0.5909, allocations: 95.8 kB / 0.6857 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.386e-06/0.5909, allocations: 0 / 0.6857 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0004973/0.5914, allocations: 124.6 kB / 0.6858 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.5914, allocations: 57.28 kB / 0.6859 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.798e-05/0.5915, allocations: 112.2 kB / 0.686 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.5916, allocations: 25.7 kB / 0.686 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.5916, allocations: 87.88 kB / 0.6861 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.5916, allocations: 17.45 kB / 0.6861 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.518e-06/0.5917, allocations: 5.344 kB / 0.6861 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.5917, allocations: 314.1 kB / 0.6864 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.5919, allocations: 38.62 kB / 0.6865 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.592, allocations: 35.92 kB / 0.6865 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.5922, allocations: 29.84 kB / 0.6865 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.426e-06/0.5922, allocations: 4 kB / 0.6865 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003495/0.5926, allocations: 101.7 kB / 0.6866 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.5926, allocations: 5.844 kB / 0.6866 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.375e-06/0.5926, allocations: 0 / 0.6866 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.5926, allocations: 1.344 kB / 0.6866 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.5928, allocations: 23.45 kB / 0.6867 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.87e-05/0.5928, allocations: 1.562 kB / 0.6867 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.593, allocations: 15.61 kB / 0.6867 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.593, allocations: 1.969 kB / 0.6867 GB, free: 13.95 MB / 0.5261 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 7.319e-05/0.5931, allocations: 117.1 kB / 0.6868 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.5931, allocations: 8 kB / 0.6868 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.5931, allocations: 7.844 kB / 0.6868 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.091e-06/0.5931, allocations: 5.578 kB / 0.6868 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.653e-06/0.5932, allocations: 1.719 kB / 0.6868 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.683e-06/0.5932, allocations: 0 / 0.6868 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.5933, allocations: 167.8 kB / 0.687 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.471e-06/0.5933, allocations: 1.766 kB / 0.687 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.917e-05/0.5934, allocations: 11.14 kB / 0.687 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.571e-06/0.5934, allocations: 3.938 kB / 0.687 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.5934, allocations: 2.016 kB / 0.687 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.5934, allocations: 0 / 0.687 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5934, allocations: 1.781 kB / 0.687 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.5938, allocations: 126.3 kB / 0.6871 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.834e-05/0.5938, allocations: 87.41 kB / 0.6872 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.5939, allocations: 1.734 kB / 0.6872 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.594, allocations: 19.77 kB / 0.6872 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/0.5941, allocations: 9.016 kB / 0.6872 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.5941, allocations: 6.688 kB / 0.6872 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.198e-05/0.5942, allocations: 83.22 kB / 0.6873 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.77e-07/0.5942, allocations: 1.469 kB / 0.6873 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000255/0.5944, allocations: 11.75 kB / 0.6873 GB, free: 13.33 MB / 0.5261 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.0001126/0.5946, allocations: 105.3 kB / 0.6874 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003475/0.5949, allocations: 76.67 kB / 0.6875 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.599e-06/0.5949, allocations: 0 / 0.6875 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.5951, allocations: 41.77 kB / 0.6875 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.5953, allocations: 9.609 kB / 0.6876 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.5957, allocations: 136 kB / 0.6877 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.5958, allocations: 0.6866 MB / 0.6884 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.17e-05/0.5959, allocations: 7.688 kB / 0.6884 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.5959, allocations: 8.906 kB / 0.6884 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of SimCode: time 1.393e-06/0.5959, allocations: 0 / 0.6884 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of Templates: time 0.003319/0.5992, allocations: 0.6911 MB / 0.689 GB, free: 12.31 MB / 0.5261 GB