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.LogicalSwitch.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.LogicalSwitch,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",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.01126/0.01127, allocations: 89.81 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.001167/0.001167, allocations: 175.5 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.053/2.053, allocations: 205.5 MB / 222.2 MB, free: 13.58 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.342/2.342, allocations: 252.8 MB / 0.511 GB, free: 8.273 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004668, allocations: 14.34 kB / 0.6243 GB, free: 21.03 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.223, allocations: 106.2 MB / 0.7281 GB, free: 8.047 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.00193/0.225, allocations: 1.129 MB / 0.7292 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0006006/0.2257, allocations: 218.6 kB / 0.7294 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.2257, allocations: 0 / 0.7294 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.2258, allocations: 3.938 kB / 0.7294 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.2259, allocations: 19.95 kB / 0.7294 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.2261, allocations: 15.98 kB / 0.7294 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.2262, allocations: 59.86 kB / 0.7295 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.2263, allocations: 12.17 kB / 0.7295 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.847e-05/0.2264, allocations: 23.92 kB / 0.7295 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.459e-05/0.2265, allocations: 35.83 kB / 0.7296 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.2265, allocations: 4 kB / 0.7296 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.807e-05/0.2266, allocations: 0 / 0.7296 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.2266, allocations: 15.92 kB / 0.7296 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.2266, allocations: 33.7 kB / 0.7296 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.2268, allocations: 52.11 kB / 0.7297 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2268, allocations: 4 kB / 0.7297 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.657e-05/0.2268, allocations: 4 kB / 0.7297 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.2268, allocations: 0 / 0.7297 GB, free: 6.398 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008038/0.2276, allocations: 395.1 kB / 0.73 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.2277, allocations: 8.031 kB / 0.7301 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.6e-05/0.2278, allocations: 38.56 kB / 0.7301 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.2278, allocations: 4 kB / 0.7301 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.228, allocations: 190.7 kB / 0.7303 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.228, allocations: 8 kB / 0.7303 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.2281, allocations: 4 kB / 0.7303 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.2282, allocations: 57.67 kB / 0.7303 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.2283, allocations: 0 / 0.7303 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.2283, allocations: 4 kB / 0.7303 GB, free: 5.602 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2283, allocations: 4 kB / 0.7303 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.2285, allocations: 35.86 kB / 0.7304 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.229, allocations: 308.7 kB / 0.7307 GB, free: 5.211 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.2292, allocations: 46.66 kB / 0.7307 GB, free: 5.156 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.2292, allocations: 3.938 kB / 0.7307 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.2295, allocations: 87.38 kB / 0.7308 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 3.206e-06/0.2295, allocations: 0 / 0.7308 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.0003955/0.2299, allocations: 125.4 kB / 0.7309 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.23, allocations: 55.41 kB / 0.731 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.2301, allocations: 117.8 kB / 0.7311 GB, free: 4.734 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.2302, allocations: 33.7 kB / 0.7311 GB, free: 4.695 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.2302, allocations: 88.12 kB / 0.7312 GB, free: 4.605 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.2303, allocations: 31.8 kB / 0.7312 GB, free: 4.574 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.591e-05/0.2303, allocations: 8 kB / 0.7312 GB, free: 4.566 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.2304, allocations: 318.8 kB / 0.7316 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.2305, allocations: 16 kB / 0.7316 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.2306, allocations: 51.34 kB / 0.7316 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.49e-05/0.2307, allocations: 24 kB / 0.7316 GB, free: 4.145 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2307, allocations: 0 / 0.7316 GB, free: 4.145 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002751/0.231, allocations: 105.8 kB / 0.7317 GB, free: 4.035 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.2311, allocations: 4.094 kB / 0.7317 GB, free: 4.031 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2311, allocations: 3.938 kB / 0.7317 GB, free: 4.027 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.2311, allocations: 4 kB / 0.7318 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.804e-05/0.2312, allocations: 7.984 kB / 0.7318 GB, free: 4.016 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.2312, allocations: 7.953 kB / 0.7318 GB, free: 4.008 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.2314, allocations: 28.08 kB / 0.7318 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.2315, allocations: 4 kB / 0.7318 GB, free: 3.977 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: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001156/0.2316, allocations: 125.7 kB / 0.7319 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.2316, allocations: 7.906 kB / 0.7319 GB, free: 3.836 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.712e-05/0.2317, allocations: 16.36 kB / 0.7319 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2317, allocations: 4 kB / 0.7319 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2317, allocations: 0 / 0.7319 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.2317, allocations: 7.953 kB / 0.732 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.232, allocations: 189.6 kB / 0.7321 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.232, allocations: 0 / 0.7321 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-05/0.232, allocations: 0 / 0.7321 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.232, allocations: 0 / 0.7321 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.232, allocations: 4 kB / 0.7321 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2321, allocations: 0 / 0.7321 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2321, allocations: 0 / 0.7321 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.2323, allocations: 128.9 kB / 0.7323 GB, free: 3.426 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.2324, allocations: 89 kB / 0.7323 GB, free: 3.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.2324, allocations: 0 / 0.7323 GB, free: 3.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.2326, allocations: 23.98 kB / 0.7324 GB, free: 3.297 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.2327, allocations: 15.91 kB / 0.7324 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.2327, allocations: 4 kB / 0.7324 GB, free: 3.277 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.042e-05/0.2328, allocations: 99.7 kB / 0.7325 GB, free: 3.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2328, allocations: 4 kB / 0.7325 GB, free: 3.176 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002813/0.2331, allocations: 16 kB / 0.7325 GB, free: 3.16 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005484/0.2337, allocations: 0.6631 MB / 0.7331 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.2339, allocations: 64.03 kB / 0.7332 GB, free: 2.406 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2339, allocations: 4.062 kB / 0.7332 GB, free: 2.402 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.2341, allocations: 31.94 kB / 0.7332 GB, free: 2.371 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.2344, allocations: 27.05 kB / 0.7333 GB, free: 2.348 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.2358, allocations: 1.039 MB / 0.7343 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.2362, allocations: 0.6965 MB / 0.735 GB, free: 0.5234 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.979e-05/0.2362, allocations: 4.562 kB / 0.735 GB, free: 0.5156 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.878e-05/0.2363, allocations: 31.42 kB / 0.735 GB, free: 500 kB / 0.5573 GB Notification: Performance of SimCode: time 1.062e-06/0.2363, allocations: 0 / 0.735 GB, free: 500 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.2627, allocations: 2.027 MB / 0.737 GB, free: 14.57 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003701/0.2632, allocations: 200.2 kB / 0.7372 GB, free: 14.33 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/2.661, allocations: 0 / 0.7372 GB, free: 14.33 MB / 0.573 GB