Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.Shade.Validation.Shade_H,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_H",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.01035/0.01035, allocations: 88.84 kB / 15.04 MB, free: 5.578 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.00118/0.00118, allocations: 176.3 kB / 15.92 MB, free: 5.551 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.202/2.202, 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.432/2.432, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005007/0.0005008, allocations: 15.16 kB / 0.6243 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2253, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001894/0.2273, allocations: 1.12 MB / 0.7292 GB, free: 9.023 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004819/0.2278, allocations: 149.2 kB / 0.7293 GB, free: 8.875 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.2279, allocations: 0 / 0.7293 GB, free: 8.875 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.172e-05/0.2279, allocations: 7.875 kB / 0.7293 GB, free: 8.867 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.228, allocations: 19.92 kB / 0.7293 GB, free: 8.848 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.2282, allocations: 19.97 kB / 0.7293 GB, free: 8.828 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.2283, allocations: 27.95 kB / 0.7294 GB, free: 8.801 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.2284, allocations: 23.91 kB / 0.7294 GB, free: 8.777 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.2286, allocations: 19.92 kB / 0.7294 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.2288, allocations: 19.92 kB / 0.7294 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.2288, allocations: 7.984 kB / 0.7294 GB, free: 8.73 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.314e-05/0.2288, allocations: 4 kB / 0.7294 GB, free: 8.727 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.2289, allocations: 0 / 0.7294 GB, free: 8.727 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.762e-05/0.2289, allocations: 37.64 kB / 0.7295 GB, free: 8.684 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.2291, allocations: 47.89 kB / 0.7295 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2291, allocations: 0 / 0.7295 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2291, allocations: 0 / 0.7295 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2291, allocations: 0 / 0.7295 GB, free: 8.637 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.0005967/0.2297, allocations: 359.5 kB / 0.7299 GB, free: 8.238 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.2298, allocations: 12.03 kB / 0.7299 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.2299, allocations: 38.55 kB / 0.7299 GB, free: 8.18 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.2299, allocations: 11.86 kB / 0.7299 GB, free: 8.168 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.2302, allocations: 194.9 kB / 0.7301 GB, free: 7.938 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.2303, allocations: 4 kB / 0.7301 GB, free: 7.934 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.2303, allocations: 7.938 kB / 0.7301 GB, free: 7.926 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.2305, allocations: 61.67 kB / 0.7302 GB, free: 7.859 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.2305, allocations: 0 / 0.7302 GB, free: 7.859 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.2305, allocations: 4 kB / 0.7302 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.2306, allocations: 0 / 0.7302 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.2307, allocations: 31.98 kB / 0.7302 GB, free: 7.824 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/0.2313, allocations: 304.7 kB / 0.7305 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.2317, allocations: 82.53 kB / 0.7306 GB, free: 7.387 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.2318, allocations: 0 / 0.7306 GB, free: 7.387 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.2318, allocations: 38.56 kB / 0.7306 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.2318, allocations: 0 / 0.7306 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.000359/0.2322, allocations: 89.62 kB / 0.7307 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.2322, allocations: 55.39 kB / 0.7308 GB, free: 7.18 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.2324, allocations: 125.7 kB / 0.7309 GB, free: 7.047 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.2324, allocations: 25.7 kB / 0.7309 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.2325, allocations: 96.12 kB / 0.731 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.2325, allocations: 3.906 kB / 0.731 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.2325, allocations: 0 / 0.731 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.2327, allocations: 322.8 kB / 0.7313 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.064e-05/0.2328, allocations: 19.98 kB / 0.7313 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.2329, allocations: 29.7 kB / 0.7314 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.311e-05/0.233, allocations: 15.94 kB / 0.7314 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.233, allocations: 0 / 0.7314 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002299/0.2332, allocations: 77.83 kB / 0.7314 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2333, allocations: 11.12 kB / 0.7315 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2333, allocations: 0 / 0.7315 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2333, allocations: 0 / 0.7315 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.835e-05/0.2334, allocations: 15.98 kB / 0.7315 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2334, allocations: 0 / 0.7315 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.2335, allocations: 11.98 kB / 0.7315 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.2336, allocations: 0 / 0.7315 GB, free: 6.402 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: 2 ($PRE.shaH.hys.y,shaH.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001142/0.2337, allocations: 125.8 kB / 0.7316 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.2337, allocations: 11.84 kB / 0.7316 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.2338, allocations: 7.906 kB / 0.7316 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2338, allocations: 0 / 0.7316 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2338, allocations: 3.953 kB / 0.7316 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2338, allocations: 0 / 0.7316 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.234, allocations: 173.6 kB / 0.7318 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2341, allocations: 0 / 0.7318 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.906e-05/0.2341, allocations: 4 kB / 0.7318 GB, free: 6.016 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.2342, allocations: 8 kB / 0.7318 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.2342, allocations: 7.938 kB / 0.7318 GB, free: 6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2342, allocations: 0 / 0.7318 GB, free: 6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.2342, allocations: 3.984 kB / 0.7318 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.2345, allocations: 159.4 kB / 0.732 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.2345, allocations: 81.09 kB / 0.732 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.2346, allocations: 0 / 0.732 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.2347, allocations: 12 kB / 0.7321 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.2348, allocations: 7.984 kB / 0.7321 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.2348, allocations: 3.984 kB / 0.7321 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.148e-05/0.2349, allocations: 91.28 kB / 0.7322 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.2e-07/0.2349, allocations: 4 kB / 0.7322 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000301/0.2352, allocations: 7.953 kB / 0.7322 GB, free: 5.602 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: 1 (shaH.hys.y) * Number of discrete states: 1 (shaH.hys.y) * 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.000679/0.2359, allocations: 0.7006 MB / 0.7329 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000331/0.2362, allocations: 35.98 kB / 0.7329 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2363, allocations: 4 kB / 0.7329 GB, free: 4.836 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.2364, allocations: 23.92 kB / 0.7329 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.2368, allocations: 7.938 kB / 0.7329 GB, free: 4.805 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.238, allocations: 0.5101 MB / 0.7334 GB, free: 4.242 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.2384, allocations: 0.6887 MB / 0.7341 GB, free: 3.527 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.567e-05/0.2385, allocations: 8 kB / 0.7341 GB, free: 3.52 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.804e-05/0.2385, allocations: 19.42 kB / 0.7341 GB, free: 3.5 MB / 0.5573 GB Notification: Performance of SimCode: time 8.01e-07/0.2386, allocations: 0 / 0.7341 GB, free: 3.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.2575, allocations: 1.463 MB / 0.7355 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003247/0.2579, allocations: 192.7 kB / 0.7357 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/2.571, allocations: 0 / 0.7357 GB, free: 1.891 MB / 0.5573 GB