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.Derivative.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.Derivative,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.369/4.369, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.232e-05/4.239e-05, allocations: 8.656 kB / 0.5325 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2187, allocations: 98.74 MB / 0.6289 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2381/0.4569, allocations: 123.9 MB / 0.7499 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.4572, allocations: 71.95 kB / 0.75 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006636/0.4638, allocations: 1.566 MB / 0.7515 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.674e-06/0.4639, allocations: 4 kB / 0.7515 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.4639, allocations: 4 kB / 0.7515 GB, free: 11.34 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005069/0.4644, allocations: 352 kB / 0.7519 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.4645, allocations: 12.03 kB / 0.7519 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.4645, allocations: 7.859 kB / 0.7519 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.4648, allocations: 190.9 kB / 0.7521 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.4649, allocations: 7.938 kB / 0.7521 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.4649, allocations: 4 kB / 0.7521 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001032/0.465, allocations: 20 kB / 0.7521 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.788e-05/0.4651, allocations: 41.69 kB / 0.7522 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.4652, allocations: 3.906 kB / 0.7522 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.4652, allocations: 0 / 0.7522 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4652, allocations: 0 / 0.7522 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005455/0.4657, allocations: 269.5 kB / 0.7524 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.513e-05/0.4659, allocations: 42.5 kB / 0.7525 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.39e-05/0.4659, allocations: 16.86 kB / 0.7525 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.466, allocations: 0 / 0.7525 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.466, allocations: 38.5 kB / 0.7525 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.466, allocations: 0 / 0.7525 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001954/0.4662, allocations: 53.78 kB / 0.7526 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.4663, allocations: 51.41 kB / 0.7526 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.4664, allocations: 105.1 kB / 0.7527 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.4664, allocations: 25.7 kB / 0.7527 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.4665, allocations: 92.64 kB / 0.7528 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.4665, allocations: 15.75 kB / 0.7528 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.4665, allocations: 0 / 0.7528 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.4667, allocations: 318.8 kB / 0.7531 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.539e-05/0.4667, allocations: 11.94 kB / 0.7531 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/0.4668, allocations: 15.98 kB / 0.7532 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.933e-05/0.4668, allocations: 8 kB / 0.7532 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4668, allocations: 0 / 0.7532 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001284/0.467, allocations: 49.7 kB / 0.7532 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.467, allocations: 11.98 kB / 0.7532 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.467, allocations: 0 / 0.7532 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4671, allocations: 4.031 kB / 0.7532 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.4673, allocations: 24.55 kB / 0.7533 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.4673, allocations: 0 / 0.7533 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.657e-05/0.4674, allocations: 12 kB / 0.7533 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.4674, allocations: 7.938 kB / 0.7533 GB, free: 9.359 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 (5): * Single equations (assignments): 5 * 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 9.213e-05/0.4676, allocations: 108.9 kB / 0.7534 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001257/0.4677, allocations: 53.59 kB / 0.7534 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.4678, allocations: 7.906 kB / 0.7534 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.4679, allocations: 62.03 kB / 0.7535 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.468, allocations: 0 / 0.7535 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.468, allocations: 3.953 kB / 0.7535 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.468, allocations: 0 / 0.7535 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.4682, allocations: 146.2 kB / 0.7536 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4682, allocations: 0 / 0.7536 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.4684, allocations: 19.92 kB / 0.7537 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4684, allocations: 0 / 0.7537 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.4684, allocations: 0 / 0.7537 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4684, allocations: 3.938 kB / 0.7537 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.4685, allocations: 7.984 kB / 0.7537 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.4687, allocations: 167.5 kB / 0.7538 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.4688, allocations: 81.02 kB / 0.7539 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.4688, allocations: 0 / 0.7539 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.4689, allocations: 11.98 kB / 0.7539 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.469, allocations: 0 / 0.7539 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.469, allocations: 4.062 kB / 0.7539 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.557e-05/0.4691, allocations: 91.27 kB / 0.754 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4691, allocations: 0 / 0.754 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003127/0.4694, allocations: 15.94 kB / 0.754 GB, free: 8.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0006104/0.47, allocations: 0.7045 MB / 0.7547 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.4702, allocations: 32.05 kB / 0.7547 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4702, allocations: 0 / 0.7547 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.247e-05/0.4703, allocations: 15.94 kB / 0.7548 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.4706, allocations: 4 kB / 0.7548 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005229/0.4711, allocations: 129.3 kB / 0.7549 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.4714, allocations: 0.6858 MB / 0.7556 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.527e-05/0.4715, allocations: 16.25 kB / 0.7556 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.018e-05/0.4716, allocations: 11.44 kB / 0.7556 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of SimCode: time 7.81e-07/0.4716, allocations: 0 / 0.7556 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03949/0.5111, allocations: 1.144 MB / 0.7567 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003378/0.5115, allocations: 150.5 kB / 0.7568 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/2.927, allocations: 0 / 0.7568 GB, free: 5.492 MB / 0.6355 GB