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.And3.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.And3,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.009863/0.009867, allocations: 88.84 kB / 15.04 MB, free: 5.977 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.001156/0.001156, allocations: 171.7 kB / 15.92 MB, free: 5.938 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.07/2.07, 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.485/2.485, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004785, allocations: 13.66 kB / 0.6243 GB, free: 28.33 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2327, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.002448/0.2352, allocations: 1.129 MB / 0.7292 GB, free: 9.012 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0007068/0.236, allocations: 218.6 kB / 0.7294 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.582e-05/0.236, allocations: 0 / 0.7294 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.716e-05/0.2361, allocations: 7.922 kB / 0.7294 GB, free: 8.789 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.2362, allocations: 15.97 kB / 0.7294 GB, free: 8.773 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.2364, allocations: 19.97 kB / 0.7294 GB, free: 8.754 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.2366, allocations: 51.88 kB / 0.7295 GB, free: 8.703 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.2367, allocations: 20.16 kB / 0.7295 GB, free: 8.68 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.041e-05/0.2368, allocations: 27.91 kB / 0.7295 GB, free: 8.652 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.698e-05/0.2369, allocations: 31.78 kB / 0.7296 GB, free: 8.621 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.237, allocations: 4 kB / 0.7296 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.239e-05/0.237, allocations: 0 / 0.7296 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.2371, allocations: 11.98 kB / 0.7296 GB, free: 8.605 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.619e-05/0.2371, allocations: 41.64 kB / 0.7296 GB, free: 8.559 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.2373, allocations: 52.09 kB / 0.7297 GB, free: 8.508 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2373, allocations: 8 kB / 0.7297 GB, free: 8.5 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2373, allocations: 0 / 0.7297 GB, free: 8.5 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2373, allocations: 0 / 0.7297 GB, free: 8.5 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.001021/0.2384, allocations: 395.1 kB / 0.73 GB, free: 8.066 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.2384, allocations: 8.031 kB / 0.7301 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.198e-05/0.2385, allocations: 38.55 kB / 0.7301 GB, free: 8.012 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.2386, allocations: 4 kB / 0.7301 GB, free: 8.008 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.2388, allocations: 186.8 kB / 0.7303 GB, free: 7.785 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.2388, allocations: 11.97 kB / 0.7303 GB, free: 7.773 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.2389, allocations: 4 kB / 0.7303 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.2391, allocations: 57.67 kB / 0.7303 GB, free: 7.707 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2391, allocations: 0 / 0.7303 GB, free: 7.707 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.2392, allocations: 4 kB / 0.7303 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2392, allocations: 4 kB / 0.7303 GB, free: 7.699 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.2394, allocations: 31.92 kB / 0.7304 GB, free: 7.668 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007291/0.2401, allocations: 312.7 kB / 0.7307 GB, free: 7.312 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.2403, allocations: 46.55 kB / 0.7307 GB, free: 7.258 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.2403, allocations: 8 kB / 0.7307 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002995/0.2407, allocations: 91.41 kB / 0.7308 GB, free: 7.148 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 3.737e-06/0.2407, allocations: 0 / 0.7308 GB, free: 7.148 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.00049/0.2412, allocations: 117.4 kB / 0.7309 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.2413, allocations: 55.41 kB / 0.731 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.2415, allocations: 129.8 kB / 0.7311 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.2415, allocations: 29.7 kB / 0.7311 GB, free: 6.789 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.581e-05/0.2416, allocations: 96.12 kB / 0.7312 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.2417, allocations: 23.66 kB / 0.7312 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.2417, allocations: 0 / 0.7312 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.2419, allocations: 322.8 kB / 0.7316 GB, free: 6.344 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.804e-05/0.242, allocations: 20 kB / 0.7316 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.2421, allocations: 51.36 kB / 0.7316 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.104e-05/0.2422, allocations: 24 kB / 0.7316 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2423, allocations: 0 / 0.7316 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000323/0.2426, allocations: 101.5 kB / 0.7317 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.2426, allocations: 8 kB / 0.7318 GB, free: 6.125 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2427, allocations: 0 / 0.7318 GB, free: 6.125 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.2427, allocations: 0 / 0.7318 GB, free: 6.125 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.2428, allocations: 8 kB / 0.7318 GB, free: 6.117 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.2428, allocations: 3.953 kB / 0.7318 GB, free: 6.113 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.2431, allocations: 32.06 kB / 0.7318 GB, free: 6.082 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.2432, allocations: 7.938 kB / 0.7318 GB, free: 6.074 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,and1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * 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.0001499/0.2433, allocations: 118.7 kB / 0.7319 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.2434, allocations: 7.906 kB / 0.7319 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.707e-05/0.2435, allocations: 16.38 kB / 0.7319 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.2435, allocations: 0 / 0.7319 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.2435, allocations: 7.984 kB / 0.7319 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.2435, allocations: 3.953 kB / 0.7319 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.2438, allocations: 194.2 kB / 0.7321 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.2439, allocations: 0 / 0.7321 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.495e-05/0.2439, allocations: 4 kB / 0.7321 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2439, allocations: 0 / 0.7321 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.2439, allocations: 0 / 0.7321 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.244, allocations: 3.938 kB / 0.7321 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.244, allocations: 4 kB / 0.7321 GB, free: 5.664 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.2443, allocations: 128.9 kB / 0.7323 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.2444, allocations: 81.02 kB / 0.7323 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.2445, allocations: 4 kB / 0.7323 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.2447, allocations: 23.97 kB / 0.7324 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.2448, allocations: 15.97 kB / 0.7324 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.2449, allocations: 3.938 kB / 0.7324 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001167/0.245, allocations: 103.3 kB / 0.7325 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.81e-07/0.245, allocations: 0 / 0.7325 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004629/0.2455, allocations: 20 kB / 0.7325 GB, free: 5.254 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,and1.y,booPul3.y,booPul3.pulseStart) * 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.000745/0.2463, allocations: 0.6631 MB / 0.7332 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000292/0.2466, allocations: 63.91 kB / 0.7332 GB, free: 4.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2466, allocations: 0 / 0.7332 GB, free: 4.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.2467, allocations: 31.94 kB / 0.7332 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.2472, allocations: 24.48 kB / 0.7333 GB, free: 4.445 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.249, allocations: 1.037 MB / 0.7343 GB, free: 3.344 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.2494, allocations: 0.6926 MB / 0.735 GB, free: 2.625 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 8.497e-05/0.2495, allocations: 8.562 kB / 0.735 GB, free: 2.613 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.732e-05/0.2496, allocations: 27.42 kB / 0.735 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of SimCode: time 1.202e-06/0.2496, allocations: 0 / 0.735 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.2729, allocations: 2.024 MB / 0.737 GB, free: 0.6797 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002924/0.2733, allocations: 186.5 kB / 0.7371 GB, free: 452 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/2.571, allocations: 3.938 kB / 0.7372 GB, free: 448 kB / 0.5573 GB