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.Validation.FallingEdge.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.Validation.FallingEdge,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.00973/0.009735, allocations: 88.39 kB / 15.04 MB, free: 5.582 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.001591/0.001591, allocations: 172.8 kB / 15.92 MB, free: 5.555 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.159/2.159, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.345/2.345, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006006/0.0006007, allocations: 13.59 kB / 0.6243 GB, free: 20.98 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.221, allocations: 106.2 MB / 0.7281 GB, free: 8.121 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.00189/0.2229, allocations: 1.179 MB / 0.7292 GB, free: 6.926 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0005522/0.2235, allocations: 225 kB / 0.7294 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.733e-05/0.2235, allocations: 0 / 0.7294 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.258e-05/0.2236, allocations: 3.938 kB / 0.7294 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.127e-05/0.2237, allocations: 11.98 kB / 0.7295 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.2239, allocations: 19.92 kB / 0.7295 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.62e-05/0.224, allocations: 35.94 kB / 0.7295 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.605e-05/0.2241, allocations: 11.98 kB / 0.7295 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.834e-05/0.2241, allocations: 23.92 kB / 0.7295 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.871e-05/0.2242, allocations: 31.83 kB / 0.7296 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.2243, allocations: 4 kB / 0.7296 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.505e-05/0.2243, allocations: 0 / 0.7296 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.2243, allocations: 8 kB / 0.7296 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.2244, allocations: 33.64 kB / 0.7296 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 9.088e-05/0.2245, allocations: 39.91 kB / 0.7297 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.2245, allocations: 0 / 0.7297 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2245, allocations: 0 / 0.7297 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2245, allocations: 0 / 0.7297 GB, free: 6.477 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006604/0.2252, allocations: 383.4 kB / 0.73 GB, free: 6.055 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2252, allocations: 15.97 kB / 0.73 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.95e-05/0.2253, allocations: 34.55 kB / 0.7301 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.2253, allocations: 11.86 kB / 0.7301 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.2255, allocations: 171 kB / 0.7302 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.2255, allocations: 8 kB / 0.7303 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.2255, allocations: 4 kB / 0.7303 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.2258, allocations: 73.59 kB / 0.7303 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2258, allocations: 4 kB / 0.7303 GB, free: 5.684 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.2259, allocations: 4 kB / 0.7303 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.2259, allocations: 0 / 0.7303 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/0.2262, allocations: 59.95 kB / 0.7304 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006088/0.2268, allocations: 324.6 kB / 0.7307 GB, free: 5.254 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000664/0.2275, allocations: 118.5 kB / 0.7308 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.2275, allocations: 0 / 0.7308 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003128/0.2279, allocations: 87.53 kB / 0.7309 GB, free: 5.031 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/0.2279, allocations: 4 kB / 0.7309 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0006618/0.2286, allocations: 137.5 kB / 0.731 GB, free: 4.887 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.2286, allocations: 59.39 kB / 0.7311 GB, free: 4.816 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.2287, allocations: 118 kB / 0.7312 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.2288, allocations: 29.7 kB / 0.7312 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.2288, allocations: 96.22 kB / 0.7313 GB, free: 4.555 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.2289, allocations: 11.91 kB / 0.7313 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.2289, allocations: 0 / 0.7313 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.229, allocations: 318.8 kB / 0.7316 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.2292, allocations: 31.98 kB / 0.7317 GB, free: 4.191 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.2294, allocations: 67.66 kB / 0.7317 GB, free: 4.113 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.2296, allocations: 43.97 kB / 0.7318 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2296, allocations: 0 / 0.7318 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004379/0.2301, allocations: 117.5 kB / 0.7319 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2301, allocations: 8.094 kB / 0.7319 GB, free: 3.941 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2301, allocations: 4 kB / 0.7319 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2301, allocations: 7.953 kB / 0.7319 GB, free: 3.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.2303, allocations: 15.92 kB / 0.7319 GB, free: 3.914 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2303, allocations: 4 kB / 0.7319 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.2305, allocations: 23.89 kB / 0.7319 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.2305, allocations: 3.938 kB / 0.7319 GB, free: 3.883 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001037/0.2306, allocations: 121.8 kB / 0.7321 GB, free: 3.754 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.2306, allocations: 3.984 kB / 0.7321 GB, free: 3.75 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.2307, allocations: 12.38 kB / 0.7321 GB, free: 3.738 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2307, allocations: 0 / 0.7321 GB, free: 3.738 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2307, allocations: 3.953 kB / 0.7321 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2307, allocations: 0 / 0.7321 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006873/0.2314, allocations: 382.3 kB / 0.7324 GB, free: 3.305 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.2314, allocations: 3.984 kB / 0.7325 GB, free: 3.301 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.168e-05/0.2315, allocations: 8 kB / 0.7325 GB, free: 3.293 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.2315, allocations: 0 / 0.7325 GB, free: 3.293 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.2316, allocations: 7.953 kB / 0.7325 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2316, allocations: 0 / 0.7325 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.2316, allocations: 7.984 kB / 0.7325 GB, free: 3.277 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/0.2321, allocations: 199.5 kB / 0.7327 GB, free: 3.066 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.2321, allocations: 85.02 kB / 0.7327 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.2322, allocations: 7.969 kB / 0.7328 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.2324, allocations: 23.94 kB / 0.7328 GB, free: 2.934 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.2325, allocations: 11.98 kB / 0.7328 GB, free: 2.922 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.2325, allocations: 0 / 0.7328 GB, free: 2.922 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.94e-05/0.2326, allocations: 91.27 kB / 0.7329 GB, free: 2.832 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2326, allocations: 0 / 0.7329 GB, free: 2.832 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003197/0.2329, allocations: 12.47 kB / 0.7329 GB, free: 2.82 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: 6 (falEdg.y,$whenCondition2,$whenCondition1,booPul.pulseStart,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0007925/0.2337, allocations: 0.7519 MB / 0.7336 GB, free: 2.043 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004193/0.2341, allocations: 79.89 kB / 0.7337 GB, free: 1.965 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2342, allocations: 7.938 kB / 0.7337 GB, free: 1.957 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.2344, allocations: 40.23 kB / 0.7337 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.2347, allocations: 11.95 kB / 0.7338 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.2364, allocations: 1.05 MB / 0.7348 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.2367, allocations: 0.6887 MB / 0.7355 GB, free: 84 kB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.618e-05/0.2368, allocations: 11.98 kB / 0.7355 GB, free: 72 kB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.784e-05/0.2369, allocations: 19.44 kB / 0.7355 GB, free: 52 kB / 0.5573 GB Notification: Performance of SimCode: time 6.51e-07/0.2369, allocations: 0 / 0.7355 GB, free: 52 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.2592, allocations: 1.653 MB / 0.7371 GB, free: 14.5 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003634/0.2596, allocations: 190 kB / 0.7373 GB, free: 14.26 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.327/2.587, allocations: 0 / 0.7373 GB, free: 14.26 MB / 0.573 GB