Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.009858/0.009863, allocations: 89.48 kB / 15.04 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001177/0.001177, allocations: 173.4 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.021/2.021, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.368/2.368, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006444/0.0006445, allocations: 13.44 kB / 0.6243 GB, free: 28.29 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2257, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001712/0.2275, allocations: 1.012 MB / 0.7291 GB, free: 9.133 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004681/0.228, allocations: 166.1 kB / 0.7292 GB, free: 8.969 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.654e-05/0.228, allocations: 4 kB / 0.7292 GB, free: 8.965 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.228, allocations: 3.938 kB / 0.7292 GB, free: 8.961 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.675e-05/0.2281, allocations: 7.984 kB / 0.7292 GB, free: 8.953 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001111/0.2283, allocations: 11.98 kB / 0.7293 GB, free: 8.941 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.125e-05/0.2283, allocations: 11.98 kB / 0.7293 GB, free: 8.93 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.2284, allocations: 7.922 kB / 0.7293 GB, free: 8.922 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.985e-05/0.2284, allocations: 15.92 kB / 0.7293 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.38e-05/0.2285, allocations: 4 kB / 0.7293 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.2285, allocations: 3.938 kB / 0.7293 GB, free: 8.898 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.2285, allocations: 0 / 0.7293 GB, free: 8.898 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.2286, allocations: 15.97 kB / 0.7293 GB, free: 8.883 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.2286, allocations: 25.7 kB / 0.7293 GB, free: 8.852 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 5.772e-05/0.2287, allocations: 7.984 kB / 0.7293 GB, free: 8.844 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.2287, allocations: 4 kB / 0.7294 GB, free: 8.84 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2287, allocations: 0 / 0.7294 GB, free: 8.84 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.2287, allocations: 0 / 0.7294 GB, free: 8.84 MB / 0.5573 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.000562/0.2293, allocations: 339.6 kB / 0.7297 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2294, allocations: 11.97 kB / 0.7297 GB, free: 8.449 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.2294, allocations: 30.56 kB / 0.7297 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.2294, allocations: 4 kB / 0.7297 GB, free: 8.406 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.2296, allocations: 174.9 kB / 0.7299 GB, free: 8.195 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.2296, allocations: 4 kB / 0.7299 GB, free: 8.191 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.2297, allocations: 4 kB / 0.7299 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.2298, allocations: 37.69 kB / 0.7299 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.2298, allocations: 0 / 0.7299 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.2298, allocations: 0 / 0.7299 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2298, allocations: 0 / 0.7299 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.414e-05/0.2299, allocations: 4 kB / 0.7299 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.2301, allocations: 161.6 kB / 0.7301 GB, free: 7.934 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.256e-05/0.2302, allocations: 34.53 kB / 0.7301 GB, free: 7.891 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.2302, allocations: 0 / 0.7301 GB, free: 7.891 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.2303, allocations: 51.47 kB / 0.7302 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.2304, allocations: 0 / 0.7302 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0002071/0.2306, allocations: 57.62 kB / 0.7302 GB, free: 7.766 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.2306, allocations: 51.41 kB / 0.7303 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.2307, allocations: 105.8 kB / 0.7304 GB, free: 7.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.2308, allocations: 29.7 kB / 0.7304 GB, free: 7.555 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.2308, allocations: 80.14 kB / 0.7305 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.2309, allocations: 7.906 kB / 0.7305 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-06/0.2309, allocations: 0 / 0.7305 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.231, allocations: 314.8 kB / 0.7308 GB, free: 7.148 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.769e-05/0.2311, allocations: 11.94 kB / 0.7308 GB, free: 7.137 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.431e-05/0.2311, allocations: 17.7 kB / 0.7308 GB, free: 7.113 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.962e-05/0.2312, allocations: 12 kB / 0.7308 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2312, allocations: 4 kB / 0.7308 GB, free: 7.098 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001104/0.2313, allocations: 50.09 kB / 0.7309 GB, free: 7.043 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2313, allocations: 4 kB / 0.7309 GB, free: 7.039 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.2313, allocations: 0 / 0.7309 GB, free: 7.039 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2314, allocations: 4 kB / 0.7309 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.78e-05/0.2314, allocations: 0 / 0.7309 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2314, allocations: 3.938 kB / 0.7309 GB, free: 7.031 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.129e-05/0.2315, allocations: 16.02 kB / 0.7309 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.2316, allocations: 0 / 0.7309 GB, free: 7.016 MB / 0.5573 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 0.000111/0.2317, allocations: 129.8 kB / 0.731 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.2317, allocations: 0 / 0.731 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.2317, allocations: 7.5 kB / 0.731 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.2318, allocations: 4 kB / 0.731 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2318, allocations: 0 / 0.731 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2318, allocations: 0 / 0.731 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.232, allocations: 165.5 kB / 0.7312 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.232, allocations: 0 / 0.7312 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-06/0.232, allocations: 4 kB / 0.7312 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.232, allocations: 0 / 0.7312 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.232, allocations: 0 / 0.7312 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.232, allocations: 4 kB / 0.7312 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.232, allocations: 0 / 0.7312 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.2322, allocations: 69.08 kB / 0.7313 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.2322, allocations: 81.11 kB / 0.7313 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.2323, allocations: 3.984 kB / 0.7314 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.711e-05/0.2324, allocations: 12 kB / 0.7314 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.2324, allocations: 11.92 kB / 0.7314 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.2324, allocations: 4 kB / 0.7314 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.429e-05/0.2325, allocations: 79.28 kB / 0.7315 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2325, allocations: 0 / 0.7315 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002633/0.2328, allocations: 8 kB / 0.7315 GB, free: 6.344 MB / 0.5573 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.0004595/0.2332, allocations: 0.6163 MB / 0.7321 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.2334, allocations: 19.94 kB / 0.7321 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2334, allocations: 3.938 kB / 0.7321 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.474e-05/0.2334, allocations: 7.984 kB / 0.7321 GB, free: 5.664 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.2337, allocations: 4 kB / 0.7321 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007973/0.2345, allocations: 0.5233 MB / 0.7326 GB, free: 5.09 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.2348, allocations: 0.6848 MB / 0.7333 GB, free: 4.379 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.002e-05/0.2348, allocations: 4.188 kB / 0.7333 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.2349, allocations: 15.44 kB / 0.7333 GB, free: 4.359 MB / 0.5573 GB Notification: Performance of SimCode: time 1.092e-06/0.2349, allocations: 0 / 0.7333 GB, free: 4.359 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.2573, allocations: 1.1 MB / 0.7344 GB, free: 3.359 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/0.2576, allocations: 192.9 kB / 0.7346 GB, free: 3.121 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.412/2.669, allocations: 2.391 kB / 0.7346 GB, free: 3.121 MB / 0.5573 GB