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.Gain.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.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01009/0.01009, allocations: 110.3 kB / 15.05 MB, free: 5.965 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.001116/0.001116, allocations: 182 kB / 15.94 MB, free: 5.93 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 2.144/2.144, allocations: 194.5 MB / 211.3 MB, free: 11.32 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.174/2.174, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005087/0.0005089, allocations: 23.98 kB / 0.587 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.597/0.5975, allocations: 98.71 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/0.7807, allocations: 124.2 MB / 0.8047 GB, free: 2.102 MB / 0.6199 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.781, allocations: 71.95 kB / 0.8047 GB, free: 2.031 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 0.001802/0.7828, allocations: 0.6074 MB / 0.8053 GB, free: 1.422 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.424e-06/0.7828, allocations: 0 / 0.8053 GB, free: 1.422 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 6.246e-06/0.7829, allocations: 0 / 0.8053 GB, free: 1.422 MB / 0.6199 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.0003951/0.7833, allocations: 343.3 kB / 0.8057 GB, free: 1.039 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.7833, allocations: 8.031 kB / 0.8057 GB, free: 1.031 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.7834, allocations: 3.906 kB / 0.8057 GB, free: 1.027 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.7835, allocations: 175 kB / 0.8058 GB, free: 0.8164 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.7835, allocations: 0 / 0.8058 GB, free: 0.8164 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.47e-06/0.7835, allocations: 0 / 0.8058 GB, free: 0.8164 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.7837, allocations: 65.61 kB / 0.8059 GB, free: 0.7461 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.587e-06/0.7838, allocations: 0 / 0.8059 GB, free: 0.7461 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.507e-06/0.7838, allocations: 0 / 0.8059 GB, free: 0.7461 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.2e-06/0.7838, allocations: 0 / 0.8059 GB, free: 0.7461 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.784, allocations: 43.97 kB / 0.806 GB, free: 0.7031 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.7845, allocations: 272.9 kB / 0.8062 GB, free: 396 kB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.7846, allocations: 42.56 kB / 0.8063 GB, free: 344 kB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.7847, allocations: 0 / 0.8063 GB, free: 344 kB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.7847, allocations: 34.5 kB / 0.8063 GB, free: 300 kB / 0.6199 GB Notification: Performance of pre-optimization done (n=2): time 1.772e-06/0.7847, allocations: 3.938 kB / 0.8063 GB, free: 296 kB / 0.6199 GB Notification: Performance of matching and sorting (n=2): time 0.0004091/0.7851, allocations: 101.7 kB / 0.8064 GB, free: 188 kB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.7852, allocations: 51.41 kB / 0.8064 GB, free: 124 kB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.198e-05/0.7853, allocations: 92.98 kB / 0.8065 GB, free: 24 kB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.7853, allocations: 25.7 kB / 0.8065 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.7854, allocations: 88.14 kB / 0.8066 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.7854, allocations: 7.891 kB / 0.8066 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-06/0.7854, allocations: 128 / 0.8066 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.7856, allocations: 322.8 kB / 0.8069 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.7857, allocations: 23.97 kB / 0.807 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.328e-05/0.7858, allocations: 23.92 kB / 0.807 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.7859, allocations: 24.05 kB / 0.807 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.37e-06/0.786, allocations: 0 / 0.807 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002571/0.7862, allocations: 77.56 kB / 0.8071 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.7863, allocations: 11.97 kB / 0.8071 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.7863, allocations: 4 kB / 0.8071 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.7863, allocations: 0 / 0.8071 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.7864, allocations: 11.98 kB / 0.8071 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.7864, allocations: 0 / 0.8071 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.339e-05/0.7865, allocations: 8 kB / 0.8071 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.7865, allocations: 4 kB / 0.8071 GB, free: 15.38 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 (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 9.37e-05/0.7866, allocations: 113.8 kB / 0.8072 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.7867, allocations: 3.984 kB / 0.8072 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.7867, allocations: 7.125 kB / 0.8072 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.18e-06/0.7867, allocations: 0 / 0.8072 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.7867, allocations: 0 / 0.8072 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.369e-06/0.7867, allocations: 0 / 0.8072 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.787, allocations: 161.6 kB / 0.8074 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.926e-06/0.787, allocations: 3.938 kB / 0.8074 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8e-05/0.7871, allocations: 11.98 kB / 0.8074 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.392e-06/0.7871, allocations: 4 kB / 0.8074 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.159e-06/0.7871, allocations: 4 kB / 0.8074 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.099e-06/0.7871, allocations: 0 / 0.8074 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.723e-06/0.7871, allocations: 3.984 kB / 0.8074 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.7874, allocations: 175.5 kB / 0.8076 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.7875, allocations: 84.95 kB / 0.8077 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.7875, allocations: 4 kB / 0.8077 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.7876, allocations: 8.234 kB / 0.8077 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.7877, allocations: 0 / 0.8077 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.7877, allocations: 8 kB / 0.8077 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.705e-05/0.7878, allocations: 83.27 kB / 0.8078 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.12e-07/0.7878, allocations: 4.031 kB / 0.8078 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002847/0.7881, allocations: 8 kB / 0.8078 GB, free: 14.61 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 () * Number of clocked 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.0001509/0.7882, allocations: 103.2 kB / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002429/0.7885, allocations: 51.95 kB / 0.8079 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.7885, allocations: 0 / 0.8079 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.7886, allocations: 19.98 kB / 0.808 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.7889, allocations: 7.953 kB / 0.808 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.7892, allocations: 116.8 kB / 0.8081 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.7895, allocations: 0.6809 MB / 0.8087 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.746e-05/0.7896, allocations: 0 / 0.8087 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.7896, allocations: 7.438 kB / 0.8087 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of SimCode: time 1.392e-06/0.7896, allocations: 7.875 kB / 0.8088 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of Templates: time 0.002484/0.7921, allocations: 347.5 kB / 0.8091 GB, free: 13.22 MB / 0.6355 GB