Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.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.CDL.Continuous.Validation.Product,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.979/3.979, allocations: 433.2 MB / 440.7 MB, free: 4.523 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.209e-05/4.206e-05, allocations: 9.688 kB / 0.5325 GB, free: 12.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.282, allocations: 98.74 MB / 0.6289 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2318/0.5139, allocations: 123.5 MB / 0.7495 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.5142, allocations: 71.95 kB / 0.7496 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003386/0.5176, allocations: 0.829 MB / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5177, allocations: 3.938 kB / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.5177, allocations: 0 / 0.7504 GB, free: 12.43 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005912/0.5183, allocations: 362.5 kB / 0.7508 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.5184, allocations: 12.03 kB / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.5184, allocations: 7.859 kB / 0.7508 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.5186, allocations: 163.1 kB / 0.7509 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.5186, allocations: 0 / 0.7509 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.5186, allocations: 4 kB / 0.7509 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000111/0.5187, allocations: 12 kB / 0.7509 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.5189, allocations: 45.69 kB / 0.751 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.5189, allocations: 4 kB / 0.751 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.5189, allocations: 3.984 kB / 0.751 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5189, allocations: 0 / 0.751 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006551/0.5196, allocations: 289.3 kB / 0.7513 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.704e-05/0.5197, allocations: 34.58 kB / 0.7513 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.764e-05/0.5198, allocations: 12.86 kB / 0.7513 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.5198, allocations: 0 / 0.7513 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.5198, allocations: 30.56 kB / 0.7514 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.5198, allocations: 4 kB / 0.7514 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001937/0.52, allocations: 53.62 kB / 0.7514 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.5201, allocations: 55.41 kB / 0.7515 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.238e-05/0.5202, allocations: 104.9 kB / 0.7516 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.5202, allocations: 25.7 kB / 0.7516 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.5203, allocations: 84.14 kB / 0.7517 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.5203, allocations: 7.906 kB / 0.7517 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.5203, allocations: 0 / 0.7517 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5205, allocations: 314.8 kB / 0.752 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.739e-05/0.5205, allocations: 15.92 kB / 0.752 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.111e-05/0.5206, allocations: 12 kB / 0.752 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.506e-05/0.5206, allocations: 4 kB / 0.752 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5207, allocations: 0 / 0.752 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001408/0.5208, allocations: 57.55 kB / 0.7521 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.5208, allocations: 7.984 kB / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5209, allocations: 0 / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.5209, allocations: 0 / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.5211, allocations: 23.92 kB / 0.7521 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.5211, allocations: 4 kB / 0.7521 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.5213, allocations: 15.98 kB / 0.7521 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.5213, allocations: 3.953 kB / 0.7521 GB, free: 10.49 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: 0 () * Number of discrete 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 7.989e-05/0.5214, allocations: 105 kB / 0.7522 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001266/0.5215, allocations: 49.69 kB / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.5216, allocations: 7.906 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.5216, allocations: 4.344 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5216, allocations: 4 kB / 0.7523 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5217, allocations: 3.953 kB / 0.7523 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.5217, allocations: 3.984 kB / 0.7523 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.5219, allocations: 146.2 kB / 0.7524 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.5219, allocations: 4 kB / 0.7524 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.5221, allocations: 19.98 kB / 0.7524 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5221, allocations: 0 / 0.7524 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.5221, allocations: 0 / 0.7524 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.5221, allocations: 4 kB / 0.7524 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5221, allocations: 3.938 kB / 0.7524 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.5223, allocations: 147.7 kB / 0.7526 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.5224, allocations: 81.02 kB / 0.7527 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.5224, allocations: 4 kB / 0.7527 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.5226, allocations: 20.02 kB / 0.7527 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.5227, allocations: 7.984 kB / 0.7527 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.5227, allocations: 0 / 0.7527 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.782e-05/0.5228, allocations: 91.27 kB / 0.7528 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5228, allocations: 0 / 0.7528 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003089/0.5231, allocations: 4 kB / 0.7528 GB, free: 9.711 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: 0 () * Number of discrete 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.0005468/0.5237, allocations: 0.6889 MB / 0.7535 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.5238, allocations: 23.94 kB / 0.7535 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5238, allocations: 0 / 0.7535 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.233e-05/0.5239, allocations: 12 kB / 0.7535 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.5242, allocations: 8 kB / 0.7535 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004548/0.5246, allocations: 97.58 kB / 0.7536 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.525, allocations: 0.6923 MB / 0.7543 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.91e-05/0.525, allocations: 4 kB / 0.7543 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.5251, allocations: 11.44 kB / 0.7543 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of SimCode: time 4.047e-06/0.5251, allocations: 0 / 0.7543 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03615/0.5613, allocations: 0.9554 MB / 0.7552 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002713/0.5616, allocations: 154.5 kB / 0.7554 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.216/2.777, allocations: 0 / 0.7554 GB, free: 6.953 MB / 0.6355 GB