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.Or.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.Or,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.01098/0.01098, allocations: 89.02 kB / 15.04 MB, free: 6.059 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.001224/0.001224, allocations: 169 kB / 15.92 MB, free: 5.996 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.321/2.321, allocations: 205.5 MB / 222.2 MB, free: 13.72 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.482/2.482, allocations: 252.8 MB / 0.511 GB, free: 8.352 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005154/0.0005156, allocations: 11 kB / 0.6243 GB, free: 21.2 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2263, allocations: 106.2 MB / 0.7281 GB, free: 8.105 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001895/0.2282, allocations: 1.09 MB / 0.7291 GB, free: 7 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0005331/0.2288, allocations: 194 kB / 0.7293 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.886e-05/0.2289, allocations: 0 / 0.7293 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.2289, allocations: 0 / 0.7293 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.318e-05/0.229, allocations: 11.98 kB / 0.7293 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.2291, allocations: 23.8 kB / 0.7294 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.928e-05/0.2292, allocations: 35.95 kB / 0.7294 GB, free: 6.738 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.2294, allocations: 15.97 kB / 0.7294 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.368e-05/0.2294, allocations: 15.94 kB / 0.7294 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.28e-05/0.2295, allocations: 19.91 kB / 0.7294 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.2295, allocations: 4 kB / 0.7294 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.499e-05/0.2296, allocations: 0 / 0.7294 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.2296, allocations: 4 kB / 0.7295 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.2296, allocations: 37.64 kB / 0.7295 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 8.995e-05/0.2297, allocations: 39.91 kB / 0.7295 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2298, allocations: 0 / 0.7295 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.542e-06/0.2298, allocations: 0 / 0.7295 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2298, allocations: 4 kB / 0.7295 GB, free: 6.594 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006752/0.2305, allocations: 367.5 kB / 0.7299 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.2305, allocations: 8.031 kB / 0.7299 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.706e-05/0.2306, allocations: 34.55 kB / 0.7299 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.2306, allocations: 4 kB / 0.7299 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.2308, allocations: 174.9 kB / 0.7301 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.2308, allocations: 4 kB / 0.7301 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.2308, allocations: 4 kB / 0.7301 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.231, allocations: 57.61 kB / 0.7302 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.231, allocations: 0 / 0.7302 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.231, allocations: 0 / 0.7302 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.231, allocations: 0 / 0.7302 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.162e-05/0.2311, allocations: 23.98 kB / 0.7302 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.2317, allocations: 280.8 kB / 0.7304 GB, free: 5.504 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.2318, allocations: 46.5 kB / 0.7305 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.2319, allocations: 3.938 kB / 0.7305 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.2321, allocations: 79.56 kB / 0.7306 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 2.605e-06/0.2321, allocations: 0 / 0.7306 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0002999/0.2324, allocations: 93.53 kB / 0.7307 GB, free: 5.258 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.2325, allocations: 55.36 kB / 0.7307 GB, free: 5.191 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.2326, allocations: 113.8 kB / 0.7308 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.2326, allocations: 29.7 kB / 0.7308 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.2327, allocations: 92.03 kB / 0.7309 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.2327, allocations: 19.83 kB / 0.731 GB, free: 4.922 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.2328, allocations: 0 / 0.731 GB, free: 4.922 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.2329, allocations: 322.8 kB / 0.7313 GB, free: 4.598 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-05/0.233, allocations: 12 kB / 0.7313 GB, free: 4.586 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.166e-05/0.2331, allocations: 42.5 kB / 0.7313 GB, free: 4.535 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.852e-05/0.2331, allocations: 12.62 kB / 0.7313 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2331, allocations: 0 / 0.7313 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001953/0.2333, allocations: 81.52 kB / 0.7314 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2334, allocations: 4 kB / 0.7314 GB, free: 4.434 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.2334, allocations: 0 / 0.7314 GB, free: 4.434 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.2334, allocations: 12 kB / 0.7314 GB, free: 4.422 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.049e-05/0.2335, allocations: 8 kB / 0.7314 GB, free: 4.414 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.2335, allocations: 3.953 kB / 0.7314 GB, free: 4.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.2337, allocations: 15.98 kB / 0.7314 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.2337, allocations: 0 / 0.7314 GB, free: 4.395 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001155/0.2339, allocations: 117.8 kB / 0.7316 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.2339, allocations: 7.906 kB / 0.7316 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.2339, allocations: 12.38 kB / 0.7316 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.234, allocations: 4 kB / 0.7316 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.234, allocations: 0 / 0.7316 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.234, allocations: 3.953 kB / 0.7316 GB, free: 4.242 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.2342, allocations: 173.6 kB / 0.7318 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2342, allocations: 0 / 0.7318 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.715e-05/0.2343, allocations: 7.938 kB / 0.7318 GB, free: 4.016 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2343, allocations: 0 / 0.7318 GB, free: 4.016 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.2343, allocations: 0 / 0.7318 GB, free: 4.016 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.2343, allocations: 4 kB / 0.7318 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2343, allocations: 0 / 0.7318 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.2345, allocations: 112.9 kB / 0.7319 GB, free: 3.883 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.2346, allocations: 77.11 kB / 0.7319 GB, free: 3.789 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.2346, allocations: 0 / 0.7319 GB, free: 3.789 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.2348, allocations: 15.98 kB / 0.732 GB, free: 3.773 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.2348, allocations: 11.98 kB / 0.732 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.2349, allocations: 0 / 0.732 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.842e-05/0.2349, allocations: 95.27 kB / 0.7321 GB, free: 3.668 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2349, allocations: 0 / 0.7321 GB, free: 3.668 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000257/0.2352, allocations: 12 kB / 0.7321 GB, free: 3.656 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * 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.0005726/0.2358, allocations: 0.6441 MB / 0.7327 GB, free: 2.984 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001792/0.236, allocations: 55.91 kB / 0.7328 GB, free: 2.93 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.236, allocations: 0 / 0.7328 GB, free: 2.93 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.041e-05/0.2361, allocations: 20 kB / 0.7328 GB, free: 2.91 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.2364, allocations: 20.11 kB / 0.7328 GB, free: 2.891 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.2375, allocations: 0.7729 MB / 0.7335 GB, free: 2.055 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.2378, allocations: 0.6887 MB / 0.7342 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.496e-05/0.2379, allocations: 8 kB / 0.7342 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.238, allocations: 19.42 kB / 0.7342 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of SimCode: time 1.403e-06/0.238, allocations: 0 / 0.7342 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.2649, allocations: 1.592 MB / 0.7358 GB, free: 15.83 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002895/0.2653, allocations: 178.8 kB / 0.736 GB, free: 15.59 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/2.59, allocations: 3.938 kB / 0.736 GB, free: 15.59 MB / 0.573 GB