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.Continuous.Validation.Product.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.Continuous.Validation.Product,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",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.0144/0.0144, allocations: 86.97 kB / 15.04 MB, free: 6.055 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.001825/0.001825, allocations: 172.6 kB / 15.92 MB, free: 5.992 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.13/2.13, 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.673/2.673, allocations: 252.8 MB / 0.511 GB, free: 8.332 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 16.28 kB / 0.6243 GB, free: 21.03 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2312, allocations: 106.2 MB / 0.7281 GB, free: 8.105 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.001895/0.2331, allocations: 1.127 MB / 0.7292 GB, free: 6.965 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000343/0.2335, allocations: 114.2 kB / 0.7293 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.567e-05/0.2335, allocations: 0 / 0.7293 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.2336, allocations: 3.938 kB / 0.7293 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.814e-05/0.2337, allocations: 4 kB / 0.7293 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 6.145e-05/0.2337, allocations: 11.98 kB / 0.7293 GB, free: 6.832 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.704e-05/0.2338, allocations: 27.95 kB / 0.7294 GB, free: 6.805 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.2339, allocations: 11.98 kB / 0.7294 GB, free: 6.793 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.332e-05/0.234, allocations: 15.88 kB / 0.7294 GB, free: 6.777 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.693e-05/0.2341, allocations: 19.91 kB / 0.7294 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.2341, allocations: 4 kB / 0.7294 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-06/0.2341, allocations: 0 / 0.7294 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.2341, allocations: 4 kB / 0.7294 GB, free: 6.75 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.2342, allocations: 37.58 kB / 0.7294 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 6.974e-05/0.2343, allocations: 27.94 kB / 0.7295 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.2343, allocations: 0 / 0.7295 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2343, allocations: 4 kB / 0.7295 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2343, allocations: 4 kB / 0.7295 GB, free: 6.672 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006214/0.2349, allocations: 363.5 kB / 0.7298 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.235, allocations: 12.03 kB / 0.7298 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.235, allocations: 30.56 kB / 0.7299 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/0.2351, allocations: 4 kB / 0.7299 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.2352, allocations: 174.9 kB / 0.73 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.2352, allocations: 0 / 0.73 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.2353, allocations: 4 kB / 0.73 GB, free: 6 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.2356, allocations: 77.64 kB / 0.7301 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.2357, allocations: 8 kB / 0.7301 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2357, allocations: 0 / 0.7301 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.2357, allocations: 0 / 0.7301 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005614/0.2363, allocations: 91.86 kB / 0.7302 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.2367, allocations: 264.9 kB / 0.7305 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.2371, allocations: 70.53 kB / 0.7305 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.2371, allocations: 0 / 0.7305 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.2371, allocations: 34.5 kB / 0.7306 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.2371, allocations: 4 kB / 0.7306 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0009455/0.2381, allocations: 165.7 kB / 0.7307 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.2382, allocations: 55.36 kB / 0.7308 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.2383, allocations: 105.8 kB / 0.7309 GB, free: 5.039 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.2383, allocations: 29.7 kB / 0.7309 GB, free: 5.004 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.2384, allocations: 88.05 kB / 0.731 GB, free: 4.914 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.2384, allocations: 7.906 kB / 0.731 GB, free: 4.906 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.2384, allocations: 0 / 0.731 GB, free: 4.906 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2386, allocations: 322.8 kB / 0.7313 GB, free: 4.582 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.2389, allocations: 35.97 kB / 0.7313 GB, free: 4.547 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.2392, allocations: 47.95 kB / 0.7314 GB, free: 4.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.2394, allocations: 43.91 kB / 0.7314 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2394, allocations: 0 / 0.7314 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005963/0.2401, allocations: 121.6 kB / 0.7315 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.2401, allocations: 4 kB / 0.7315 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2401, allocations: 3.938 kB / 0.7315 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2401, allocations: 3.938 kB / 0.7315 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.2404, allocations: 23.97 kB / 0.7316 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2404, allocations: 0 / 0.7316 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.2405, allocations: 23.94 kB / 0.7316 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.2406, allocations: 0 / 0.7316 GB, free: 4.273 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001033/0.2407, allocations: 113.8 kB / 0.7317 GB, free: 4.152 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.2407, allocations: 3.906 kB / 0.7317 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/0.2408, allocations: 11.91 kB / 0.7317 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2408, allocations: 0 / 0.7317 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2408, allocations: 0 / 0.7317 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2408, allocations: 0 / 0.7317 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.241, allocations: 173.6 kB / 0.7319 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2411, allocations: 4 kB / 0.7319 GB, free: 3.906 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.2412, allocations: 23.92 kB / 0.7319 GB, free: 3.883 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2413, allocations: 0 / 0.7319 GB, free: 3.883 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.2413, allocations: 0 / 0.7319 GB, free: 3.883 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.2413, allocations: 4 kB / 0.7319 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2413, allocations: 0 / 0.7319 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006466/0.242, allocations: 215.4 kB / 0.7321 GB, free: 3.652 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.242, allocations: 89.02 kB / 0.7322 GB, free: 3.547 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.2421, allocations: 4 kB / 0.7322 GB, free: 3.543 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.2422, allocations: 15.98 kB / 0.7322 GB, free: 3.527 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.2423, allocations: 3.984 kB / 0.7322 GB, free: 3.523 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-06/0.2423, allocations: 0 / 0.7322 GB, free: 3.523 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.905e-05/0.2424, allocations: 87.28 kB / 0.7323 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2424, allocations: 0 / 0.7323 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002998/0.2427, allocations: 15.94 kB / 0.7323 GB, free: 3.422 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0009946/0.2437, allocations: 0.7553 MB / 0.7331 GB, free: 2.641 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006352/0.2444, allocations: 92.34 kB / 0.7332 GB, free: 2.551 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2444, allocations: 0 / 0.7332 GB, free: 2.551 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.2447, allocations: 51.89 kB / 0.7332 GB, free: 2.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.245, allocations: 8 kB / 0.7332 GB, free: 2.492 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005804/0.2456, allocations: 170.2 kB / 0.7334 GB, free: 2.289 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.246, allocations: 0.6809 MB / 0.734 GB, free: 1.582 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.754e-05/0.246, allocations: 4.125 kB / 0.734 GB, free: 1.578 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.2461, allocations: 19.42 kB / 0.7341 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of SimCode: time 1.032e-06/0.2461, allocations: 0 / 0.7341 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.2695, allocations: 1.267 MB / 0.7353 GB, free: 408 kB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004252/0.27, allocations: 195.3 kB / 0.7355 GB, free: 160 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.304/2.574, allocations: 0 / 0.7355 GB, free: 160 kB / 0.5573 GB