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 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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01126/0.01126, allocations: 109.2 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.001185/0.001185, allocations: 182.5 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.074/2.074, allocations: 194.6 MB / 211.3 MB, free: 11.29 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.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005013/0.0005014, allocations: 12 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.661/0.6615, allocations: 98.72 MB / 0.6835 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001609/0.6632, allocations: 0.9937 MB / 0.6844 GB, free: 16.14 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0004482/0.6637, allocations: 170.9 kB / 0.6846 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.528e-05/0.6637, allocations: 1.281 kB / 0.6846 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.6637, allocations: 0.9375 kB / 0.6846 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.428e-05/0.6638, allocations: 14.12 kB / 0.6846 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001084/0.6639, allocations: 2.266 kB / 0.6846 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.088e-05/0.664, allocations: 15.98 kB / 0.6846 GB, free: 16.01 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.6641, allocations: 6.25 kB / 0.6846 GB, free: 16 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.6641, allocations: 8.562 kB / 0.6846 GB, free: 16 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.783e-05/0.6642, allocations: 9.016 kB / 0.6846 GB, free: 16 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.6642, allocations: 1 kB / 0.6846 GB, free: 16 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.6642, allocations: 5.094 kB / 0.6846 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.6642, allocations: 5.984 kB / 0.6847 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.6643, allocations: 31.94 kB / 0.6847 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 6.266e-05/0.6644, allocations: 11.53 kB / 0.6847 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.6644, allocations: 0 / 0.6847 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6644, allocations: 0 / 0.6847 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.6644, allocations: 0 / 0.6847 GB, free: 15.95 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004367/0.6648, allocations: 331.9 kB / 0.685 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.6649, allocations: 12.72 kB / 0.685 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.076e-05/0.6649, allocations: 35.75 kB / 0.6851 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.665, allocations: 5.672 kB / 0.6851 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.6651, allocations: 173.8 kB / 0.6852 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.6651, allocations: 6.172 kB / 0.6852 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.6651, allocations: 5.25 kB / 0.6852 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.656e-05/0.6652, allocations: 36.09 kB / 0.6853 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.6652, allocations: 0 / 0.6853 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.6653, allocations: 1.031 kB / 0.6853 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6653, allocations: 4 kB / 0.6853 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.428e-05/0.6653, allocations: 5.594 kB / 0.6853 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/0.6656, allocations: 158.8 kB / 0.6854 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.914e-05/0.6657, allocations: 29.94 kB / 0.6855 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.6657, allocations: 1 kB / 0.6855 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002688/0.666, allocations: 51.8 kB / 0.6855 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 3.907e-06/0.666, allocations: 4 kB / 0.6855 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0004202/0.6665, allocations: 57.95 kB / 0.6856 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.6666, allocations: 52.3 kB / 0.6856 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.6668, allocations: 102.6 kB / 0.6857 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.6668, allocations: 26.67 kB / 0.6857 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.6669, allocations: 81.61 kB / 0.6858 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.6669, allocations: 6.344 kB / 0.6858 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/0.667, allocations: 4 kB / 0.6858 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.6671, allocations: 320.8 kB / 0.6861 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.6671, allocations: 7.469 kB / 0.6861 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.62e-05/0.6672, allocations: 20.55 kB / 0.6862 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.5e-05/0.6673, allocations: 7.938 kB / 0.6862 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.6673, allocations: 0.9844 kB / 0.6862 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001711/0.6675, allocations: 51.56 kB / 0.6862 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.6676, allocations: 4.875 kB / 0.6862 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.6676, allocations: 0 / 0.6862 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.6676, allocations: 5.375 kB / 0.6862 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.544e-05/0.6677, allocations: 3.328 kB / 0.6862 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.6677, allocations: 1.406 kB / 0.6862 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.553e-05/0.6678, allocations: 6.625 kB / 0.6862 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.6678, allocations: 2.281 kB / 0.6862 GB, free: 14.3 MB / 0.5261 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 () * Number of clocked 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.165e-05/0.6679, allocations: 117.3 kB / 0.6864 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.6679, allocations: 6.594 kB / 0.6864 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.668, allocations: 4.594 kB / 0.6864 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.668, allocations: 11.92 kB / 0.6864 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.668, allocations: 1.281 kB / 0.6864 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.668, allocations: 0.9844 kB / 0.6864 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.6682, allocations: 159.5 kB / 0.6865 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6682, allocations: 3.938 kB / 0.6865 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.008e-05/0.6682, allocations: 1.922 kB / 0.6865 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.6682, allocations: 0 / 0.6865 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.6682, allocations: 0.5625 kB / 0.6865 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6682, allocations: 1.312 kB / 0.6865 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6682, allocations: 0.6562 kB / 0.6865 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.6684, allocations: 79.67 kB / 0.6866 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.6684, allocations: 79.2 kB / 0.6867 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.6684, allocations: 1.891 kB / 0.6867 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.6685, allocations: 6 kB / 0.6867 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.6686, allocations: 4.219 kB / 0.6867 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.6686, allocations: 6 kB / 0.6867 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.579e-05/0.6686, allocations: 80.28 kB / 0.6868 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.6e-07/0.6686, allocations: 7.938 kB / 0.6868 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002484/0.6689, allocations: 5.516 kB / 0.6868 GB, free: 13.7 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,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked 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.0003092/0.6692, allocations: 0.6176 MB / 0.6874 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.6693, allocations: 21.41 kB / 0.6874 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.6694, allocations: 8 kB / 0.6874 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.505e-05/0.6694, allocations: 12.36 kB / 0.6874 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.6696, allocations: 6.766 kB / 0.6875 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006796/0.6703, allocations: 0.5146 MB / 0.688 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.6705, allocations: 0.679 MB / 0.6886 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.968e-05/0.6705, allocations: 1.562 kB / 0.6886 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.6706, allocations: 10.78 kB / 0.6886 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of SimCode: time 6.72e-07/0.6706, allocations: 0 / 0.6886 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.6897, allocations: 1.106 MB / 0.6897 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.69, allocations: 196.7 kB / 0.6899 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.305/2.996, allocations: 1.188 kB / 0.6899 GB, free: 11.45 MB / 0.5261 GB