Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.094/4.094, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.335e-05/3.353e-05, allocations: 3.922 kB / 0.5383 GB, free: 10.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2388, allocations: 98.72 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2587/0.4976, allocations: 124.6 MB / 0.7564 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003507/0.498, allocations: 67.95 kB / 0.7564 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007008/0.5051, allocations: 1.107 MB / 0.7575 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5052, allocations: 3.938 kB / 0.7575 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.5052, allocations: 4 kB / 0.7575 GB, free: 3.949 MB / 0.6355 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.0008974/0.5061, allocations: 354.4 kB / 0.7579 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/0.5062, allocations: 8.031 kB / 0.7579 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.565e-05/0.5063, allocations: 38.5 kB / 0.7579 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.5063, allocations: 7.906 kB / 0.7579 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.5065, allocations: 178.9 kB / 0.7581 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.5066, allocations: 4 kB / 0.7581 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.5066, allocations: 8 kB / 0.7581 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.5068, allocations: 49.69 kB / 0.7582 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.5068, allocations: 0 / 0.7582 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.5068, allocations: 0 / 0.7582 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.5068, allocations: 0 / 0.7582 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.729e-05/0.5069, allocations: 31.94 kB / 0.7582 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005579/0.5075, allocations: 300.8 kB / 0.7585 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.5079, allocations: 78.53 kB / 0.7585 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.806e-05/0.508, allocations: 12.92 kB / 0.7586 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.508, allocations: 0 / 0.7586 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.5081, allocations: 38.5 kB / 0.7586 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.5081, allocations: 0 / 0.7586 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002204/0.5083, allocations: 57.64 kB / 0.7587 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.5084, allocations: 51.41 kB / 0.7587 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.5085, allocations: 120.9 kB / 0.7588 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.5086, allocations: 29.7 kB / 0.7588 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.739e-05/0.5086, allocations: 92.08 kB / 0.7589 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.5087, allocations: 11.97 kB / 0.7589 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.5087, allocations: 0 / 0.7589 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.5088, allocations: 318.8 kB / 0.7592 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.487e-05/0.5089, allocations: 10 kB / 0.7593 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.288e-05/0.509, allocations: 25.7 kB / 0.7593 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.977e-05/0.5091, allocations: 20.06 kB / 0.7593 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5091, allocations: 4.031 kB / 0.7593 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001474/0.5092, allocations: 57.59 kB / 0.7594 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.5093, allocations: 6.656 kB / 0.7594 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.5093, allocations: 4 kB / 0.7594 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.5093, allocations: 0 / 0.7594 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.703e-05/0.5094, allocations: 4 kB / 0.7594 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.5094, allocations: 3.953 kB / 0.7594 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.5095, allocations: 11.98 kB / 0.7594 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.5096, allocations: 8 kB / 0.7594 GB, free: 1.82 MB / 0.6355 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 () * 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 8.86e-05/0.5097, allocations: 107.2 kB / 0.7595 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.5097, allocations: 7.906 kB / 0.7595 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.5098, allocations: 11.95 kB / 0.7595 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5098, allocations: 3.938 kB / 0.7595 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5098, allocations: 0 / 0.7595 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.5098, allocations: 3.953 kB / 0.7595 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.5101, allocations: 181.6 kB / 0.7597 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5101, allocations: 0 / 0.7597 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.077e-05/0.5102, allocations: 8 kB / 0.7597 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.5102, allocations: 4 kB / 0.7597 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.5102, allocations: 0 / 0.7597 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5102, allocations: 0 / 0.7597 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5102, allocations: 0 / 0.7597 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.5104, allocations: 151.5 kB / 0.7599 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.5105, allocations: 81.02 kB / 0.7599 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.5105, allocations: 3.938 kB / 0.7599 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.5106, allocations: 16 kB / 0.76 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/0.5107, allocations: 11.97 kB / 0.76 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.5107, allocations: 0 / 0.76 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.929e-05/0.5108, allocations: 95.22 kB / 0.7601 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5108, allocations: 0 / 0.7601 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002751/0.5111, allocations: 8 kB / 0.7601 GB, free: 1.051 MB / 0.6355 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) * 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.000516/0.5117, allocations: 0.6889 MB / 0.7607 GB, free: 340 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.5118, allocations: 24 kB / 0.7608 GB, free: 316 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.5118, allocations: 0 / 0.7608 GB, free: 316 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.312e-05/0.5119, allocations: 15.94 kB / 0.7608 GB, free: 300 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.5121, allocations: 11.98 kB / 0.7608 GB, free: 288 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004693/0.5126, allocations: 110.7 kB / 0.7609 GB, free: 136 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.513, allocations: 0.6926 MB / 0.7616 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.37e-05/0.513, allocations: 8.312 kB / 0.7616 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.182e-05/0.5131, allocations: 11.44 kB / 0.7616 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of SimCode: time 9.22e-07/0.5131, allocations: 4 kB / 0.7616 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.5387, allocations: 1.459 MB / 0.763 GB, free: 14 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/0.539, allocations: 151.1 kB / 0.7632 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.207/2.746, allocations: 0 / 0.7632 GB, free: 13.78 MB / 0.6511 GB