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.Max.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.Max,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",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.01092/0.01092, allocations: 108.5 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.001224/0.001224, allocations: 181.3 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.384/2.384, allocations: 194.6 MB / 211.3 MB, free: 11.23 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.554/2.554, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006717/0.0006718, allocations: 12 kB / 0.5871 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7839/0.7846, allocations: 98.71 MB / 0.6834 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.002577/0.7873, allocations: 1.115 MB / 0.6845 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0004899/0.7878, allocations: 119.8 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.467e-05/0.7879, allocations: 0 / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.521e-05/0.7879, allocations: 2.031 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.74e-05/0.788, allocations: 10.2 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.7882, allocations: 7.797 kB / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.806e-05/0.7883, allocations: 27.58 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.7884, allocations: 6.094 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 8.509e-05/0.7885, allocations: 21.03 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.285e-05/0.7886, allocations: 17.94 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.7887, allocations: 2.719 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.757e-05/0.7887, allocations: 1.312 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.7887, allocations: 7.281 kB / 0.6847 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.7888, allocations: 27.08 kB / 0.6848 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.7889, allocations: 30.62 kB / 0.6848 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.7889, allocations: 3.938 kB / 0.6848 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.585e-06/0.789, allocations: 0 / 0.6848 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.789, allocations: 1.031 kB / 0.6848 GB, free: 15.77 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007929/0.7898, allocations: 364.4 kB / 0.6852 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.7899, allocations: 13.44 kB / 0.6852 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.834e-05/0.7899, allocations: 37.11 kB / 0.6852 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/0.79, allocations: 2.594 kB / 0.6852 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.7902, allocations: 175.1 kB / 0.6854 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.7902, allocations: 4 kB / 0.6854 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.7902, allocations: 2.469 kB / 0.6854 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005716/0.7908, allocations: 77.44 kB / 0.6855 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.7909, allocations: 0 / 0.6855 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.7909, allocations: 4.656 kB / 0.6855 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.7909, allocations: 5.469 kB / 0.6855 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008227/0.7918, allocations: 88.97 kB / 0.6855 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.7924, allocations: 268 kB / 0.6858 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004894/0.7929, allocations: 68.41 kB / 0.6859 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.7929, allocations: 0 / 0.6859 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.793, allocations: 33.56 kB / 0.6859 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.464e-06/0.793, allocations: 0 / 0.6859 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.00146/0.7945, allocations: 164.7 kB / 0.6861 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.7946, allocations: 57.36 kB / 0.6861 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.7947, allocations: 110.8 kB / 0.6862 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.7947, allocations: 25.7 kB / 0.6862 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.7948, allocations: 87.36 kB / 0.6863 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.7949, allocations: 10.38 kB / 0.6863 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/0.7949, allocations: 4 kB / 0.6863 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.795, allocations: 313.4 kB / 0.6866 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/0.7955, allocations: 45.5 kB / 0.6867 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/0.7959, allocations: 48.19 kB / 0.6867 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.7963, allocations: 41.55 kB / 0.6868 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.7964, allocations: 0 / 0.6868 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0009305/0.7973, allocations: 125.2 kB / 0.6869 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/0.7974, allocations: 5.688 kB / 0.6869 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.7974, allocations: 0.6562 kB / 0.6869 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.7975, allocations: 4 kB / 0.6869 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.7978, allocations: 21.05 kB / 0.6869 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.7978, allocations: 0 / 0.6869 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.798, allocations: 20.67 kB / 0.6869 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.7981, allocations: 1 kB / 0.6869 GB, free: 13.98 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 (3): * Single equations (assignments): 3 * 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.0001144/0.7982, allocations: 121.2 kB / 0.6871 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.7983, allocations: 1.406 kB / 0.6871 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000928/0.7992, allocations: 133.3 kB / 0.6872 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.7992, allocations: 0 / 0.6872 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.7993, allocations: 2.125 kB / 0.6872 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.7993, allocations: 0 / 0.6872 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.7996, allocations: 170.2 kB / 0.6873 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.7996, allocations: 0.9375 kB / 0.6873 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.7999, allocations: 24.91 kB / 0.6874 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.7999, allocations: 4.547 kB / 0.6874 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.8, allocations: 0 / 0.6874 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.8, allocations: 1.031 kB / 0.6874 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.8, allocations: 0.6562 kB / 0.6874 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008979/0.8009, allocations: 222.3 kB / 0.6876 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.801, allocations: 79.09 kB / 0.6877 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.801, allocations: 4.562 kB / 0.6877 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.8013, allocations: 20.62 kB / 0.6877 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.8014, allocations: 4.266 kB / 0.6877 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.8015, allocations: 0.5625 kB / 0.6877 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.632e-05/0.8016, allocations: 96.48 kB / 0.6878 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.22e-07/0.8016, allocations: 0 / 0.6878 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005061/0.8021, allocations: 6.125 kB / 0.6878 GB, free: 13.25 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 (3): * Single equations (assignments): 3 * 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.001338/0.8035, allocations: 0.7565 MB / 0.6885 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008781/0.8044, allocations: 95.19 kB / 0.6886 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.8044, allocations: 0 / 0.6886 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003787/0.8048, allocations: 48.14 kB / 0.6887 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.8052, allocations: 8.406 kB / 0.6887 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009178/0.8062, allocations: 160.9 kB / 0.6888 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.8064, allocations: 0.6875 MB / 0.6895 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.326e-05/0.8065, allocations: 2.344 kB / 0.6895 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.675e-05/0.8066, allocations: 13.22 kB / 0.6895 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of SimCode: time 1.513e-06/0.8066, allocations: 0 / 0.6895 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.8311, allocations: 1.283 MB / 0.6908 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002791/0.8314, allocations: 193.6 kB / 0.691 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/3.302, allocations: 0 / 0.691 GB, free: 11.23 MB / 0.5261 GB