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/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.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.098/4.098, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.016e-05/5.044e-05, allocations: 6.234 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2583, allocations: 98.73 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2561/0.5145, allocations: 124.6 MB / 0.7564 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.5148, allocations: 71.95 kB / 0.7565 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006821/0.5216, allocations: 1.574 MB / 0.758 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5217, allocations: 3.938 kB / 0.758 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.5217, allocations: 4 kB / 0.758 GB, free: 3.469 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.0005275/0.5222, allocations: 356.6 kB / 0.7584 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.5223, allocations: 8.031 kB / 0.7584 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.96e-05/0.5224, allocations: 30.56 kB / 0.7584 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.5224, allocations: 7.906 kB / 0.7584 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.5227, allocations: 191 kB / 0.7586 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.5227, allocations: 4 kB / 0.7586 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.5228, allocations: 4 kB / 0.7586 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.5229, allocations: 49.62 kB / 0.7586 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.5229, allocations: 0 / 0.7586 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.523, allocations: 0 / 0.7586 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.523, allocations: 0 / 0.7586 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.952e-05/0.5231, allocations: 20 kB / 0.7587 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006348/0.5237, allocations: 316.7 kB / 0.759 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.5239, allocations: 38.52 kB / 0.759 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.424e-05/0.5239, allocations: 12.86 kB / 0.759 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.524, allocations: 0 / 0.759 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.524, allocations: 42.56 kB / 0.759 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.524, allocations: 0 / 0.759 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002168/0.5243, allocations: 49.78 kB / 0.7591 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.5243, allocations: 55.36 kB / 0.7591 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.5245, allocations: 109.1 kB / 0.7593 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.5245, allocations: 29.7 kB / 0.7593 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.5246, allocations: 88.05 kB / 0.7594 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.5246, allocations: 15.75 kB / 0.7594 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.5246, allocations: 4 kB / 0.7594 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.5248, allocations: 318.8 kB / 0.7597 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.166e-05/0.5248, allocations: 12 kB / 0.7597 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.756e-05/0.5249, allocations: 8 kB / 0.7597 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/0.5249, allocations: 12 kB / 0.7597 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5249, allocations: 0 / 0.7597 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001531/0.5251, allocations: 57.69 kB / 0.7598 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.5251, allocations: 4 kB / 0.7598 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.5251, allocations: 0 / 0.7598 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.5252, allocations: 0 / 0.7598 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.5254, allocations: 27.98 kB / 0.7598 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.5254, allocations: 0 / 0.7598 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.5256, allocations: 11.94 kB / 0.7598 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.5256, allocations: 7.938 kB / 0.7598 GB, free: 1.395 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 8.437e-05/0.5257, allocations: 105 kB / 0.7599 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.5257, allocations: 7.906 kB / 0.7599 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.5259, allocations: 61.7 kB / 0.76 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.5259, allocations: 8.266 kB / 0.76 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.526, allocations: 4 kB / 0.76 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.526, allocations: 0 / 0.76 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.5262, allocations: 173.5 kB / 0.7602 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5262, allocations: 0 / 0.7602 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.5264, allocations: 19.92 kB / 0.7602 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.5264, allocations: 0 / 0.7602 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.5265, allocations: 4 kB / 0.7602 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.5265, allocations: 15.92 kB / 0.7602 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5265, allocations: 0 / 0.7602 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.5268, allocations: 163.4 kB / 0.7604 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.5269, allocations: 85.12 kB / 0.7604 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.5269, allocations: 4 kB / 0.7604 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.527, allocations: 4 kB / 0.7605 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.5271, allocations: 7.984 kB / 0.7605 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.5271, allocations: 4.062 kB / 0.7605 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.869e-05/0.5272, allocations: 91.59 kB / 0.7605 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.5272, allocations: 0 / 0.7605 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002849/0.5275, allocations: 8 kB / 0.7606 GB, free: 0.5469 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.0006675/0.5282, allocations: 0.7163 MB / 0.7613 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000192/0.5284, allocations: 24 kB / 0.7613 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5284, allocations: 0 / 0.7613 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.652e-05/0.5285, allocations: 15.94 kB / 0.7613 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.5288, allocations: 20.52 kB / 0.7613 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.5293, allocations: 128.5 kB / 0.7614 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.5297, allocations: 0.6887 MB / 0.7621 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.027e-05/0.5297, allocations: 4 kB / 0.7621 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.5298, allocations: 19.42 kB / 0.7621 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of SimCode: time 3.296e-06/0.5298, allocations: 0 / 0.7621 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.5505, allocations: 1.46 MB / 0.7636 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/0.5508, allocations: 178 kB / 0.7637 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/3.214, allocations: 0 / 0.7637 GB, free: 13.23 MB / 0.6511 GB