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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01174/0.01174, allocations: 106.6 kB / 15.06 MB, free: 5.555 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.001252/0.001252, allocations: 179.7 kB / 15.95 MB, free: 5.52 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.075/2.075, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.254/2.254, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004816, allocations: 12 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7162/0.7168, allocations: 98.72 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain): time 0.002214/0.719, allocations: 1.081 MB / 0.6845 GB, free: 16.01 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0003844/0.7195, allocations: 111.3 kB / 0.6846 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.7195, allocations: 1.188 kB / 0.6846 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.7196, allocations: 0 / 0.6846 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.482e-05/0.7197, allocations: 2.344 kB / 0.6846 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 6.011e-05/0.7197, allocations: 1.781 kB / 0.6846 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.255e-05/0.7198, allocations: 19.12 kB / 0.6846 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.375e-05/0.7199, allocations: 7.672 kB / 0.6846 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.236e-05/0.72, allocations: 4.844 kB / 0.6846 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.7201, allocations: 17.66 kB / 0.6847 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.7201, allocations: 0 / 0.6847 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.7201, allocations: 1.094 kB / 0.6847 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.7201, allocations: 6.234 kB / 0.6847 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.7202, allocations: 26.89 kB / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 7.233e-05/0.7203, allocations: 16.59 kB / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.7203, allocations: 0 / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7203, allocations: 0 / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.7203, allocations: 1.062 kB / 0.6847 GB, free: 15.87 MB / 0.5261 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.000516/0.7208, allocations: 338.6 kB / 0.685 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.7209, allocations: 9.188 kB / 0.685 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.721, allocations: 35.55 kB / 0.6851 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.721, allocations: 5.188 kB / 0.6851 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.7211, allocations: 166.1 kB / 0.6852 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.7211, allocations: 5.969 kB / 0.6852 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.7212, allocations: 5.188 kB / 0.6852 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.7215, allocations: 56.8 kB / 0.6853 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.7215, allocations: 0 / 0.6853 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.7215, allocations: 0 / 0.6853 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.7215, allocations: 1.094 kB / 0.6853 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003696/0.7219, allocations: 51.16 kB / 0.6854 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.7223, allocations: 251.8 kB / 0.6856 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.7225, allocations: 45.41 kB / 0.6856 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.7226, allocations: 0 / 0.6856 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.7226, allocations: 36.75 kB / 0.6857 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.853e-06/0.7226, allocations: 0 / 0.6857 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000665/0.7233, allocations: 102.2 kB / 0.6858 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.7233, allocations: 52.11 kB / 0.6858 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.366e-05/0.7234, allocations: 110.1 kB / 0.6859 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.7235, allocations: 26.36 kB / 0.6859 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.7235, allocations: 85.88 kB / 0.686 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.7236, allocations: 5.781 kB / 0.686 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.7236, allocations: 0 / 0.686 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.789e-05/0.7237, allocations: 313.3 kB / 0.6863 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.7238, allocations: 27.62 kB / 0.6864 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.724, allocations: 18.91 kB / 0.6864 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.7242, allocations: 27.73 kB / 0.6864 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7242, allocations: 0 / 0.6864 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004093/0.7247, allocations: 76.09 kB / 0.6865 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.7247, allocations: 6.25 kB / 0.6865 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.7247, allocations: 0 / 0.6865 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.7248, allocations: 4.031 kB / 0.6865 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.7249, allocations: 11.17 kB / 0.6865 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.7249, allocations: 0.8438 kB / 0.6865 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.7251, allocations: 12.61 kB / 0.6865 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.7251, allocations: 5.062 kB / 0.6865 GB, free: 14.14 MB / 0.5261 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 7.53e-05/0.7252, allocations: 111.8 kB / 0.6866 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.7252, allocations: 5.734 kB / 0.6866 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.7253, allocations: 4.891 kB / 0.6866 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.7253, allocations: 1.531 kB / 0.6866 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7253, allocations: 0.5625 kB / 0.6866 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7253, allocations: 0 / 0.6866 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.7256, allocations: 161.3 kB / 0.6868 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7256, allocations: 4 kB / 0.6868 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.7257, allocations: 12.03 kB / 0.6868 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.7257, allocations: 3.938 kB / 0.6868 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.7258, allocations: 0 / 0.6868 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.7258, allocations: 9.75 kB / 0.6868 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7258, allocations: 0 / 0.6868 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004536/0.7263, allocations: 176.6 kB / 0.687 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/0.7263, allocations: 82.81 kB / 0.6871 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.7264, allocations: 0.6562 kB / 0.6871 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.7265, allocations: 12.8 kB / 0.6871 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.7266, allocations: 6.172 kB / 0.6871 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.7266, allocations: 2.094 kB / 0.6871 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.531e-05/0.7267, allocations: 80 kB / 0.6872 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.91e-07/0.7267, allocations: 0 / 0.6872 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004966/0.7272, allocations: 3.406 kB / 0.6872 GB, free: 13.48 MB / 0.5261 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.0007382/0.728, allocations: 0.7121 MB / 0.6879 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004465/0.7284, allocations: 50.03 kB / 0.6879 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7285, allocations: 0 / 0.6879 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.7287, allocations: 28.61 kB / 0.6879 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.7291, allocations: 2.703 kB / 0.6879 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006786/0.7298, allocations: 142.1 kB / 0.6881 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.73, allocations: 0.6802 MB / 0.6887 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.419e-05/0.73, allocations: 4.062 kB / 0.6887 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.7301, allocations: 13.3 kB / 0.6888 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of SimCode: time 9.52e-07/0.7301, allocations: 0 / 0.6888 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/0.7563, allocations: 1.013 MB / 0.6897 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002487/0.7567, allocations: 189.4 kB / 0.6899 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/3.284, allocations: 7.938 kB / 0.6899 GB, free: 11.51 MB / 0.5261 GB