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.01421/0.01421, allocations: 106.7 kB / 15.06 MB, free: 5.555 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.001234/0.001235, allocations: 182.6 kB / 15.95 MB, free: 5.52 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.117/2.117, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.428/2.428, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004887, allocations: 12 kB / 0.5871 GB, free: 2.039 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7463/0.7468, allocations: 98.71 MB / 0.6835 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001734/0.7486, allocations: 1.039 MB / 0.6845 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.000421/0.7491, allocations: 137.4 kB / 0.6846 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.7492, allocations: 0 / 0.6846 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.975e-05/0.7492, allocations: 2 kB / 0.6846 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.959e-05/0.7493, allocations: 14.09 kB / 0.6846 GB, free: 16.01 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.7495, allocations: 9.547 kB / 0.6846 GB, free: 16.01 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.641e-05/0.7496, allocations: 31.62 kB / 0.6847 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.534e-05/0.7496, allocations: 2.688 kB / 0.6847 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.277e-05/0.7497, allocations: 15.16 kB / 0.6847 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.7498, allocations: 15.14 kB / 0.6847 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.7498, allocations: 1.5 kB / 0.6847 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.599e-05/0.7498, allocations: 2.094 kB / 0.6847 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.7499, allocations: 8.062 kB / 0.6847 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.7499, allocations: 36.77 kB / 0.6847 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 8.491e-05/0.75, allocations: 29.89 kB / 0.6848 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.75, allocations: 0 / 0.6848 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.653e-06/0.75, allocations: 0 / 0.6848 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.75, allocations: 0 / 0.6848 GB, free: 15.93 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.00065/0.7507, allocations: 356.2 kB / 0.6851 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.7508, allocations: 9.984 kB / 0.6851 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.695e-05/0.7508, allocations: 39.16 kB / 0.6851 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.7509, allocations: 2.656 kB / 0.6852 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.975e-05/0.751, allocations: 167 kB / 0.6853 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.751, allocations: 0.7031 kB / 0.6853 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.7511, allocations: 6.312 kB / 0.6853 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.7514, allocations: 62.39 kB / 0.6854 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.7514, allocations: 5.094 kB / 0.6854 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.7514, allocations: 4.938 kB / 0.6854 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.7514, allocations: 1.125 kB / 0.6854 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003571/0.7518, allocations: 57.11 kB / 0.6854 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.7523, allocations: 257.3 kB / 0.6857 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.7527, allocations: 73.95 kB / 0.6858 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.7527, allocations: 0 / 0.6858 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003494/0.7531, allocations: 96.25 kB / 0.6858 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.204e-06/0.7531, allocations: 0 / 0.6858 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.000699/0.7538, allocations: 120.1 kB / 0.686 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.7539, allocations: 58.02 kB / 0.686 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.499e-05/0.754, allocations: 111.8 kB / 0.6861 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.754, allocations: 25.7 kB / 0.6862 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.754, allocations: 92.23 kB / 0.6862 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.7541, allocations: 9.781 kB / 0.6862 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/0.7541, allocations: 4 kB / 0.6863 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.937e-05/0.7542, allocations: 318.3 kB / 0.6866 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.7544, allocations: 31.31 kB / 0.6866 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.7546, allocations: 40.09 kB / 0.6866 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.7548, allocations: 32.77 kB / 0.6867 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.7548, allocations: 0 / 0.6867 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004713/0.7553, allocations: 106.5 kB / 0.6868 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.7554, allocations: 6.781 kB / 0.6868 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.7554, allocations: 0 / 0.6868 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.7554, allocations: 5.562 kB / 0.6868 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.7556, allocations: 19.81 kB / 0.6868 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.7556, allocations: 1.031 kB / 0.6868 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.7558, allocations: 20.22 kB / 0.6868 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.7558, allocations: 1.844 kB / 0.6868 GB, free: 14.14 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 8.537e-05/0.7559, allocations: 121.2 kB / 0.6869 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.7559, allocations: 6.766 kB / 0.6869 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.756, allocations: 6.016 kB / 0.6869 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.756, allocations: 192 / 0.6869 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.756, allocations: 1.953 kB / 0.6869 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.756, allocations: 3.984 kB / 0.6869 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.7561, allocations: 169 kB / 0.6871 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.7562, allocations: 0.7031 kB / 0.6871 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.7563, allocations: 14.66 kB / 0.6871 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.7563, allocations: 1.375 kB / 0.6871 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.7563, allocations: 4.594 kB / 0.6871 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.7563, allocations: 5.547 kB / 0.6871 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7563, allocations: 0 / 0.6871 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.7568, allocations: 127.4 kB / 0.6873 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.7568, allocations: 83.08 kB / 0.6873 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.7569, allocations: 1.828 kB / 0.6873 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.757, allocations: 12.77 kB / 0.6873 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.7571, allocations: 12.72 kB / 0.6874 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.7571, allocations: 1.031 kB / 0.6874 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.615e-05/0.7572, allocations: 94.28 kB / 0.6874 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7572, allocations: 0 / 0.6874 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002645/0.7575, allocations: 12.25 kB / 0.6875 GB, free: 13.52 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.0006735/0.7582, allocations: 0.6643 MB / 0.6881 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004638/0.7587, allocations: 71.62 kB / 0.6882 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.7587, allocations: 0 / 0.6882 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.7589, allocations: 37.39 kB / 0.6882 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.7592, allocations: 10.33 kB / 0.6882 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005846/0.7598, allocations: 169.2 kB / 0.6884 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.7599, allocations: 0.6818 MB / 0.689 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.243e-05/0.76, allocations: 8.344 kB / 0.6891 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.7601, allocations: 11.16 kB / 0.6891 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of SimCode: time 1.012e-06/0.7601, allocations: 0 / 0.6891 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.7793, allocations: 1.443 MB / 0.6905 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003938/0.7798, allocations: 200.1 kB / 0.6907 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/3.27, allocations: 3.938 kB / 0.6907 GB, free: 11.57 MB / 0.5261 GB