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.MultiMax.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.MultiMax,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",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.01628/0.01629, allocations: 106.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.001743/0.001743, allocations: 184.9 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.19/2.19, allocations: 194.5 MB / 211.3 MB, free: 10.92 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.41/2.41, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004998/0.0004999, allocations: 16 kB / 0.587 GB, free: 2.035 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6717/0.6723, allocations: 98.73 MB / 0.6835 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.0009342/0.6733, allocations: 384.9 kB / 0.6838 GB, free: 16.47 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001226/0.6734, allocations: 10.45 kB / 0.6838 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.833e-05/0.6735, allocations: 1.625 kB / 0.6838 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 8.169e-05/0.6736, allocations: 0 / 0.6838 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 2.949e-05/0.6736, allocations: 6.188 kB / 0.6838 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 6.491e-05/0.6737, allocations: 8.938 kB / 0.6839 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.925e-05/0.6738, allocations: 17.84 kB / 0.6839 GB, free: 16.44 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.6739, allocations: 27.94 kB / 0.6839 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 2.205e-05/0.6739, allocations: 2.5 kB / 0.6839 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.234e-05/0.674, allocations: 12.86 kB / 0.6839 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.674, allocations: 0 / 0.6839 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.674, allocations: 1.344 kB / 0.6839 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.6741, allocations: 11.19 kB / 0.6839 GB, free: 16.42 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.6741, allocations: 32.83 kB / 0.684 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 7.944e-05/0.6742, allocations: 30.19 kB / 0.684 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.6742, allocations: 1.406 kB / 0.684 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6742, allocations: 0.7969 kB / 0.684 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.6742, allocations: 0 / 0.684 GB, free: 16.38 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003004/0.6745, allocations: 339.2 kB / 0.6843 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.6746, allocations: 9 kB / 0.6843 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.6746, allocations: 38.94 kB / 0.6844 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/0.6747, allocations: 10.59 kB / 0.6844 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.6748, allocations: 182.6 kB / 0.6845 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.6749, allocations: 5.375 kB / 0.6845 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.6749, allocations: 2.875 kB / 0.6845 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.6751, allocations: 78.05 kB / 0.6846 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.6751, allocations: 3.938 kB / 0.6846 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.6751, allocations: 5.094 kB / 0.6846 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.6751, allocations: 1.094 kB / 0.6846 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.6753, allocations: 48.5 kB / 0.6847 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005562/0.6758, allocations: 490.8 kB / 0.6851 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.45e-05/0.6759, allocations: 174.2 kB / 0.6853 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.676, allocations: 76.28 kB / 0.6854 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.676, allocations: 107.6 kB / 0.6855 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.813e-06/0.676, allocations: 0 / 0.6855 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 8.563e-05/0.6761, allocations: 41.52 kB / 0.6855 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.6762, allocations: 127.4 kB / 0.6856 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.6764, allocations: 174.7 kB / 0.6858 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.6764, allocations: 25.7 kB / 0.6858 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.6765, allocations: 93.72 kB / 0.6859 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.6765, allocations: 1.438 kB / 0.6859 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.6765, allocations: 0 / 0.6859 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.211e-05/0.6766, allocations: 314.4 kB / 0.6862 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.744e-05/0.6766, allocations: 14.86 kB / 0.6862 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.493e-05/0.6767, allocations: 6.047 kB / 0.6863 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.066e-05/0.6767, allocations: 11.36 kB / 0.6863 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.6767, allocations: 0 / 0.6863 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001502/0.6769, allocations: 57.3 kB / 0.6863 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6769, allocations: 5.859 kB / 0.6863 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6769, allocations: 3.938 kB / 0.6863 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.6769, allocations: 1.062 kB / 0.6863 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/0.677, allocations: 3.266 kB / 0.6863 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.6771, allocations: 4.094 kB / 0.6863 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.6771, allocations: 9.094 kB / 0.6863 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.6771, allocations: 1.969 kB / 0.6863 GB, free: 14.06 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 (1): * Single equations (assignments): 1 * 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.194e-05/0.6772, allocations: 193.8 kB / 0.6865 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.6773, allocations: 113.4 kB / 0.6866 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.226e-05/0.6774, allocations: 109.9 kB / 0.6867 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-05/0.6774, allocations: 186.1 kB / 0.6869 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-05/0.6774, allocations: 178.2 kB / 0.6871 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.682e-05/0.6775, allocations: 186.2 kB / 0.6873 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.6777, allocations: 422.7 kB / 0.6877 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-05/0.6777, allocations: 103.2 kB / 0.6878 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.6778, allocations: 108.9 kB / 0.6879 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-05/0.6778, allocations: 186.5 kB / 0.6881 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.6779, allocations: 186.5 kB / 0.6882 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.178e-05/0.6779, allocations: 177.1 kB / 0.6884 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-05/0.678, allocations: 178.6 kB / 0.6886 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.6781, allocations: 319.6 kB / 0.6889 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.6782, allocations: 192.5 kB / 0.6891 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.143e-05/0.6782, allocations: 178.4 kB / 0.6892 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.6783, allocations: 108.2 kB / 0.6893 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.6784, allocations: 186.2 kB / 0.6895 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.6784, allocations: 101.8 kB / 0.6896 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000153/0.6786, allocations: 131.8 kB / 0.6897 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-07/0.6786, allocations: 1.344 kB / 0.6897 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003013/0.6789, allocations: 7.781 kB / 0.6897 GB, free: 10.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 (0): * Single equations (assignments): 0 * 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.0003079/0.6792, allocations: 0.8117 MB / 0.6905 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.853e-05/0.6793, allocations: 17.09 kB / 0.6905 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6793, allocations: 0 / 0.6905 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.435e-06/0.6793, allocations: 0 / 0.6905 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.6797, allocations: 0.5337 MB / 0.6911 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.6807, allocations: 0.5832 MB / 0.6916 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.6809, allocations: 0.6974 MB / 0.6923 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.013e-05/0.681, allocations: 5.922 kB / 0.6923 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.681, allocations: 20.06 kB / 0.6923 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of SimCode: time 2.174e-06/0.681, allocations: 0 / 0.6923 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.702, allocations: 1.38 MB / 0.6937 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002562/0.7023, allocations: 194.2 kB / 0.6939 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.43/3.132, allocations: 3.938 kB / 0.6939 GB, free: 7.512 MB / 0.5261 GB