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.Add.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.Add,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",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.01667/0.01668, allocations: 89.69 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.002302/0.002301, allocations: 175.6 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.466/2.466, allocations: 205.5 MB / 222.2 MB, free: 13.58 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.553/2.553, allocations: 252.9 MB / 0.511 GB, free: 8.273 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005157/0.0005159, allocations: 13.89 kB / 0.6243 GB, free: 21.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2373, allocations: 106.2 MB / 0.7281 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.002052/0.2394, allocations: 1.139 MB / 0.7292 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003488/0.2398, allocations: 110.2 kB / 0.7293 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.2398, allocations: 0 / 0.7293 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.122e-05/0.2399, allocations: 7.922 kB / 0.7293 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.22e-05/0.24, allocations: 8 kB / 0.7293 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 6.233e-05/0.24, allocations: 11.98 kB / 0.7293 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.135e-05/0.2401, allocations: 31.89 kB / 0.7294 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.495e-05/0.2402, allocations: 4 kB / 0.7294 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.213e-05/0.2403, allocations: 15.98 kB / 0.7294 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.006e-05/0.2404, allocations: 19.91 kB / 0.7294 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.2404, allocations: 4 kB / 0.7294 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.2404, allocations: 3.938 kB / 0.7294 GB, free: 6.719 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.2405, allocations: 7.938 kB / 0.7294 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.2405, allocations: 37.64 kB / 0.7295 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 9.262e-05/0.2406, allocations: 35.91 kB / 0.7295 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2406, allocations: 0 / 0.7295 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2406, allocations: 4 kB / 0.7295 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2407, allocations: 0 / 0.7295 GB, free: 6.629 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.000689/0.2414, allocations: 367.5 kB / 0.7298 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.2414, allocations: 8.031 kB / 0.7298 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/0.2415, allocations: 38.5 kB / 0.7299 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.2415, allocations: 3.906 kB / 0.7299 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.2417, allocations: 175 kB / 0.7301 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2417, allocations: 0 / 0.7301 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.2417, allocations: 4 kB / 0.7301 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.2421, allocations: 77.66 kB / 0.7301 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2421, allocations: 0 / 0.7301 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.2422, allocations: 4 kB / 0.7301 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2422, allocations: 0 / 0.7301 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005463/0.2427, allocations: 91.91 kB / 0.7302 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.2432, allocations: 280.9 kB / 0.7305 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.2436, allocations: 62.53 kB / 0.7306 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.2436, allocations: 0 / 0.7306 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.2436, allocations: 38.56 kB / 0.7306 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.2437, allocations: 0 / 0.7306 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0009553/0.2446, allocations: 169.5 kB / 0.7308 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.2447, allocations: 55.36 kB / 0.7308 GB, free: 5.094 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.2448, allocations: 114 kB / 0.7309 GB, free: 4.969 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.2449, allocations: 29.7 kB / 0.7309 GB, free: 4.934 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.2449, allocations: 80.14 kB / 0.731 GB, free: 4.852 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.245, allocations: 11.91 kB / 0.731 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.245, allocations: 384 / 0.731 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.2452, allocations: 314.8 kB / 0.7313 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.2454, allocations: 43.97 kB / 0.7314 GB, free: 4.48 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.2457, allocations: 43.95 kB / 0.7314 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.246, allocations: 47.91 kB / 0.7315 GB, free: 4.391 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.246, allocations: 3.938 kB / 0.7315 GB, free: 4.387 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006124/0.2466, allocations: 129.5 kB / 0.7316 GB, free: 4.254 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2467, allocations: 4 kB / 0.7316 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2467, allocations: 0 / 0.7316 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.2467, allocations: 0 / 0.7316 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.2469, allocations: 27.97 kB / 0.7316 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.247, allocations: 0 / 0.7316 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.2471, allocations: 19.94 kB / 0.7316 GB, free: 4.203 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.2472, allocations: 0 / 0.7316 GB, free: 4.203 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.0001126/0.2473, allocations: 117.8 kB / 0.7317 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.2473, allocations: 3.906 kB / 0.7318 GB, free: 4.074 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.2474, allocations: 15.89 kB / 0.7318 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2474, allocations: 0 / 0.7318 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2474, allocations: 0 / 0.7318 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2474, allocations: 0 / 0.7318 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.2476, allocations: 173.6 kB / 0.7319 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2477, allocations: 0 / 0.7319 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.2479, allocations: 27.97 kB / 0.732 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.2479, allocations: 0 / 0.732 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.2479, allocations: 0 / 0.732 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.2479, allocations: 11.94 kB / 0.732 GB, free: 3.793 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2479, allocations: 0 / 0.732 GB, free: 3.793 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006523/0.2486, allocations: 211.4 kB / 0.7322 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.2486, allocations: 81.02 kB / 0.7322 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.2487, allocations: 7.984 kB / 0.7323 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.2489, allocations: 15.98 kB / 0.7323 GB, free: 3.449 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.2489, allocations: 8.375 kB / 0.7323 GB, free: 3.441 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.249, allocations: 0 / 0.7323 GB, free: 3.441 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.593e-05/0.2491, allocations: 91.27 kB / 0.7324 GB, free: 3.352 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2491, allocations: 0 / 0.7324 GB, free: 3.352 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002985/0.2494, allocations: 8 kB / 0.7324 GB, free: 3.344 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.00103/0.2504, allocations: 0.7634 MB / 0.7331 GB, free: 2.555 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006057/0.251, allocations: 91.92 kB / 0.7332 GB, free: 2.465 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2511, allocations: 3.938 kB / 0.7332 GB, free: 2.461 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.2514, allocations: 51.91 kB / 0.7333 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.2517, allocations: 11.92 kB / 0.7333 GB, free: 2.398 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000582/0.2523, allocations: 170.2 kB / 0.7334 GB, free: 2.195 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.2526, allocations: 0.6809 MB / 0.7341 GB, free: 1.488 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.645e-05/0.2526, allocations: 0 / 0.7341 GB, free: 1.488 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.38e-05/0.2527, allocations: 23.42 kB / 0.7341 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of SimCode: time 9.22e-07/0.2527, allocations: 0 / 0.7341 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.2719, allocations: 1.314 MB / 0.7354 GB, free: 268 kB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003758/0.2724, allocations: 198.1 kB / 0.7356 GB, free: 16 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/2.672, allocations: 0 / 0.7356 GB, free: 16 kB / 0.5573 GB