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.Or3.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.Or3,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.01431/0.01431, allocations: 90.2 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.001663/0.001663, allocations: 173.3 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.212/2.212, 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.346/2.346, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000653/0.0006532, allocations: 16.97 kB / 0.6243 GB, free: 21.11 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2337, 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.Or3): time 0.001874/0.2356, allocations: 1.129 MB / 0.7292 GB, free: 6.977 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0005446/0.2362, allocations: 218.6 kB / 0.7294 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.118e-05/0.2363, allocations: 7.938 kB / 0.7294 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.2363, allocations: 3.938 kB / 0.7294 GB, free: 6.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.2364, allocations: 19.95 kB / 0.7294 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.2366, allocations: 15.98 kB / 0.7294 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.2367, allocations: 59.86 kB / 0.7295 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2368, allocations: 8.172 kB / 0.7295 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.762e-05/0.2369, allocations: 27.91 kB / 0.7295 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.367e-05/0.237, allocations: 35.84 kB / 0.7296 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.237, allocations: 4 kB / 0.7296 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.011e-05/0.237, allocations: 4 kB / 0.7296 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.2371, allocations: 11.92 kB / 0.7296 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.2371, allocations: 33.7 kB / 0.7296 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.2372, allocations: 60.09 kB / 0.7297 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.2373, allocations: 0 / 0.7297 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2373, allocations: 0 / 0.7297 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.2373, allocations: 0 / 0.7297 GB, free: 6.465 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.000824/0.2381, allocations: 395.1 kB / 0.73 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.2382, allocations: 8.031 kB / 0.7301 GB, free: 6.023 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.2382, allocations: 38.56 kB / 0.7301 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.2383, allocations: 4 kB / 0.7301 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.2384, allocations: 186.7 kB / 0.7303 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.2385, allocations: 12 kB / 0.7303 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.2385, allocations: 4 kB / 0.7303 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.2387, allocations: 57.67 kB / 0.7303 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2387, allocations: 4 kB / 0.7303 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.2387, allocations: 0 / 0.7303 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.2387, allocations: 0 / 0.7303 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.2389, allocations: 31.92 kB / 0.7304 GB, free: 5.637 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005704/0.2394, allocations: 312.7 kB / 0.7307 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.2396, allocations: 54.55 kB / 0.7307 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.2396, allocations: 4.094 kB / 0.7307 GB, free: 5.215 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.2399, allocations: 91.23 kB / 0.7308 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 1.943e-06/0.2399, allocations: 0 / 0.7308 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.0003542/0.2403, allocations: 117.5 kB / 0.7309 GB, free: 4.992 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.2403, allocations: 59.41 kB / 0.731 GB, free: 4.922 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.2405, allocations: 121.8 kB / 0.7311 GB, free: 4.793 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.2405, allocations: 33.7 kB / 0.7311 GB, free: 4.754 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.2406, allocations: 84.14 kB / 0.7312 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.2406, allocations: 23.66 kB / 0.7312 GB, free: 4.645 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.2406, allocations: 4 kB / 0.7312 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2408, allocations: 322.8 kB / 0.7316 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/0.2409, allocations: 23.98 kB / 0.7316 GB, free: 4.293 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.818e-05/0.241, allocations: 47.36 kB / 0.7316 GB, free: 4.234 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.544e-05/0.241, allocations: 20 kB / 0.7316 GB, free: 4.215 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.2411, allocations: 0 / 0.7316 GB, free: 4.215 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002276/0.2413, allocations: 101.5 kB / 0.7317 GB, free: 4.109 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.2413, allocations: 12.09 kB / 0.7317 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2413, allocations: 0 / 0.7317 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2414, allocations: 0 / 0.7317 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.375e-05/0.2415, allocations: 11.98 kB / 0.7318 GB, free: 4.086 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2415, allocations: 3.953 kB / 0.7318 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.2417, allocations: 19.98 kB / 0.7318 GB, free: 4.062 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.2418, allocations: 8.453 kB / 0.7318 GB, free: 4.055 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,or1.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.0001293/0.2419, allocations: 134.6 kB / 0.7319 GB, free: 3.914 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.2419, allocations: 7.906 kB / 0.7319 GB, free: 3.906 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/0.242, allocations: 12.38 kB / 0.7319 GB, free: 3.895 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.242, allocations: 0 / 0.7319 GB, free: 3.895 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.242, allocations: 3.938 kB / 0.7319 GB, free: 3.891 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.242, allocations: 3.953 kB / 0.7319 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.2423, allocations: 197.7 kB / 0.7321 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2423, allocations: 0 / 0.7321 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-05/0.2423, allocations: 4 kB / 0.7321 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2423, allocations: 0 / 0.7321 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.2423, allocations: 4 kB / 0.7321 GB, free: 3.637 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.2424, allocations: 3.984 kB / 0.7321 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2424, allocations: 4 kB / 0.7321 GB, free: 3.629 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.2426, allocations: 116.9 kB / 0.7323 GB, free: 3.496 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.2427, allocations: 89 kB / 0.7323 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.2427, allocations: 4 kB / 0.7323 GB, free: 3.387 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.2429, allocations: 19.98 kB / 0.7324 GB, free: 3.367 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.243, allocations: 23.91 kB / 0.7324 GB, free: 3.344 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.243, allocations: 0 / 0.7324 GB, free: 3.344 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.934e-05/0.2431, allocations: 95.27 kB / 0.7325 GB, free: 3.25 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2431, allocations: 0 / 0.7325 GB, free: 3.25 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002807/0.2434, allocations: 20 kB / 0.7325 GB, free: 3.23 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,or1.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.0005732/0.244, allocations: 0.667 MB / 0.7332 GB, free: 2.535 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.2442, allocations: 60.11 kB / 0.7332 GB, free: 2.477 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2443, allocations: 192 / 0.7332 GB, free: 2.477 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.2444, allocations: 39.86 kB / 0.7332 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.2447, allocations: 24.17 kB / 0.7333 GB, free: 2.414 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.2462, allocations: 1.033 MB / 0.7343 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.2465, allocations: 0.6926 MB / 0.735 GB, free: 0.5977 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.607e-05/0.2466, allocations: 12.55 kB / 0.735 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.264e-05/0.2467, allocations: 19.44 kB / 0.735 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of SimCode: time 8.92e-07/0.2467, allocations: 0 / 0.735 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.2741, allocations: 2.038 MB / 0.737 GB, free: 14.65 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000348/0.2746, allocations: 183.8 kB / 0.7372 GB, free: 14.41 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/2.629, allocations: 4 kB / 0.7372 GB, free: 14.41 MB / 0.573 GB