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.Gain.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.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadModel(Buildings): time 3.802/3.802, allocations: 433.3 MB / 440.9 MB, free: 4.547 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.749e-05/4.763e-05, allocations: 8.75 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2059, allocations: 98.74 MB / 0.6289 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1971/0.403, allocations: 123.5 MB / 0.7495 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.4032, allocations: 67.97 kB / 0.7496 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001803/0.4051, allocations: 0.6142 MB / 0.7502 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.439e-06/0.4051, allocations: 0 / 0.7502 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.425e-06/0.4051, allocations: 0 / 0.7502 GB, free: 12.81 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003833/0.4055, allocations: 334.4 kB / 0.7505 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.4056, allocations: 12.03 kB / 0.7505 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.4056, allocations: 3.953 kB / 0.7505 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.4058, allocations: 167 kB / 0.7507 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.4058, allocations: 3.828 kB / 0.7507 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.4058, allocations: 0 / 0.7507 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.818e-05/0.4059, allocations: 8 kB / 0.7507 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.909e-05/0.406, allocations: 41.69 kB / 0.7507 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.25e-06/0.406, allocations: 0 / 0.7507 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.678e-06/0.406, allocations: 0 / 0.7507 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-06/0.406, allocations: 0 / 0.7507 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.4065, allocations: 245.4 kB / 0.751 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.756e-05/0.4065, allocations: 30.55 kB / 0.751 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/0.4066, allocations: 8.922 kB / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.4066, allocations: 4 kB / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.4066, allocations: 38.56 kB / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.002e-06/0.4067, allocations: 0 / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001538/0.4068, allocations: 37.61 kB / 0.7511 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.4069, allocations: 51.41 kB / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.388e-05/0.407, allocations: 100.9 kB / 0.7512 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.407, allocations: 25.7 kB / 0.7512 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.4071, allocations: 92.12 kB / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.4071, allocations: 11.88 kB / 0.7513 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-06/0.4071, allocations: 0 / 0.7513 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.4073, allocations: 314.8 kB / 0.7516 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.4073, allocations: 11.94 kB / 0.7517 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.834e-05/0.4073, allocations: 4 kB / 0.7517 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.026e-05/0.4074, allocations: 0 / 0.7517 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.977e-06/0.4074, allocations: 0 / 0.7517 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001016/0.4075, allocations: 45.69 kB / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.4075, allocations: 8.094 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.4075, allocations: 0 / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.4075, allocations: 0 / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.4077, allocations: 11.98 kB / 0.7517 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.989e-06/0.4077, allocations: 3.984 kB / 0.7517 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.4078, allocations: 8 kB / 0.7517 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-06/0.4078, allocations: 0 / 0.7517 GB, free: 11.03 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 (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.013e-05/0.4079, allocations: 112.9 kB / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.4079, allocations: 7.938 kB / 0.7518 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.08e-05/0.408, allocations: 7.734 kB / 0.7519 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-06/0.408, allocations: 0 / 0.7519 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.88e-06/0.408, allocations: 0 / 0.7519 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.886e-06/0.408, allocations: 0 / 0.7519 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.4082, allocations: 142.1 kB / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.117e-06/0.4082, allocations: 4 kB / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.071e-05/0.4083, allocations: 11.98 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.261e-06/0.4083, allocations: 0 / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.275e-06/0.4083, allocations: 4 kB / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.747e-06/0.4083, allocations: 0 / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.129e-06/0.4084, allocations: 0 / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.4085, allocations: 143.4 kB / 0.7521 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.4086, allocations: 77.11 kB / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.4086, allocations: 3.984 kB / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.4087, allocations: 16.02 kB / 0.7522 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.4088, allocations: 0 / 0.7522 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.575e-06/0.4088, allocations: 0 / 0.7522 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.488e-05/0.4089, allocations: 83.28 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.24e-07/0.4089, allocations: 0 / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002807/0.4092, allocations: 4 kB / 0.7523 GB, free: 10.35 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 () * 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.0001362/0.4093, allocations: 99.25 kB / 0.7524 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.547e-05/0.4094, allocations: 19.94 kB / 0.7524 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.458e-06/0.4094, allocations: 3.938 kB / 0.7524 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.111e-05/0.4095, allocations: 8 kB / 0.7524 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.4097, allocations: 11.94 kB / 0.7525 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002021/0.4099, allocations: 52.02 kB / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.4103, allocations: 0.685 MB / 0.7532 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.724e-05/0.4103, allocations: 3.938 kB / 0.7532 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.4103, allocations: 11.56 kB / 0.7532 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of SimCode: time 1.464e-06/0.4104, allocations: 0 / 0.7532 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of Templates: time 0.002342/0.4127, allocations: 322.9 kB / 0.7535 GB, free: 9.082 MB / 0.6355 GB