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.Switch.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.Switch,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",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.01024/0.01024, allocations: 90.72 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.001244/0.001243, allocations: 170.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.181/2.181, 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.397/2.397, allocations: 252.8 MB / 0.511 GB, free: 8.332 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000493/0.0004932, allocations: 15.81 kB / 0.6243 GB, free: 28.37 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2218, allocations: 106.2 MB / 0.7281 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001999/0.2238, allocations: 1.186 MB / 0.7292 GB, free: 8.918 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0005774/0.2245, allocations: 213 kB / 0.7294 GB, free: 8.707 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.2245, allocations: 0 / 0.7294 GB, free: 8.707 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.2246, allocations: 3.938 kB / 0.7294 GB, free: 8.703 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.2247, allocations: 11.98 kB / 0.7295 GB, free: 8.691 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.2248, allocations: 15.97 kB / 0.7295 GB, free: 8.676 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.225, allocations: 43.89 kB / 0.7295 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.2251, allocations: 23.94 kB / 0.7295 GB, free: 8.609 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.688e-05/0.2252, allocations: 23.92 kB / 0.7296 GB, free: 8.586 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.246e-05/0.2253, allocations: 23.91 kB / 0.7296 GB, free: 8.562 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.2253, allocations: 4 kB / 0.7296 GB, free: 8.559 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.816e-05/0.2253, allocations: 4 kB / 0.7296 GB, free: 8.555 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.2253, allocations: 7.938 kB / 0.7296 GB, free: 8.547 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.2254, allocations: 33.69 kB / 0.7296 GB, free: 8.508 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.2255, allocations: 51.89 kB / 0.7297 GB, free: 8.457 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2255, allocations: 4 kB / 0.7297 GB, free: 8.453 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2255, allocations: 0 / 0.7297 GB, free: 8.453 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.2255, allocations: 0 / 0.7297 GB, free: 8.453 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007996/0.2264, allocations: 399.4 kB / 0.7301 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.2264, allocations: 11.97 kB / 0.7301 GB, free: 8.004 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.199e-05/0.2265, allocations: 34.56 kB / 0.7301 GB, free: 7.961 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.2265, allocations: 15.8 kB / 0.7301 GB, free: 7.945 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.2267, allocations: 182.8 kB / 0.7303 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.2267, allocations: 4 kB / 0.7303 GB, free: 7.723 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.2267, allocations: 4 kB / 0.7303 GB, free: 7.719 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.2271, allocations: 93.64 kB / 0.7304 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2272, allocations: 0 / 0.7304 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.2272, allocations: 0 / 0.7304 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2272, allocations: 0 / 0.7304 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005676/0.2278, allocations: 91.92 kB / 0.7305 GB, free: 7.531 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.2283, allocations: 304.7 kB / 0.7308 GB, free: 7.184 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.2287, allocations: 62.55 kB / 0.7308 GB, free: 7.113 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.2287, allocations: 0 / 0.7308 GB, free: 7.113 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004412/0.2292, allocations: 111.5 kB / 0.7309 GB, free: 6.992 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 2.284e-06/0.2292, allocations: 0 / 0.7309 GB, free: 6.992 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.001003/0.2302, allocations: 193.4 kB / 0.7311 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.2303, allocations: 55.41 kB / 0.7312 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.2304, allocations: 117.8 kB / 0.7313 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.2304, allocations: 29.7 kB / 0.7313 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.2305, allocations: 88.12 kB / 0.7314 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.2305, allocations: 15.81 kB / 0.7314 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-06/0.2306, allocations: 0 / 0.7314 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.2307, allocations: 326.8 kB / 0.7317 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.231, allocations: 39.97 kB / 0.7318 GB, free: 6.098 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.2313, allocations: 65.67 kB / 0.7318 GB, free: 6.027 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.2316, allocations: 51.91 kB / 0.7319 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2316, allocations: 0 / 0.7319 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006679/0.2323, allocations: 145.5 kB / 0.732 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.2323, allocations: 4 kB / 0.732 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2323, allocations: 0 / 0.732 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.2324, allocations: 0 / 0.732 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.2326, allocations: 35.81 kB / 0.7321 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2326, allocations: 0 / 0.7321 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.2328, allocations: 35.91 kB / 0.7321 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.2329, allocations: 0 / 0.7321 GB, free: 5.754 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 (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 0.0001081/0.233, allocations: 113.8 kB / 0.7322 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.233, allocations: 7.906 kB / 0.7322 GB, free: 5.625 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/0.2331, allocations: 16.31 kB / 0.7322 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2331, allocations: 0 / 0.7322 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.2331, allocations: 7.938 kB / 0.7322 GB, free: 5.602 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2331, allocations: 4 kB / 0.7322 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.2333, allocations: 177.6 kB / 0.7324 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2333, allocations: 320 / 0.7324 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.2335, allocations: 23.98 kB / 0.7324 GB, free: 5.352 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.2335, allocations: 3.984 kB / 0.7324 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.2336, allocations: 0 / 0.7324 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.2336, allocations: 4 kB / 0.7324 GB, free: 5.344 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2336, allocations: 0 / 0.7324 GB, free: 5.344 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006705/0.2343, allocations: 172.9 kB / 0.7326 GB, free: 5.156 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.2343, allocations: 85 kB / 0.7327 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.2344, allocations: 0 / 0.7327 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.2346, allocations: 23.98 kB / 0.7327 GB, free: 5.031 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/0.2347, allocations: 7.984 kB / 0.7327 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.2347, allocations: 11.98 kB / 0.7327 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.961e-05/0.2348, allocations: 87.28 kB / 0.7328 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2348, allocations: 0 / 0.7328 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002792/0.2351, allocations: 19.95 kB / 0.7328 GB, free: 4.906 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 (6): * Single equations (assignments): 5 * 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.0009819/0.2361, allocations: 0.7021 MB / 0.7335 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006903/0.2368, allocations: 115.9 kB / 0.7336 GB, free: 4.062 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2368, allocations: 0 / 0.7336 GB, free: 4.062 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.2371, allocations: 55.91 kB / 0.7337 GB, free: 4.008 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.2374, allocations: 12.05 kB / 0.7337 GB, free: 3.996 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.2392, allocations: 0.7662 MB / 0.7344 GB, free: 3.176 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.2395, allocations: 0.6887 MB / 0.7351 GB, free: 2.461 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.985e-05/0.2396, allocations: 8.172 kB / 0.7351 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.857e-05/0.2397, allocations: 27.42 kB / 0.7351 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of SimCode: time 7.81e-07/0.2397, allocations: 0 / 0.7351 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/0.2615, allocations: 1.71 MB / 0.7368 GB, free: 0.8242 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003238/0.2619, allocations: 199.3 kB / 0.737 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.319/2.581, allocations: 0 / 0.737 GB, free: 0.5742 MB / 0.5573 GB