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.Max.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.Max,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",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.01037/0.01038, allocations: 88.36 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.00119/0.00119, allocations: 174.5 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.101/2.101, 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.741/2.741, allocations: 252.8 MB / 0.511 GB, free: 8.289 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006584/0.0006586, allocations: 16.53 kB / 0.6243 GB, free: 21.04 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2341, allocations: 106.2 MB / 0.7281 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.003473/0.2376, allocations: 1.131 MB / 0.7292 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0006011/0.2383, allocations: 114.2 kB / 0.7293 GB, free: 6.801 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/0.2384, allocations: 0 / 0.7293 GB, free: 6.801 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.2385, allocations: 7.938 kB / 0.7293 GB, free: 6.793 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.2386, allocations: 11.97 kB / 0.7293 GB, free: 6.781 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.2388, allocations: 4 kB / 0.7293 GB, free: 6.777 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.239, allocations: 23.97 kB / 0.7293 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.2392, allocations: 11.92 kB / 0.7294 GB, free: 6.742 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.2393, allocations: 19.92 kB / 0.7294 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.2395, allocations: 23.91 kB / 0.7294 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.2395, allocations: 0 / 0.7294 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.917e-05/0.2396, allocations: 4 kB / 0.7294 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.2396, allocations: 4 kB / 0.7294 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.2397, allocations: 33.64 kB / 0.7294 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.2398, allocations: 27.94 kB / 0.7295 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2398, allocations: 0 / 0.7295 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2399, allocations: 0 / 0.7295 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2399, allocations: 0 / 0.7295 GB, free: 6.625 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.001058/0.241, allocations: 367.5 kB / 0.7298 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.941e-05/0.241, allocations: 8.031 kB / 0.7298 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.673e-05/0.2411, allocations: 38.56 kB / 0.7299 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.2412, allocations: 0 / 0.7299 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.2414, allocations: 170.9 kB / 0.73 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.2415, allocations: 0 / 0.73 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.2415, allocations: 7.984 kB / 0.73 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006406/0.2422, allocations: 81.59 kB / 0.7301 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.2422, allocations: 3.938 kB / 0.7301 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.2423, allocations: 0 / 0.7301 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.2423, allocations: 4 kB / 0.7301 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009727/0.2433, allocations: 83.92 kB / 0.7302 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007433/0.2441, allocations: 276.9 kB / 0.7305 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005934/0.2447, allocations: 62.55 kB / 0.7305 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.921e-05/0.2447, allocations: 7.938 kB / 0.7305 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.2448, allocations: 34.64 kB / 0.7306 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 4.539e-06/0.2448, allocations: 0 / 0.7306 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.001408/0.2462, allocations: 157.8 kB / 0.7307 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.776e-05/0.2464, allocations: 59.36 kB / 0.7308 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.2466, allocations: 109.8 kB / 0.7309 GB, free: 4.984 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.2467, allocations: 25.7 kB / 0.7309 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.2468, allocations: 96.03 kB / 0.731 GB, free: 4.855 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.2469, allocations: 3.906 kB / 0.731 GB, free: 4.852 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/0.247, allocations: 4 kB / 0.731 GB, free: 4.848 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000235/0.2472, allocations: 310.8 kB / 0.7313 GB, free: 4.535 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004096/0.2476, allocations: 51.89 kB / 0.7313 GB, free: 4.484 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.248, allocations: 47.89 kB / 0.7314 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/0.2485, allocations: 43.97 kB / 0.7314 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.2485, allocations: 0 / 0.7314 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0009012/0.2494, allocations: 121.6 kB / 0.7315 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.2495, allocations: 4 kB / 0.7316 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2495, allocations: 0 / 0.7316 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.2495, allocations: 0 / 0.7316 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.2498, allocations: 23.98 kB / 0.7316 GB, free: 4.242 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.2498, allocations: 0 / 0.7316 GB, free: 4.242 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.25, allocations: 19.94 kB / 0.7316 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.25, allocations: 0 / 0.7316 GB, free: 4.223 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.0001133/0.2501, allocations: 117.8 kB / 0.7317 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.2502, allocations: 7.906 kB / 0.7317 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007279/0.2509, allocations: 133.5 kB / 0.7318 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2509, allocations: 0 / 0.7318 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.2509, allocations: 0 / 0.7318 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.2509, allocations: 0 / 0.7318 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.2512, allocations: 169.6 kB / 0.732 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2513, allocations: 0 / 0.732 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.2515, allocations: 27.97 kB / 0.732 GB, free: 3.703 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.2515, allocations: 4 kB / 0.732 GB, free: 3.699 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.2515, allocations: 0 / 0.732 GB, free: 3.699 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.2515, allocations: 4 kB / 0.732 GB, free: 3.695 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2515, allocations: 0 / 0.732 GB, free: 3.695 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006956/0.2522, allocations: 223.2 kB / 0.7323 GB, free: 3.461 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.2523, allocations: 81.05 kB / 0.7323 GB, free: 3.363 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.2523, allocations: 7.984 kB / 0.7323 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.2525, allocations: 19.98 kB / 0.7324 GB, free: 3.336 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.2526, allocations: 4 kB / 0.7324 GB, free: 3.332 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.2526, allocations: 0 / 0.7324 GB, free: 3.332 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.04e-05/0.2527, allocations: 87.27 kB / 0.7324 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2527, allocations: 0 / 0.7324 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003086/0.253, allocations: 8 kB / 0.7324 GB, free: 3.238 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.001082/0.2541, allocations: 0.7669 MB / 0.7332 GB, free: 2.445 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006073/0.2548, allocations: 87.92 kB / 0.7333 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2548, allocations: 3.938 kB / 0.7333 GB, free: 2.355 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.2551, allocations: 43.97 kB / 0.7333 GB, free: 2.312 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.2554, allocations: 15.98 kB / 0.7333 GB, free: 2.297 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006202/0.256, allocations: 150.8 kB / 0.7335 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.2564, allocations: 0.6887 MB / 0.7342 GB, free: 1.398 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.099e-05/0.2565, allocations: 7.938 kB / 0.7342 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.453e-05/0.2565, allocations: 11.44 kB / 0.7342 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of SimCode: time 1.112e-06/0.2565, allocations: 0 / 0.7342 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.2762, allocations: 1.269 MB / 0.7354 GB, free: 220 kB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003668/0.2767, allocations: 187.3 kB / 0.7356 GB, free: 15.98 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.618/2.895, allocations: 3.234 kB / 0.7356 GB, free: 15.98 MB / 0.573 GB