Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadModel(Buildings): time 4.124/4.124, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.852e-05, allocations: 8 kB / 0.5325 GB, free: 1.836 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4889/0.4889, allocations: 98.71 MB / 0.6289 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.6783, allocations: 123.9 MB / 0.75 GB, free: 3.605 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.6786, allocations: 75.89 kB / 0.75 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.005871/0.6845, allocations: 1.567 MB / 0.7516 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.177e-06/0.6845, allocations: 0 / 0.7516 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.607e-06/0.6845, allocations: 0 / 0.7516 GB, free: 1.961 MB / 0.6198 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.0004487/0.685, allocations: 354.6 kB / 0.7519 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.685, allocations: 12.03 kB / 0.7519 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.6851, allocations: 7.844 kB / 0.7519 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.6853, allocations: 191 kB / 0.7521 GB, free: 1.324 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.6854, allocations: 3.984 kB / 0.7521 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.6854, allocations: 7.906 kB / 0.7521 GB, free: 1.312 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.013e-05/0.6855, allocations: 16 kB / 0.7521 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.6856, allocations: 45.69 kB / 0.7522 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.6856, allocations: 0 / 0.7522 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.446e-06/0.6857, allocations: 0 / 0.7522 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.85e-06/0.6857, allocations: 0 / 0.7522 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005081/0.6862, allocations: 273.4 kB / 0.7524 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.106e-05/0.6863, allocations: 38.67 kB / 0.7525 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.056e-05/0.6864, allocations: 20.84 kB / 0.7525 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.6864, allocations: 0 / 0.7525 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.6864, allocations: 30.56 kB / 0.7525 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.889e-06/0.6865, allocations: 0 / 0.7525 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001919/0.6867, allocations: 57.53 kB / 0.7526 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.6867, allocations: 51.41 kB / 0.7526 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.6868, allocations: 113.1 kB / 0.7527 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.6869, allocations: 29.64 kB / 0.7528 GB, free: 0.5508 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.6869, allocations: 88.12 kB / 0.7528 GB, free: 472 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.687, allocations: 15.75 kB / 0.7529 GB, free: 456 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-06/0.687, allocations: 0 / 0.7529 GB, free: 456 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.6872, allocations: 318.8 kB / 0.7532 GB, free: 128 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.272e-05/0.6872, allocations: 8 kB / 0.7532 GB, free: 120 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.009e-05/0.6872, allocations: 12 kB / 0.7532 GB, free: 108 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.509e-05/0.6873, allocations: 14.12 kB / 0.7532 GB, free: 96 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6873, allocations: 0 / 0.7532 GB, free: 96 kB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00013/0.6874, allocations: 53.7 kB / 0.7532 GB, free: 36 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.6875, allocations: 4 kB / 0.7532 GB, free: 32 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.6875, allocations: 3.984 kB / 0.7533 GB, free: 28 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.6875, allocations: 0 / 0.7533 GB, free: 28 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.6877, allocations: 27.92 kB / 0.7533 GB, free: 0 / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.44e-06/0.6877, allocations: 0 / 0.7533 GB, free: 0 / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.74e-05/0.6878, allocations: 12.05 kB / 0.7533 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.744e-06/0.6878, allocations: 192 / 0.7533 GB, free: 15.98 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.565e-05/0.6879, allocations: 108.9 kB / 0.7534 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.688, allocations: 7.906 kB / 0.7534 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.6881, allocations: 58.03 kB / 0.7535 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.6882, allocations: 4 kB / 0.7535 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.179e-06/0.6882, allocations: 0 / 0.7535 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.57e-06/0.6882, allocations: 0 / 0.7535 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.6884, allocations: 146.2 kB / 0.7536 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.353e-06/0.6884, allocations: 7.984 kB / 0.7536 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.6886, allocations: 19.94 kB / 0.7536 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.459e-06/0.6886, allocations: 0 / 0.7536 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.6886, allocations: 0 / 0.7536 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.751e-06/0.6886, allocations: 3.984 kB / 0.7536 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.301e-06/0.6886, allocations: 0 / 0.7536 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.6889, allocations: 167.5 kB / 0.7538 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.6889, allocations: 85.2 kB / 0.7539 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.689, allocations: 384 / 0.7539 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.6891, allocations: 11.98 kB / 0.7539 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.6891, allocations: 0 / 0.7539 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.08e-06/0.6892, allocations: 3.938 kB / 0.7539 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.544e-05/0.6892, allocations: 95.2 kB / 0.754 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.91e-07/0.6893, allocations: 0 / 0.754 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003155/0.6896, allocations: 19.84 kB / 0.754 GB, free: 15.18 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.0001684/0.6898, allocations: 111.2 kB / 0.7541 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.6899, allocations: 20 kB / 0.7541 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.357e-06/0.6899, allocations: 0 / 0.7541 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.792e-05/0.69, allocations: 16 kB / 0.7541 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.6902, allocations: 20.88 kB / 0.7542 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/0.6905, allocations: 85.89 kB / 0.7542 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.6909, allocations: 0.6962 MB / 0.7549 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.608e-05/0.691, allocations: 15.95 kB / 0.7549 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.691, allocations: 7.438 kB / 0.7549 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of SimCode: time 1.32e-06/0.691, allocations: 0 / 0.7549 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of Templates: time 0.003142/0.6942, allocations: 0.5503 MB / 0.7555 GB, free: 13.61 MB / 0.6355 GB