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.Limiter.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.Limiter,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.182/4.182, allocations: 433.2 MB / 440.7 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.323e-05/3.325e-05, allocations: 9.688 kB / 0.5325 GB, free: 12.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2114, allocations: 98.74 MB / 0.6289 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2928/0.5042, allocations: 123.5 MB / 0.7496 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.5045, allocations: 71.95 kB / 0.7496 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003037/0.5076, allocations: 0.7895 MB / 0.7504 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5076, allocations: 0 / 0.7504 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.5076, allocations: 8 kB / 0.7504 GB, free: 12.52 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005142/0.5081, allocations: 346.5 kB / 0.7507 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.5082, allocations: 15.97 kB / 0.7507 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.5082, allocations: 3.953 kB / 0.7508 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.5084, allocations: 167 kB / 0.7509 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.5084, allocations: 4 kB / 0.7509 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.5084, allocations: 0 / 0.7509 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.695e-05/0.5085, allocations: 19.98 kB / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.447e-05/0.5086, allocations: 41.69 kB / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.5087, allocations: 0 / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.5087, allocations: 0 / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.5087, allocations: 0 / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.5092, allocations: 257.5 kB / 0.7512 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.054e-05/0.5093, allocations: 30.52 kB / 0.7512 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.166e-05/0.5094, allocations: 16.91 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.5094, allocations: 4 kB / 0.7513 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.5094, allocations: 30.56 kB / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.5095, allocations: 0 / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001759/0.5096, allocations: 45.7 kB / 0.7513 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.5097, allocations: 51.41 kB / 0.7514 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.553e-05/0.5098, allocations: 96.98 kB / 0.7515 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.5099, allocations: 25.7 kB / 0.7515 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.5099, allocations: 92.08 kB / 0.7516 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.51, allocations: 7.844 kB / 0.7516 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.51, allocations: 3.938 kB / 0.7516 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5101, allocations: 314.8 kB / 0.7519 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.501e-05/0.5102, allocations: 12.03 kB / 0.7519 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.352e-05/0.5102, allocations: 25.7 kB / 0.7519 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.531e-05/0.5103, allocations: 8 kB / 0.7519 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5103, allocations: 0 / 0.7519 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001077/0.5104, allocations: 41.7 kB / 0.752 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.065e-05/0.5105, allocations: 93.11 kB / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5105, allocations: 4 kB / 0.7521 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.5105, allocations: 0 / 0.7521 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.5107, allocations: 19.98 kB / 0.7521 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5107, allocations: 3.953 kB / 0.7521 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.5109, allocations: 19.92 kB / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.5109, allocations: 4 kB / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.5109, allocations: 4 kB / 0.7521 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 5.427e-05/0.511, allocations: 19.92 kB / 0.7522 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-06/0.511, allocations: 0 / 0.7522 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-06/0.511, allocations: 0 / 0.7522 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.5111, allocations: 8 kB / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-06/0.5111, allocations: 0 / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.5113, allocations: 23.92 kB / 0.7522 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.5113, allocations: 256 / 0.7522 GB, free: 10.48 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 (2): * Single equations (assignments): 2 * 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.054e-05/0.5114, allocations: 104.9 kB / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001153/0.5115, allocations: 45.69 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.5115, allocations: 11.94 kB / 0.7523 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.5116, allocations: 7.969 kB / 0.7523 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5116, allocations: 0 / 0.7523 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5116, allocations: 0 / 0.7523 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.5116, allocations: 0 / 0.7523 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.5118, allocations: 150.2 kB / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5118, allocations: 0 / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.512, allocations: 19.98 kB / 0.7525 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.512, allocations: 0 / 0.7525 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.512, allocations: 3.984 kB / 0.7525 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.512, allocations: 3.938 kB / 0.7525 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.512, allocations: 0 / 0.7525 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.5122, allocations: 151.4 kB / 0.7527 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.5123, allocations: 85.09 kB / 0.7527 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.5123, allocations: 0 / 0.7527 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.5125, allocations: 11.98 kB / 0.7528 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.5125, allocations: 4 kB / 0.7528 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.5125, allocations: 0 / 0.7528 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.36e-05/0.5126, allocations: 91.25 kB / 0.7528 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.705e-06/0.5126, allocations: 0 / 0.7528 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003772/0.513, allocations: 11.94 kB / 0.7529 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 (2): * Single equations (assignments): 2 * 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.0005011/0.5135, allocations: 0.6773 MB / 0.7535 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.5137, allocations: 28.03 kB / 0.7535 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5137, allocations: 0 / 0.7535 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.285e-05/0.5137, allocations: 11.94 kB / 0.7536 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.514, allocations: 4.688 kB / 0.7536 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004971/0.5145, allocations: 105.6 kB / 0.7537 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.5148, allocations: 0.6808 MB / 0.7543 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.484e-05/0.5149, allocations: 11.98 kB / 0.7543 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.5149, allocations: 11.44 kB / 0.7543 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.5149, allocations: 0 / 0.7543 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03234/0.5473, allocations: 0.9083 MB / 0.7552 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/0.5476, allocations: 150.8 kB / 0.7554 GB, free: 7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/2.73, allocations: 4 kB / 0.7554 GB, free: 6.996 MB / 0.6355 GB