Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.009888/0.009892, allocations: 92.88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001184/0.001183, allocations: 173.3 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.5/2.5, allocations: 205.5 MB / 222.2 MB, free: 13.58 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.498/2.498, allocations: 252.8 MB / 0.511 GB, free: 8.258 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005324/0.0005325, allocations: 13.31 kB / 0.6243 GB, free: 21.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2612, allocations: 106.2 MB / 0.7281 GB, free: 8.051 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.002537/0.2638, allocations: 1.096 MB / 0.7292 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004415/0.2643, allocations: 102.2 kB / 0.7293 GB, free: 6.84 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.837e-05/0.2644, allocations: 0 / 0.7293 GB, free: 6.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.2644, allocations: 0 / 0.7293 GB, free: 6.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.943e-05/0.2645, allocations: 8 kB / 0.7293 GB, free: 6.832 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 6.585e-05/0.2646, allocations: 7.984 kB / 0.7293 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.477e-05/0.2647, allocations: 11.98 kB / 0.7293 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.2648, allocations: 11.92 kB / 0.7293 GB, free: 6.801 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.636e-05/0.2649, allocations: 0 / 0.7293 GB, free: 6.801 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.495e-05/0.265, allocations: 15.92 kB / 0.7293 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.265, allocations: 0 / 0.7293 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.265, allocations: 4 kB / 0.7293 GB, free: 6.781 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.265, allocations: 3.984 kB / 0.7293 GB, free: 6.777 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.2651, allocations: 29.7 kB / 0.7293 GB, free: 6.742 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 7.112e-05/0.2652, allocations: 15.97 kB / 0.7294 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2652, allocations: 0 / 0.7294 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2652, allocations: 0 / 0.7294 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2652, allocations: 0 / 0.7294 GB, free: 6.727 MB / 0.5573 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.0006225/0.2658, allocations: 335.6 kB / 0.7297 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.2659, allocations: 12.03 kB / 0.7297 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.523e-05/0.266, allocations: 38.56 kB / 0.7297 GB, free: 6.293 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.266, allocations: 11.83 kB / 0.7297 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.2662, allocations: 167 kB / 0.7299 GB, free: 6.078 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.2663, allocations: 3.938 kB / 0.7299 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.2663, allocations: 0 / 0.7299 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.2666, allocations: 53.67 kB / 0.73 GB, free: 6.016 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2667, allocations: 0 / 0.73 GB, free: 6.016 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2667, allocations: 0 / 0.73 GB, free: 6.016 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.2667, allocations: 8 kB / 0.73 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003817/0.2671, allocations: 39.97 kB / 0.73 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.2676, allocations: 248.9 kB / 0.7302 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.2679, allocations: 46.5 kB / 0.7303 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.2679, allocations: 0 / 0.7303 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.268, allocations: 34.62 kB / 0.7303 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.954e-06/0.268, allocations: 0 / 0.7303 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.003567/0.2715, allocations: 97.64 kB / 0.7304 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.2717, allocations: 51.41 kB / 0.7305 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.2719, allocations: 117.9 kB / 0.7306 GB, free: 5.289 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.2719, allocations: 29.7 kB / 0.7306 GB, free: 5.254 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.133e-05/0.272, allocations: 84.14 kB / 0.7307 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.272, allocations: 7.844 kB / 0.7307 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.2721, allocations: 4 kB / 0.7307 GB, free: 5.156 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.2723, allocations: 310.8 kB / 0.731 GB, free: 4.844 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.2726, allocations: 23.97 kB / 0.731 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.2728, allocations: 23.98 kB / 0.731 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.2731, allocations: 19.98 kB / 0.7311 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.2731, allocations: 4 kB / 0.7311 GB, free: 4.773 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005773/0.2737, allocations: 81.62 kB / 0.7311 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/0.2738, allocations: 4 kB / 0.7311 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.2738, allocations: 0 / 0.7311 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.2738, allocations: 0 / 0.7311 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.274, allocations: 11.98 kB / 0.7311 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.274, allocations: 0 / 0.7311 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.2742, allocations: 15.98 kB / 0.7312 GB, free: 4.656 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.2742, allocations: 3.938 kB / 0.7312 GB, free: 4.652 MB / 0.5573 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 0.0001456/0.2744, allocations: 117.8 kB / 0.7313 GB, free: 4.527 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-05/0.2745, allocations: 3.938 kB / 0.7313 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.2745, allocations: 7.078 kB / 0.7313 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2746, allocations: 0 / 0.7313 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2746, allocations: 0 / 0.7313 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2746, allocations: 0 / 0.7313 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003994/0.275, allocations: 165.6 kB / 0.7314 GB, free: 4.305 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.275, allocations: 0 / 0.7314 GB, free: 4.305 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.2752, allocations: 11.98 kB / 0.7315 GB, free: 4.293 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.2752, allocations: 0 / 0.7315 GB, free: 4.293 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.2753, allocations: 7.984 kB / 0.7315 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2753, allocations: 0 / 0.7315 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2753, allocations: 0 / 0.7315 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006523/0.276, allocations: 175.5 kB / 0.7316 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.09e-05/0.2761, allocations: 81.02 kB / 0.7317 GB, free: 4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/0.2761, allocations: 3.984 kB / 0.7317 GB, free: 3.996 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.2764, allocations: 15.94 kB / 0.7317 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.2765, allocations: 4.031 kB / 0.7317 GB, free: 3.977 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.2765, allocations: 0 / 0.7317 GB, free: 3.977 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.943e-05/0.2766, allocations: 83.27 kB / 0.7318 GB, free: 3.895 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.31e-07/0.2766, allocations: 0 / 0.7318 GB, free: 3.895 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006424/0.2773, allocations: 4 kB / 0.7318 GB, free: 3.891 MB / 0.5573 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.001208/0.2785, allocations: 0.7124 MB / 0.7325 GB, free: 3.148 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005314/0.2791, allocations: 59.92 kB / 0.7326 GB, free: 3.09 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2791, allocations: 0 / 0.7326 GB, free: 3.09 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.2793, allocations: 23.92 kB / 0.7326 GB, free: 3.066 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.2798, allocations: 0 / 0.7326 GB, free: 3.066 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009098/0.2807, allocations: 154.4 kB / 0.7327 GB, free: 2.879 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.2812, allocations: 0.677 MB / 0.7334 GB, free: 2.176 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.521e-05/0.2813, allocations: 0 / 0.7334 GB, free: 2.176 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.269e-05/0.2814, allocations: 7.438 kB / 0.7334 GB, free: 2.168 MB / 0.5573 GB Notification: Performance of SimCode: time 1.282e-06/0.2814, allocations: 0 / 0.7334 GB, free: 2.168 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.3022, allocations: 1.019 MB / 0.7344 GB, free: 1.258 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/0.3025, allocations: 184.5 kB / 0.7346 GB, free: 1.02 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/2.638, allocations: 4 kB / 0.7346 GB, free: 1.016 MB / 0.5573 GB