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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.236/4.236, allocations: 433.2 MB / 440.7 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.719e-05/2.751e-05, allocations: 3.656 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.215, allocations: 98.74 MB / 0.6289 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2564/0.4715, allocations: 123.9 MB / 0.7499 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.4718, allocations: 67.95 kB / 0.75 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004383/0.4762, allocations: 1.107 MB / 0.7511 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4763, allocations: 4 kB / 0.7511 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.4763, allocations: 0 / 0.7511 GB, free: 11.89 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.0004654/0.4768, allocations: 354.5 kB / 0.7514 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.4768, allocations: 8.031 kB / 0.7514 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.4769, allocations: 11.86 kB / 0.7514 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.4771, allocations: 174.9 kB / 0.7516 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.4771, allocations: 0 / 0.7516 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.4771, allocations: 4 kB / 0.7516 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001023/0.4772, allocations: 23.98 kB / 0.7516 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.4774, allocations: 53.61 kB / 0.7517 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.4774, allocations: 4 kB / 0.7517 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.4774, allocations: 4 kB / 0.7517 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.4774, allocations: 0 / 0.7517 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005291/0.478, allocations: 269.4 kB / 0.7519 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.4784, allocations: 74.55 kB / 0.752 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.568e-05/0.4784, allocations: 20.86 kB / 0.752 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.4785, allocations: 4.078 kB / 0.752 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.4785, allocations: 34.56 kB / 0.7521 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/0.4785, allocations: 0 / 0.7521 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002005/0.4787, allocations: 53.55 kB / 0.7521 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.4788, allocations: 51.41 kB / 0.7522 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.4789, allocations: 108.9 kB / 0.7523 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.4789, allocations: 29.7 kB / 0.7523 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.479, allocations: 92.12 kB / 0.7524 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.479, allocations: 11.84 kB / 0.7524 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.4791, allocations: 4 kB / 0.7524 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4792, allocations: 318.8 kB / 0.7527 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4e-05/0.4793, allocations: 12 kB / 0.7527 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.639e-05/0.4793, allocations: 17.72 kB / 0.7527 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.87e-05/0.4794, allocations: 20.06 kB / 0.7527 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4794, allocations: 0 / 0.7527 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001356/0.4795, allocations: 57.59 kB / 0.7528 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.4796, allocations: 4 kB / 0.7528 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4796, allocations: 4.031 kB / 0.7528 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.4796, allocations: 0 / 0.7528 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.451e-05/0.4797, allocations: 11.98 kB / 0.7528 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.4797, allocations: 0 / 0.7528 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.4798, allocations: 15.89 kB / 0.7528 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.4799, allocations: 3.984 kB / 0.7528 GB, free: 9.867 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.66e-05/0.48, allocations: 106.4 kB / 0.7529 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001277/0.4801, allocations: 57.53 kB / 0.753 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.4801, allocations: 0 / 0.753 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.4802, allocations: 12.34 kB / 0.753 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4802, allocations: 3.953 kB / 0.753 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4802, allocations: 0 / 0.753 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4802, allocations: 0 / 0.753 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.4804, allocations: 150.2 kB / 0.7532 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4805, allocations: 4 kB / 0.7532 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.181e-05/0.4805, allocations: 4 kB / 0.7532 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4806, allocations: 0 / 0.7532 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.4806, allocations: 4 kB / 0.7532 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4806, allocations: 4 kB / 0.7532 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4806, allocations: 0 / 0.7532 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.4808, allocations: 159.3 kB / 0.7533 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.4808, allocations: 81.02 kB / 0.7534 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.4809, allocations: 4 kB / 0.7534 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.481, allocations: 7.938 kB / 0.7534 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.4811, allocations: 19.97 kB / 0.7534 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.4811, allocations: 0 / 0.7534 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.841e-05/0.4812, allocations: 91.66 kB / 0.7535 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4812, allocations: 0 / 0.7535 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003082/0.4815, allocations: 11.95 kB / 0.7535 GB, free: 9.078 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.000476/0.482, allocations: 0.6774 MB / 0.7542 GB, free: 8.371 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001441/0.4822, allocations: 27.94 kB / 0.7542 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4822, allocations: 0.6094 kB / 0.7542 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.666e-05/0.4822, allocations: 12 kB / 0.7542 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.4825, allocations: 9.5 kB / 0.7542 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.483, allocations: 109.7 kB / 0.7543 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.4833, allocations: 0.6885 MB / 0.755 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.872e-05/0.4834, allocations: 8.359 kB / 0.755 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.436e-05/0.4835, allocations: 19.44 kB / 0.755 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of SimCode: time 8.51e-07/0.4835, allocations: 0 / 0.755 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/0.5216, allocations: 1.122 MB / 0.7561 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002925/0.522, allocations: 135.5 kB / 0.7563 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.259/2.781, allocations: 0 / 0.7563 GB, free: 6.133 MB / 0.6355 GB