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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004166/0.00417, allocations: 230.5 kB / 15.82 MB, free: 6.297 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001123/0.001123, allocations: 172.3 kB / 16.7 MB, free: 5.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.432/3.432, allocations: 389.1 MB / 406.5 MB, free: 6.797 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.561/4.561, allocations: 472.3 MB / 0.9024 GB, free: 183.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005367/0.0005371, allocations: 20 kB / 1.008 GB, free: 81.14 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6982/0.6988, allocations: 98.69 MB / 1.105 GB, free: 34.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2287/0.9276, allocations: 124.7 MB / 1.226 GB, free: 3.742 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/0.9279, allocations: 75.28 kB / 1.226 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.00698/0.9349, allocations: 1.592 MB / 1.228 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.974e-06/0.935, allocations: 0 / 1.228 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.935, allocations: 3.094 kB / 1.228 GB, free: 2.102 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.0006546/0.9357, allocations: 369.4 kB / 1.228 GB, free: 1.695 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.9357, allocations: 8.031 kB / 1.228 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.9358, allocations: 8.906 kB / 1.228 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.9361, allocations: 192.1 kB / 1.229 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.9361, allocations: 192 / 1.229 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.9362, allocations: 11.94 kB / 1.229 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.9365, allocations: 60.22 kB / 1.229 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.9365, allocations: 3.938 kB / 1.229 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.9365, allocations: 5.125 kB / 1.229 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.9365, allocations: 0 / 1.229 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.9369, allocations: 55.66 kB / 1.229 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006713/0.9376, allocations: 303.6 kB / 1.229 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.9378, allocations: 61.39 kB / 1.229 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.938, allocations: 34.17 kB / 1.229 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.9381, allocations: 0.5938 kB / 1.229 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.9381, allocations: 35.09 kB / 1.229 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.524e-06/0.9381, allocations: 0.5 kB / 1.229 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0006142/0.9387, allocations: 110.2 kB / 1.229 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.9388, allocations: 63.3 kB / 1.229 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.939, allocations: 113.4 kB / 1.229 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.939, allocations: 29.7 kB / 1.229 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/0.9391, allocations: 88.14 kB / 1.23 GB, free: 412 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.9391, allocations: 11.81 kB / 1.23 GB, free: 400 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.9391, allocations: 0 / 1.23 GB, free: 400 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.9393, allocations: 319.5 kB / 1.23 GB, free: 72 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.9395, allocations: 24.89 kB / 1.23 GB, free: 48 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.9397, allocations: 25.64 kB / 1.23 GB, free: 24 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.9399, allocations: 33.2 kB / 1.23 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.9399, allocations: 2.156 kB / 1.23 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004021/0.9403, allocations: 97.16 kB / 1.23 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.9403, allocations: 4.688 kB / 1.23 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.9404, allocations: 4 kB / 1.23 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.9404, allocations: 1.969 kB / 1.23 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.9406, allocations: 23.92 kB / 1.23 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.9406, allocations: 3.953 kB / 1.23 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.9408, allocations: 16.52 kB / 1.23 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.9408, allocations: 0 / 1.23 GB, free: 15.84 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 () * Number of clocked 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 0.000114/0.9409, allocations: 113.8 kB / 1.23 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.941, allocations: 3.906 kB / 1.23 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000436/0.9414, allocations: 98.2 kB / 1.23 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.9414, allocations: 4 kB / 1.23 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.9414, allocations: 3.938 kB / 1.23 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.9415, allocations: 6.016 kB / 1.23 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.9417, allocations: 169.6 kB / 1.23 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.9417, allocations: 3.938 kB / 1.23 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.9419, allocations: 17.23 kB / 1.23 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.9419, allocations: 3.094 kB / 1.23 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.9419, allocations: 0 / 1.23 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.942, allocations: 8 kB / 1.23 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.942, allocations: 0 / 1.23 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006387/0.9426, allocations: 219.3 kB / 1.231 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.277e-05/0.9427, allocations: 81.14 kB / 1.231 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.9427, allocations: 0 / 1.231 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.9429, allocations: 7.984 kB / 1.231 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.9429, allocations: 13.23 kB / 1.231 GB, free: 15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.943, allocations: 0 / 1.231 GB, free: 15 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.781e-05/0.943, allocations: 92.44 kB / 1.231 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9431, allocations: 0 / 1.231 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003151/0.9434, allocations: 12.06 kB / 1.231 GB, free: 14.9 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 () * Number of clocked 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.0001964/0.9436, allocations: 110.7 kB / 1.231 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004152/0.944, allocations: 55.95 kB / 1.231 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.944, allocations: 4 kB / 1.231 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.9442, allocations: 27.98 kB / 1.231 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.9447, allocations: 25.3 kB / 1.231 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004883/0.9452, allocations: 176.7 kB / 1.231 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.9456, allocations: 0.6887 MB / 1.232 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.189e-05/0.9456, allocations: 6.469 kB / 1.232 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.9457, allocations: 7.438 kB / 1.232 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/0.9457, allocations: 0 / 1.232 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of Templates: time 0.003806/0.9495, allocations: 0.5846 MB / 1.233 GB, free: 13.21 MB / 0.6355 GB