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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.731/3.731, allocations: 432.7 MB / 445.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.647e-05/3.667e-05, allocations: 6.531 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2125, allocations: 98.73 MB / 0.6347 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1984/0.411, allocations: 124.1 MB / 0.756 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.4112, allocations: 67.95 kB / 0.756 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00191/0.4132, allocations: 0.6142 MB / 0.7566 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.762e-06/0.4132, allocations: 4 kB / 0.7566 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.718e-06/0.4132, allocations: 0 / 0.7566 GB, free: 4.887 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.0003862/0.4136, allocations: 334.5 kB / 0.757 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.4137, allocations: 8.031 kB / 0.757 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.4137, allocations: 4 kB / 0.757 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.4139, allocations: 170.9 kB / 0.7571 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4139, allocations: 0 / 0.7571 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.4139, allocations: 8 kB / 0.7571 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.414, allocations: 37.69 kB / 0.7572 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.83e-06/0.4141, allocations: 0 / 0.7572 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.529e-06/0.4141, allocations: 0 / 0.7572 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.162e-06/0.4141, allocations: 0 / 0.7572 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.427e-05/0.4142, allocations: 12 kB / 0.7572 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.4146, allocations: 272.8 kB / 0.7574 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.597e-05/0.4147, allocations: 30.52 kB / 0.7575 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.4148, allocations: 12.92 kB / 0.7575 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.4148, allocations: 48 / 0.7575 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.4148, allocations: 34.55 kB / 0.7575 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.77e-06/0.4149, allocations: 0 / 0.7575 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001654/0.415, allocations: 45.61 kB / 0.7576 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.4151, allocations: 55.34 kB / 0.7576 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.948e-05/0.4152, allocations: 101 kB / 0.7577 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.4152, allocations: 25.7 kB / 0.7577 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.4153, allocations: 84.12 kB / 0.7578 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.4153, allocations: 11.91 kB / 0.7578 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.896e-06/0.4153, allocations: 0 / 0.7578 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.4155, allocations: 314.8 kB / 0.7581 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.342e-05/0.4155, allocations: 4 kB / 0.7581 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.4156, allocations: 12.03 kB / 0.7581 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.213e-05/0.4156, allocations: 0 / 0.7581 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.086e-06/0.4156, allocations: 0 / 0.7581 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001041/0.4157, allocations: 45.69 kB / 0.7582 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4158, allocations: 4 kB / 0.7582 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.852e-06/0.4158, allocations: 0 / 0.7582 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4158, allocations: 4 kB / 0.7582 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.4159, allocations: 12.03 kB / 0.7582 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.398e-06/0.4159, allocations: 7.984 kB / 0.7582 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.416, allocations: 8.234 kB / 0.7582 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.416, allocations: 7.953 kB / 0.7582 GB, free: 3.043 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 8.615e-05/0.4161, allocations: 105 kB / 0.7583 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.4162, allocations: 4 kB / 0.7583 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.4162, allocations: 7.109 kB / 0.7583 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.703e-06/0.4162, allocations: 0 / 0.7583 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.941e-06/0.4162, allocations: 8 kB / 0.7583 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.234e-06/0.4162, allocations: 0 / 0.7583 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.4165, allocations: 157.6 kB / 0.7585 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-06/0.4165, allocations: 0 / 0.7585 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.118e-05/0.4166, allocations: 11.98 kB / 0.7585 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.137e-06/0.4166, allocations: 0 / 0.7585 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.34e-06/0.4166, allocations: 0 / 0.7585 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.04e-06/0.4166, allocations: 0 / 0.7585 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.68e-06/0.4166, allocations: 4 kB / 0.7585 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.4168, allocations: 151.3 kB / 0.7587 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.4169, allocations: 81.11 kB / 0.7587 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.4169, allocations: 3.984 kB / 0.7587 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.417, allocations: 7.984 kB / 0.7587 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.4171, allocations: 7.938 kB / 0.7588 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-06/0.4171, allocations: 0 / 0.7588 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.881e-05/0.4171, allocations: 87.31 kB / 0.7588 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.41e-07/0.4172, allocations: 0 / 0.7588 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002822/0.4174, allocations: 4 kB / 0.7588 GB, free: 2.328 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.0001471/0.4176, allocations: 102.3 kB / 0.7589 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.81e-05/0.4177, allocations: 19.94 kB / 0.759 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.31e-06/0.4177, allocations: 0 / 0.759 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/0.4178, allocations: 15.92 kB / 0.759 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.418, allocations: 8.078 kB / 0.759 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002138/0.4182, allocations: 64.92 kB / 0.759 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.4186, allocations: 0.677 MB / 0.7597 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.09e-05/0.4186, allocations: 4 kB / 0.7597 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.4187, allocations: 7.438 kB / 0.7597 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of SimCode: time 1.396e-06/0.4187, allocations: 0 / 0.7597 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of Templates: time 0.002523/0.4212, allocations: 361.4 kB / 0.7601 GB, free: 1.031 MB / 0.6355 GB